
Nexus Development Interface (NDI)
PXN20 Microcontroller Reference Manual, Rev. 1
36-98
Freescale Semiconductor
3. Repeat step 3 in
Section 36.7.9.5.1, Single Write Access
until the internal CNT value is zero (0).
When this occurs, the DV bit within the RWCS is cleared to indicate the end of the block write
access.
36.7.9.5.3
Single Read Access
1. Initialize the read/write access address register (RWA) through the access method outlined in
Section 36.7.8, Register Access via JTAG / OnCE
, using the Nexus register index of 0
x
9
– Read Address
0x
nnnn_nnnn
(read address)
2. Initialize the read/write access control/status register (RWCS) through the access method outlined
Section 36.7.8, Register Access via JTAG / OnCE
, using the Nexus register index of
0x7 (see
). Configure the bits as follows:
– Access Control RWCS[AC]
0b1 (to indicate start access)
– Map Select RWCS[MAP]
0b000 (primary memory map)
– Access Priority RWCS[PR]
0b00 (lowest priority)
– Read/Write RWCS[RW]
0b0 (read access)
– Word Size RWCS[SZ]
0b0xx (32-bit, 16-bit, 8-bit)
– Access Count RWCS[CNT]
0x0000 or 0x0001 (single access)
NOTE
Access Count (CNT) of 0x0000 or 0x0001 performs a single access.
3. The module then arbitrates for the system bus and the read data is transferred from the
system bus to the RWD register. When the transfer is completed without error (ERR = 0), Nexus
sets the DV bit in the RWCS register. This indicates that the device is ready for the next access.
4. The data can then be read from the read/write access data register (RWD) through the access
Section 36.7.8, Register Access via JTAG / OnCE
, using the Nexus
).
NOTE
The DV and ERR bits within the RWCS provide Read/Write Access status
to the external development tool.
36.7.9.5.4
Block Read Access
1. For a non-burst block read access, follow Steps 1 and 2 outlined in
Section 36.7.9.5.3, Single Read
to initialize the registers, but using a value greater than one (0x1) for the CNT field in the
RWCS register.
The module then arbitrates for the system bus and the read data is transferred from the
system bus to the RWD register. When the transfer has completed without error (ERR = 0), the
address from the RWA register is incremented to the next word size (specified in the SZ field) and
the number from the CNT field is decremented.
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...