MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
25-44
Freescale Semiconductor
25.11.11 Ownership Trace
This section details the ownership trace features of the NZ6C3 module.
25.11.11.1 Overview
Ownership trace provides a macroscopic view, such as task flow reconstruction, when debugging software
written in a high level (or object-oriented) language. It offers the highest level of abstraction for tracking
operating system software execution. This is especially useful when the developer is not interested in
debugging at lower levels.
25.11.11.2 Ownership Trace Messaging (OTM)
Ownership trace information is messaged via the auxiliary port using an ownership trace message (OTM).
The e200z6 processor contains a Power Architecture Book E defined process ID register within the CPU.
The process ID register is updated by the operating system software to provide task/process ID
information. The contents of this register are replicated on the pins of the processor and connected to
Nexus. The process ID register value can be accessed using the
mfspr
/
mtspr
instructions. Please refer to
the
e200z6 PowerPC
TM
Core Reference Manual
for more details on the process ID register.
There are two conditions which will cause an ownership trace message.
There is one condition that will cause an ownership trace message: When new information is updated in
the OTR register or process ID register by the e200z6 processor, the data is latched within Nexus, and is
messaged out via the auxiliary port, allowing development tools to trace ownership flow.
Ownership trace information is messaged out in the following format:
Figure 25-25. Ownership Trace Message Format
25.11.11.3 OTM Error Messages
An error message occurs when a new message cannot be queued due to the message queue being full. The
FIFO will discard incoming messages until it has completely emptied the queue. After it is emptied, an
error message will be queued. The error encoding will indicate which types of messages attempted to be
queued while the FIFO was being emptied.
If only an OTM message attempts to enter the queue while it is being emptied, the error message will
incorporate the OTM only error encoding (00000). If both OTM and either BTM or DTM messages
attempt to enter the queue, the error message will incorporate the OTM and (program or data) trace error
encoding (00111). If a watchpoint also attempts to be queued while the FIFO is being emptied, then the
error message will incorporate error encoding (01000).
NOTE
The OVC bits within the DC1 register can be set to delay the CPU in order
to alleviate (but not eliminate) potential overrun situations.
PROCESS
msb
lsb
1
2
SRC
TCODE (000010)
3
6 bits
4 bits
32 bits
Fixed length = 42 bits
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...