17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

System Memory Controller (SMC)<br />

Some registers have additional requirements for writing. For more<br />

information refer to the register sections in this chapter titled SDRAM<br />

Enable and Size Register (Blocks A,B,C,D), SDRAM Base Address<br />

Register (Blocks A/B/C/D), SDRAM Enable and Size Register (Blocks<br />

E,F,G,H), SDRAM Base Address Register (Blocks E/F/G/H), and SDRAM<br />

Speed Attributes Register.<br />

Since software has no way of controlling refresh/scrub accesses to<br />

SDRAM, the hardware is designed so that updating control bits<br />

coincidentally with refreshes is not a problem.<br />

As with SDRAM control bits, software should not change control bits that<br />

affect ROM/Flash while the affected Block is being accessed. This<br />

generally means that the ROM/Flash size, base address, enable, write<br />

enable, etc. are changed only while executing initially in the reset vector<br />

area ($FFF00000 - $FFFFFFFF).<br />

Initializing SDRAM Related Control Registers<br />

SDRAM Speed Attributes<br />

In order to establish proper SDRAM operation, software must configure<br />

control register bits in Hawk that affect each SDRAM block’s speed, size,<br />

base address, and enable. The SDRAM speed attributes are the same for all<br />

blocks and are controlled by one 32-bit register. The size, base address and<br />

enable can be different for each block and are controlled in individual 8bit<br />

registers.<br />

The SDRAM speed attributes come up from power-up reset initialized to<br />

the slowest settings that Hawk is capable of. This allows SDRAM accesses<br />

to be performed before the SDRAM speed attributes are known.<br />

An example of a need for this is when software requires some working<br />

memory that it can use while gathering and evaluating SDRAM device<br />

data from serial EEPROM’s. Once software knows the SDRAM speed<br />

parameters for all blocks, it should discontinue accessing SDRAM for at<br />

least one refresh period before and after it programs the SDRAM speed<br />

attribute bits.<br />

3-76 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!