English
Language : 

PXR40RM Datasheet, PDF (1364/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
Nexus Development Interface (NDI)
31.14.4 Sequential Instruction Count (I-CNT)
The I-CNT packet, is present in all BTM messages. For traditional branch messages, I-CNT represents the
number of sequential instructions, or non-taken branches in between direct/indirect branch messages.
For branch history messages, I-CNT represents the number of instructions executed since the last
taken/non-taken direct branch, last taken indirect branch or exception. Not taken indirect branches are
considered sequential instructions and cause the instruction count to increment. I-CNT also represents the
number of instructions executed since the last predicate instruction.
The sequential instruction counter overflows when its value reaches 255. The next BTM message is
converted to a synchronization type message.
31.14.5 Program Trace Queueing
NZ7C3 implements a message queue. Messages that enter the queue are transmitted via the auxiliary pins
in the order in which they are queued.
NOTE
If multiple trace messages must be queued at the same time, Watchpoint
Messages have the highest priority (WPM  OTM  BTM  DTM).
31.14.5.1 Program Trace Timing Diagrams
MCKO
MSEO[1:0]
00
01
11
MDO[11:0]
0000 0000 0100
0000 0010 0000
TCODE = 4
Source Processor = 0b0000
Number of Sequence Instructions = 128
Relative Address = 0xA5
0000 1010 0101
Figure 31-26. Program Trace (MDO = 12)—Indirect Branch Message (Traditional)
MCKO
MSEO
MDO[1:0]
00 11 01 00 00 00 01 01 10 10 01 01 10 10 00
TCODE = 28
Source Processor = 0b0000
Number of Sequential Instructions = 0
Relative Address = 0xA5
Branch History = 0b1010_0101 (with Stop)
Figure 31-27. Program Trace (MDO = 2)—Indirect Branch Message (History)
31-48
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor