Chapter 4. Local Memory
4-3
SRAM Overview
4.3.2.1 SRAM Base Address Register (RAMBAR)
RAMBAR determines the base address location of the internal SRAM module, as well as
the definition of the types of accesses allowed for it.
•
RAMBAR is a 32-bit write-only supervisor control register. It is accessed in the
CPU address space via the MOVEC instruction with an Rc encoding of 0xC04.
RAMBAR can be read or written in background debug mode (BDM). At system
reset, the V bit is cleared and the remaining bits are uninitialized. To access the
SRAM module, RAMBAR must be written with the appropriate base address after
system reset.
•
The SRAM base address register (RAMBAR) can be accessed only in supervisor
mode using the MOVEC instruction with an Rc value of 0xC04.
Figure 4-1. SRAM Base Address Register (RAMBAR)
RAMBAR fields are described in Table 4-2.
31
12 11
9
8
7
6
5
4
3
2
1
0
Field
BA
—
WP
—
C/I SC SD UC UD V
Reset
—
0
R/W
W for CPU; R/W for debug
Address
CPU space + 0xC04
Table 4-2. RAMBAR Field Description
Bits
Name
Description
31–12
BA
Base address. SRAM module base address. The SRAM module occupies a 4-Kbyte space
defined by BA. SRAM can reside on any 4-Kbyte boundary in the 4-Gbyte address space.
11–9
—
Reserved, should be cleared.
8
WP
Write protect. Controls read/write properties of the SRAM.
0 Allows read and write accesses to the SRAM module.
1 Allows only read accesses to the SRAM module. Any attempted write reference generates an
access error exception to the ColdFire processor core.
7–6
—
Reserved, should be cleared.
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...