![Freescale Semiconductor MCF54455 Скачать руководство пользователя страница 175](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541175.webp)
Static RAM (SRAM)
7-2
Freescale Semiconductor
7.2
Memory Map/Register Description
The SRAM programming model shown in
includes a description of the SRAM base address
register (RAMBAR), SRAM initialization, and power management.
7.2.1
SRAM Base Address Register (RAMBAR)
The configuration information in the SRAM base-address register (RAMBAR) controls the operation of
the SRAM module.
•
The RAMBAR holds the SRAM base address. The MOVEC instruction provides write-only access
to this register.
•
The RAMBAR can be read or written from the debug module.
•
All undefined bits in the register are reserved. These bits are ignored during writes to the
RAMBAR and return zeroes when read from the debug module.
•
A reset clears the RAMBAR’s priority, backdoor write-protect, and valid bits, and sets the
backdoor enable bit. This enables the backdoor port and invalidates the processor port to the
SRAM (The RAMBAR must be initialized before the core can access the SRAM.) All other bits
are unaffected.
NOTE
The only applicable address ranges for the SRAM module’s base address are
0x8000_0000 – 0x8FFF_8000. The address must be 0-modulo-32 K. Set the
RAMBAR register appropriately.
By default, the RAMBAR is invalid, but the backdoor is enabled. In this
state, any core accesses to the SRAM are routed through the backdoor.
Therefore, the SRAM is accessible by the core, but it does not have a
single-cycle access time. To ensure that the core has single-cycle access to
the SRAM, set the RAMBAR[V] bit.
Any access within the memory range allocated for the on-chip SRAM
(0x8000_0000-0x8FFF_FFFF) hits in the SRAM even if the address is
beyond the defined size for the SRAM. This creates address aliasing for the
on-chip SRAM memory. For example, writes to addresses 0x8000_0000
and 0x8000_8000 modify the same memory location. System software
should ensure SRAM address pointers do not exceed the SRAM size to
prevent unwanted overwriting of SRAM.
Table 7-1. SRAM Programming Model
Rc[11:0]
1
1
The values listed in this column represent the Rc field used when accessing the core registers via the BDM port. For more
information see
Register
Width
(bits)
Access
Reset Value
Written
w/ MOVEC
Section/Page
Supervisor Access Only Registers
0xC05
RAM Base Address Register (RAMBAR)
32
R/W
See Section
Yes
Содержание MCF54455
Страница 33: ...xxviii Freescale Semiconductor ...
Страница 67: ...Freescale Semiconductor 1 ...
Страница 125: ...Freescale Semiconductor 1 ...
Страница 145: ...Enhanced Multiply Accumulate Unit EMAC 5 21 Freescale Semiconductor ...
Страница 173: ...Cache 6 28 Freescale Semiconductor ...
Страница 179: ...Static RAM SRAM 7 6 Freescale Semiconductor ...
Страница 207: ...Power Management 9 16 Freescale Semiconductor ...
Страница 323: ...Reset Controller Module 13 8 Freescale Semiconductor ...
Страница 389: ...Pin Multiplexing and Control 16 44 Freescale Semiconductor ...
Страница 575: ...PCI Bus Controller 22 58 Freescale Semiconductor ...
Страница 600: ...Advanced Technology Attachment ATA Freescale Semiconductor 23 25 ...
Страница 601: ...Freescale Semiconductor 1 ...
Страница 842: ...I2 C Interface Freescale Semiconductor 33 16 ...
Страница 843: ...Freescale Semiconductor 1 ...
Страница 921: ...Revision History A 6 Freescale Semiconductor ...