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.

SDRAM Size<br />

I 2 C EEPROMs<br />

Software Considerations<br />

The SDRAM size control bits come up from power-up reset cleared to<br />

zero. Once software has determined the correct size for an SDRAM block,<br />

it should set the block’s size bits to match. The value programmed into the<br />

size bits tells the Hawk how big the block is (for map decoding), and how<br />

to translate that block’s 60x addresses to SDRAM addresses.<br />

Programming a block’s size to non-zero also allows it to participate in<br />

scrubbing if scrubbing is enabled.<br />

After software programs the size bits, it should wait for a refresh to happen<br />

before beginning to access SDRAM.<br />

Most of the information needed to program the SDRAM speed attributes<br />

and size is provided by EEPROM devices that are connected to Hawk’s<br />

I 2 C bus. The EEPROM devices contain data in a specific format called<br />

Serial Presence Detect (SPD).<br />

SDRAM Base Address and Enable<br />

Each block needs to be programmed for a unique base address that is an<br />

even multiple of its size. Once a block’s speed attributes, size, and base<br />

address have been programmed and time for at least one refresh has<br />

passed, it can be enabled.<br />

http://www.motorola.com/computer/literature 3-77<br />

3

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

Saved successfully!

Ooh no, something went wrong!