
Nexus Development Interface (NDI)
PXN20 Microcontroller Reference Manual, Rev. 1
36-74
Freescale Semiconductor
shows the error code encodings used when reporting an error via the Error Message.
shows the encodings used for resource codes for certain messages.
Program Trace —
Program Correlation
Message
6
6
TCODE
Fixed
TCODE number = 33 (0x21)
4
4
SRC
Fixed
source processor identifier
4
4
EVCODE
Fixed
event correlated w/ program flow (Refer to
1
8
I-CNT
Variable # sequential instructions executed since last taken branch
1
32
HIST
Variable branch / predicate instruction history (see
)
1
The user can select between the two types of program trace. The advantages for each are discussed in
If the branch history method is selected, the shaded TCODEs above are not messaged out.
Table 36-45. Error Code Encoding (TCODE = 8)
Error Code
(ECODE)
Description
00000
Ownership trace overrun
00001
Program trace overrun
00010
Reserved
00011
Read/write access error
00101
Invalid access opcode (Nexus register unimplemented)
00110
Watchpoint overrun
00111
Program trace and ownership trace overrun
01000
(Program trace or ownership trace) and watchpoint overrun
01001–0111
Reserved
11000
BTM lost due to collision w/ higher priority message
11001–11111
Reserved
Table 36-46. RCODE values (TCODE = 27)
Resource Code
(RCODE)
Description
Resource Data
(RDATA)
0000
Program Trace Instruction Counter overflow (reached 255 and was reset) 0xFF
0001
Program Trace, Branch / Predicate Instruction History. This type of packet
is terminated by a stop bit set to 1 after the last history bit.
Branch History. This type of
packet is terminated by a stop bit
set to a 1 after the last history bit.
Table 36-44. Public TCODEs Supported by (continued)
Message Name
Packet Size
(bits)
Packet
Name
Packet
Type
Packet Description
Min
Max
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...