Freescale Semiconductor MCF5329 Reference Manual page 151

Devices supported: mcf5327; mcf5328; mcf53281; mcf5329
Table of Contents

Advertisement

The RAMBAR contains several control fields. These fields are shown in
Rc[11:0]: 0x0C05 (RAMBAR)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12
R
W
Reset U U U U U U U U U U U U U U U U U 0 0 0
Field
31–15
Base Address. Defines the 0-modulo-32K base address of the SRAM module. By programming this field,
BA
the SRAM may be located on any 32-Kbyte boundary within the processor's 256-Mbyte address space. For
proper operation, the base address must be set to between 0x8000_0000 and 0x8FFF_8000.
14–12
Reserved, must be cleared.
11–10
Priority Bit. PRIU determines if the SRAM backdoor or CPU has priority in the upper 16K bank of memory.
PRIU
PRIL determines if the SRAM backdoor or CPU has priority in the lower 16K bank of memory. If a bit is set,
PRIL
the CPU has priority. If a bit is cleared, the SRAM backdoor has priority. Priority is determined according to
the following table:
Note: The recommended setting (maximum performance) for the priority bits is 00.
9
Backdoor Enable. Allows access by non-core bus masters via the SRAM backdoor on the crossbar switch
BDE
0 Non-core crossbar switch master access to memory is disabled.
1 Non-core crossbar switch master access to memory is enabled.
8
Write Protect. Allows only read accesses to the SRAM. When this bit is set, any attempted write access
WP
from the core generates an access error exception to the ColdFire processor core.
0 Allows core reaought d and write accesses to the SRAM module
1 Allows only core read accesses to the SRAM module
Note: This bit does not affect non-core write accesses.
7
Reserved, must be cleared.
6
Backdoor Write Protect. Allows only read accesses from the non-core bus masters. When this bit is set, any
BWP
attempted write access from the non-core bus masters on the backdoor terminates the bus transfer with an
access error.
0 Allows read and write accesses to the SRAM module from non-core masters.
1 Allows only read accesses to the SRAM module from non-core masters.
Freescale Semiconductor
BA
Figure 6-1. SRAM Base Address Register (RAMBAR)
Table 6-2. RAMBAR Field Descriptions
PRIU,PRIL
Upper Bank Priority
00
SRAM Backdoor
01
SRAM Backdoor
10
11
MCF5329 Reference Manual, Rev 3
Figure
11
10
9
0 0 0
PRIU PRIL BDE WP
0
0
1
Description
Lower Bank Priority
SRAM Backdoor
CPU
CPU
SRAM Backdoor
CPU
CPU
Static RAM (SRAM)
6-1.
Access: User write-only
Debug read/write
8
7
6
5
4
3
2
0
BWP C/I SC SD UC UD V
U
0
0
U
U
U
U
1
0
U
0
6-3

Advertisement

Table of Contents
loading

Table of Contents