Programming Model
http://www.motorola.com/computer/literature
3-43
3
SDRAM Base Address Register (Blocks A/B/C/D)
Writes to this register must be enveloped by a period of time in which no
accesses to SDRAM occur. The requirements of the envelope are that all
SDRAM accesses must have completed before the write starts and none
should begin until after the write is done. A simple way to do this is to
perform at least two read accesses to this, or another register, before and
after the write.
Additionally, sometime during the envelope, before or after the write, all
of the SDRAMs’ open pages must be closed and the Hawk’s open page
tracker reset. The way to do this is to allow enough time for at least one
SDRAM refresh to occur by waiting for the 32-Bit Counter, described
further on in this chapter, to increment at least 100 times. The wait period
must happen during the envelope.
RAM A/B/C/D BASE
These control bits define the base address for their block’s
SDRAM. RAM A/B/C/D BASE bits 0-7/8-15/16-23/24-
31 correspond to PPC60x address bits 0 - 7. For larger
SDRAM sizes, the lower significant bits of A/B/C/D
BASE are ignored. This means that the block’s base
address will always appear at an even multiple of its size.
Remember that bit 0 is MSB.
Note that RAM_E/F/G/H_BASE are located at
$FEF800C8 (refer to the section on SDRAM Base
Address Register (Blocks E/F/G/H). They operate the
same for blocks E-H as these bits do for blocks A-D.
Also note that the combination of RAM_X_BASE and
ram_x_siz should never be programmed such that
SDRAM responds at the same address as the CSR,
ROM/Flash, External Register Set, or any other slave on
the PowerPC bus.
Address
$FEF80018
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Name
RAM A BASE
RAM B BASE
RAM C BASE
RAM D BASE
Operation
READ/WRITE
READ/WRITE
READ/WRITE
READ/WRITE
Reset
0 PL
0 PL
0 PL
0 PL
Summary of Contents for MVME5100 Series
Page 1: ...MVME5100 Single Board Computer Programmer s Reference Guide V5100A PG2 September 2001 Edition ...
Page 16: ...xvi ...
Page 20: ...xx ...
Page 28: ...xxviii ...
Page 62: ...1 34 Computer Group Literature Center Web Site Product Data and Memory Maps 1 ...
Page 278: ...3 88 Computer Group Literature Center Web Site System Memory Controller SMC 3 ...
Page 288: ...4 10 Computer Group Literature Center Web Site Hawk Programming Details 4 ...
Page 320: ...Index IN 12 Computer Group Literature Center Web Site I N D E X ...