Nexus
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 25-33
Table 25-20 shows the error code encodings used when reporting an error via the Nexus3 Error Message.
Program Trace -
Program Correlation
Message
6 6 TCODE Fixed TCODE number = 33 (0x21)
4 4SRC Fixed Source processor identifier
4 4 EVCODE Fixed Event correlated w/ program flow (refer to
Table 25-22)
1 8 I-CNT Variable Number of sequential instructions executed since
last taken branch
1 32 HIST Variable Branch / predicate instruction history (refer to
Section 25.13.1, “Branch Trace Messaging
(BTM)”)
1
You can select between the two types of program trace. The advantages for each are discussed in Section 25.13.1,
“Branch Trace Messaging (BTM). If the branch history method is selected, the shaded TCODES above are not
messaged out.
Table 25-20. Error Code Encoding (TCODE = 8)
Error Code
(ECODE)
Description
00000 Ownership trace overrun
00001 Program trace overrun
00010 Data trace overrun
00011 Read/write access error
00101 Invalid access opcode (Nexus register unimplemented)
00110 Watchpoint overrun
00111 (Program trace or data trace) and ownership trace overrun
01000 (Program trace or data trace or ownership trace) and watchpoint overrun
01001–10111 Reserved
11000 BTM lost due to collision w/ higher priority message
11001–11111 Reserved
Table 25-19. Public TCODEs Supported by NZ6C3 (continued)
Message Name
Packet Size
(bits) Packet
Name
Packet
Type
Packet Description
Min Max