Nexus3/ Module
e200z3 Power Architecture Core Reference Manual, Rev. 2
Freescale Semiconductor
10-43
10.10 Nexus3/ Read/Write Access to Memory-Mapped
Resources
The read/write access feature allows access to memory-mapped resources through the JTAG/OnCE port.
The read/write mechanism supports single as well as block reads and writes to e200z3 AHB resources.
The Nexus3/ module is capable of accessing resources on the e200z3 system bus, AHB, with
multiple configurable priority levels. Memory-mapped registers and other non-cached memory can be
accessed through the standard memory map settings.
All accesses are set up and initiated by the read/write access control/status register, RWCS, as well as RWA
and RWD.
Using RWCS, RWA and RWD, memory-mapped e200z3 AHB resources can be accessed through
Nexus3/. The following sections describe the steps that are required to access memory-mapped
resources.
NOTE
Read/write access can only access memory-mapped resources when system
reset is de-asserted and clocks are running. Misaligned accesses are not
supported in the e200z3 Nexus3/ module.
10.10.1 Single Write Access
NOTE
In the first three steps, the registers are initialized using the access method outlined in
“Nexus3/ Register Access Through JTAG/OnCE.”
1. Initialize RWA using the Nexus register index of 0x9; see
. Configure as shown below:
— Write address = 0xnnnn_nnnn (write address)
2. Initialize RWCS using the Nexus register index of 0x7; see
. Configure the fields as
:
NOTE
Access count (CNT) of 0x0000 or 0x0001 performs a single access.
Table 10-28. Single Write Access Field Settings
Field
Setting
AC (Access control)
1 (indicates start access)
MAP (Map select)
000 (primary memory map)
PR (Access priority)
00 (lowest priority)
RW (Read/write)
1 (write access)
SZ (Word size)
0
nn (32-bit, 16-bit, 8-bit)
CNT (Access count)
0x0000 or 0x0001 (single access)