English
Language : 

PXN20RM Datasheet, PDF (1234/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
Nexus Development Interface (NDI)
36.7.9.2.2 Ownership Trace Messaging (OTM)
Ownership trace information is messaged via the auxiliary port using an ownership trace message (OTM).
The e200z0 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 se_mfspr/se_mtspr instructions. Please
refer to the e200z0 Power ArchitectureTM Core Reference Manual for more details on the process ID
register.
One condition causes an ownership trace message: When new information is updated in the OTR register
or process ID register by the e200z0 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:
3
2
1
PROCESS
SRC
TCODE (000010)
MSB 32 bits
4 bits
6 bits
LSB
Fixed length = 42 bits
Figure 36-61. Ownership Trace Message Format
36.7.9.2.3 OTM Error Messages
An error message occurs when a new message cannot be queued due to the message queue being full. The
FIFO discards incoming messages until it has completely emptied the queue. Once emptied, an error
message is queued. The error encoding indicates 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
incorporates the OTM only error encoding (00000). If both OTM and either BTM or DTM messages
attempt to enter the queue, the error message incorporates 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 incorporates 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.
Error information is messaged out in the following format (see Table 36-45):
3
2
1
ECODE (00000 / 00111 / 01000)
SRC
TCODE (001000)
MSB
5 bits
4 bits
6 bits LSB
Fixed length = 15 bits
Figure 36-62. Error Message Format
36-84
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor