# SDRAM Mode Register

**URL:** <https://forums.digi.com/t/sdram-mode-register/4504>\
**Category:** NET+OS\
**Created:** [July 21, 2004, 7:14pm UTC](https://forums.digi.com/t/sdram-mode-register/4504 "2004-07-21T19:14:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsribeiro](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@rsribeiro](https://forums.digi.com/u/rsribeiro)\
**Post date:** [July 21, 2004, 7:14pm UTC](https://forums.digi.com/t/sdram-mode-register/4504/1 "2004-07-21T19:14:51Z")

</div>

Please, can someone help me to find the address of the “SDRAM Mode Register”? I see the description in item 10.7.8 of the Hardware Reference Guide, but I cannot find the address.

---

<div class="post-metadata">

**Author:** ![waster](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@waster](https://forums.digi.com/u/waster)\
**Post date:** [July 23, 2004, 10:11am UTC](https://forums.digi.com/t/sdram-mode-register/4504/2 "2004-07-23T10:11:10Z")

</div>

Not sure what you are after… so here are all the memory controller addresses: MEM\_BASE = 0xFFC00000UL MMCR = MEM\_BASE + 0x00 CSBAR0 = MEM\_BASE + 0x10 CSOR0 = MEM\_BASE + 0x14 CSORB0 = MEM\_BASE + 0x18 CSBAR1 = MEM\_BASE + 0x20 CSOR1 = MEM\_BASE + 0x24 CSORB1 = MEM\_BASE + 0x28 CSBAR2 = MEM\_BASE + 0x30 CSOR2 = MEM\_BASE + 0x34 CSORB2 = MEM\_BASE + 0x38 CSBAR3 = MEM\_BASE + 0x40 CSOR3 = MEM\_BASE + 0x44 CSORB3 = MEM\_BASE + 0x48 MMCR is probably what you are calling the SDRAM mode register… but each CS also has its own config that can effect SDRAM… Regards Dave

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [August 20, 2004, 11:03am UTC](https://forums.digi.com/t/sdram-mode-register/4504/3 "2004-08-20T11:03:56Z")

</div>

I think you are referring to the register that is INSIDE the DRAM chip(s). That register is loaded by the NETARM processor when the V-bit is set in a BAR register preconfigured for SDRAM mode. The configuration bits are transferred using the address bus.

---

<div class="post-metadata">

**Author:** ![rsribeiro](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@rsribeiro](https://forums.digi.com/u/rsribeiro)\
**Post date:** [August 20, 2004, 5:46pm UTC](https://forums.digi.com/t/sdram-mode-register/4504/4 "2004-08-20T17:46:00Z")

</div>

Thank you for your help Dave. Some values I needed to configure in SDRAM are in CSOR. Regards, Rogerio

---

<div class="post-metadata">

**Author:** ![rsribeiro](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@rsribeiro](https://forums.digi.com/u/rsribeiro)\
**Post date:** [August 20, 2004, 5:15pm UTC](https://forums.digi.com/t/sdram-mode-register/4504/5 "2004-08-20T17:15:31Z")

</div>

You are right. This register is inside the DRAM. Now I understand that NET+50 loads this register with the values shown in Hardware Reference Manual, table 10-7. Some values are configured in CSOR and other are hardwired in NET+50. What I do not understand now is why bit9 (Write Burst Mode) is shown to be hardwired to “1” (it means write single mode - no write burst is possible) and Figure 13-13 shows the drawing of a Burst Write Cycle. (There is other question about it posted today: “SDRAM write burst mode”) Thank you for your help, Rogerio.
