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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. For each of the Blocks A through H:<br />

Software Considerations<br />

a. Set the block’s base address to $00000000. Refer to the sections<br />

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

SDRAM Enable and Size Register (Blocks E,F,G,H).<br />

b. Enable the block and make sure that the other seven blocks are<br />

disabled. Refer to the same sections as referenced in the previous<br />

step.<br />

c. Set the block’s size control bits. Start with the largest possible<br />

(512MB). Refer to the same sections as referenced in the<br />

previous step.<br />

d. Wait for at least one SDRAM refresh to complete.<br />

e. Write a unique 64-bit data pattern to each one of a specified list<br />

of addresses. The list of addresses to be written varies depending<br />

on the size that is currently being checked. The address lists are<br />

shown in the table below.<br />

f. Read back all of the addresses that have been written.<br />

If all of the addresses still contain exactly what was written, then<br />

the block’s size has been found. It is the size for which it is<br />

currently programmed.<br />

If any of the addresses do not contain exactly what was written,<br />

then the block’s memory size is less than that for which it is<br />

programmed. Sizing needs to continue for this block by<br />

programming its control bits to the next smaller size, waiting for<br />

at least one refresh to complete, and repeating steps e and f.<br />

g. If no match is found for any size then the block is unpopulated<br />

and has a size of 0MB. Its size should be programmed to 0.<br />

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

3

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

Saved successfully!

Ooh no, something went wrong!