EasyManua.ls Logo

Freescale Semiconductor MPC5604B - Debug Mode Control

Default Icon
934 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MPC5604B/C Microcontroller Reference Manual, Rev. 8
818 Freescale Semiconductor
thereby asserting EVTO whenever any block drives its EVTO. When there is no active MCKO, such as in
disabled mode, the NPC drives EVTO for two system clock periods. EVTO sharing is active as long as the
NDI is not in reset.
33.7.7 Debug Mode Control
On MPC5604B, program breaks can be requested either by using the EVTI pin as a break request, or when
a Nexus event is triggered.
33.7.7.1 EVTI Generated Break Request
To use the EVTI pin as a debug request, the EIC field in the e200z0 Nexus2+ Development Control
Register 1 (DC1[4:3]) must be set to configure the EVTI input as a debug request.
33.7.8 Ownership Trace
33.7.8.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.
33.7.8.2 Ownership Trace Messaging (OTM)
Ownership trace information is messaged via the auxiliary port using an ownership trace message (OTM).
The e200z0h processor contains a Power Architecture platform 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.
There is one condition which will cause an ownership trace message: When new information is updated
in the OTR register or process ID register by the e200z0h 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 33-12. Ownership Trace Message Format
PROCESS
msb lsb
12
SRC TCODE (000010)
3
6 bits4 bits32 bits
Fixed length = 42 bits

Table of Contents

Other manuals for Freescale Semiconductor MPC5604B

Related product manuals