
Nexus Development Interface (NDI)
PXN20 Microcontroller Reference Manual, Rev. 1
36-64
Freescale Semiconductor
Section 36.6.10.6.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.6.10.6.3
Block Write Access (Burst Mode)
1. For a burst block write access, follow Steps 1 and 2 outlined in
Section 36.6.10.6.1, Single Write
to initialize the registers, using a value of four (double-words) for the CNT field and a
RWCS[SZ] field indicating 64-bit access.
2. Initialize the burst data buffer (read/write access data register) through the access method outlined
Section 36.6.9, Register Access via JTAG / OnCE
, using the Nexus register Index of
0xA (see
).
3. Repeat step 2 until all double-word values are written to the buffer.
NOTE
The data values must be shifted in 32-bits at a time LSB first (that is,
double-word write = two word writes to the RWD).
4. The Nexus module then arbitrates for the system bus and transfer the burst data values from the
data buffer to the system bus beginning from the memory mapped address in the read/write access
address register (RWA). For each access within the burst, the address from the RWA register is
incremented to the next double-word size (specified in the SZ field) modulo the length of the burst,
and the number from the CNT field is decremented.
5. When the entire burst transfer has completed without error (ERR = 0), the DV bit within the RWCS
is cleared to indicate the end of the block write access.
NOTE
The actual RWA value as well as the CNT field within the RWCS are not
changed when executing a block write access (burst or non-burst). The
original values can be read by the external development tool at any time.
36.6.10.6.4
Single Read Access
1. Initialize the read/write access address register (RWA) through the access method outlined in
Section 36.6.9, 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.6.9, 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)
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...