
Nexus Development Interface (NDI)
PXN20 Microcontroller Reference Manual, Rev. 1
36-82
Freescale Semiconductor
NOTE
The WT bits control program trace only if the TM bits in the development
control register 1 (DC1) have not already been set to enable program trace.
36.7.8
Register Access via JTAG / OnCE
Access to register resources is enabled by loading a single instruction
(ACCESS_AUX_TAP_Z0) into the JTAGC instruction register (IR), and then loading the corresponding
OnCE OCMD register with the NEXUS2_ACCESS instruction (refer to
). For the
module, the OCMD value is 0b00_0111_1100.
Once the ACCESS_AUX_TAP_Z0 instruction has been loaded, the JTAG/OnCE port allows tool/target
communications with all registers according to the register map in
.
Reading/writing of a register then requires two (2) passes through the data-scan (DR) path of the
JTAG state machine (see 36.6.10.8).
1. The first pass through the DR selects the register to be accessed by providing an index
), and the direction (read/write). This is achieved by loading an 8-bit value into the
JTAG data register (DR). This register has the following format:
Table 36-56. WT Field Descriptions
Field
Description
PTS[2:0]
Program trace start control.
000 Trigger disabled
001 Use watchpoint #0 (IAC1 from Nexus1)
010 Use watchpoint #1 (IAC2 from Nexus1)
011 Use watchpoint #2 (IAC3 from Nexus1)
100 Use watchpoint #3 (IAC4 from Nexus1)
101 Use watchpoint #4 (DAC1 from Nexus1)
110 Use watchpoint #5 (DAC2 from Nexus1)
111 Reserved
PTE[2:0]
Program trace end control.
000 Trigger disabled
001 Use watchpoint #0 (IAC1 from Nexus1)
010 Use watchpoint #1 (IAC2 from Nexus1)
011 Use watchpoint #2 (IAC3 from Nexus1)
100 Use watchpoint #3 (IAC4 from Nexus1)
101 Use watchpoint #4 (DAC1 from Nexus1)
110 Use watchpoint #5 (DAC2 from Nexus1)
111 Reserved
Nexus Register Index
(7 bits)
(1 bit)
R/W
RESET Value: 0x00
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...