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 />

Optional Method for Sizing SDRAM<br />

Generally SDRAM block sizes can be determined by using SPD<br />

information (refer to the previous section on SDRAM Control Registers<br />

Initialization example). Another method for accomplishing this is as<br />

follows:<br />

1. Initialize the SMC’s control register bits to a known state.<br />

a. Clear the isa_hole bit (refer to the section titled Vendor/Device<br />

Register for more information.)<br />

b. Make sure the CLK Frequency Register matches the operating<br />

frequency.<br />

c. Wait for at least one SDRAM refresh to complete. A simple way<br />

to do this is to wait for the 32-bit counter to increment at least<br />

100 times (refer to the section on 32-Bit Counter for more<br />

information). Note that the refdis control bit must not be set in<br />

the ECC Control Register.<br />

d. Make sure that the SDRAM Speed Attributes Register contains<br />

its power-up reset values. If not, make sure that the values match<br />

the actual characteristics of the SDRAM being used.<br />

e. Make sure the following bits are initialized as follows:<br />

refdis = 0<br />

rwcb = 0<br />

derc = 1<br />

scien = 0<br />

dpien = 0<br />

sien = 0<br />

mien = 0<br />

mbe_me = 0<br />

SCRUB_FREQUENCY = $00<br />

(Refer to the ECC Control Register section and the<br />

Scrub/Refresh Register section for more information).<br />

f. Make sure that ROM/Flash banks A and B are not enabled to<br />

respond in the range $00000000 - $20000000. (Refer to the<br />

section on ROM A Base/Size Register and ROM B Base/Size<br />

Register for more information.)<br />

g. Make sure that no other devices are set up to respond in the range<br />

$00000000 - $20000000.<br />

3-84 <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!