English
Language : 

PXN20RM Datasheet, PDF (1180/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
Nexus Development Interface (NDI)
1 The user can select between the two types of program trace. The advantages for each are discussed in Section 36.6.10.3.1,
Branch Trace Messaging (BTM). If the branch history method is selected, the shaded TCODEs are not messaged out.
Table 36-15 shows the error code encodings used when reporting an error via the Nexus3 Error Message.
Table 36-15. 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–0111 Reserved
11000
BTM lost due to collision w/ higher priority message
11001–11111 Reserved
Table 36-16 shows the encodings used for resource codes for certain messages.
Table 36-16. RCODE values (TCODE = 27)
Resource Code
(RCODE)
Description
Resource Data
(RDATA)
0000
0001
Program Trace Instruction Counter overflow (reached 255 and was reset) 0xFF
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-17 shows the event code encodings used for certain messages.
Table 36-17. Event Code Encoding (TCODE = 33)
Event Code
Description
0000
0001
0010–0011
0100
0101–1101
Entry into Debug Mode
Entry into Low Power Mode (CPU only)1
Reserved for future functionality
Disabling Program Trace
Reserved for future functionality
36-30
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor