
Nexus
MPC5566 Microcontroller Reference Manual, Rev. 2
25-54
Freescale Semiconductor
Exception conditions that result in program trace synchronization are summarized in
.
Table 25-36. Program Trace Exception Summary
Exception Condition
Exception Handling
System Reset Negation
At the negation of JTAG reset (JCOMP), queue pointers, counters, state machines, and
registers within the NZ6C3 module are reset. Upon the first branch out of system reset
(if program trace is enabled), the first program trace message is a direct/indirect branch
with sync. message.
Program Trace Enabled
The first program trace message (after program trace has been enabled) is a
synchronization message.
Exit from Low Power/Debug
Upon exiting from the low power or debug modes, the next direct/indirect branch is
converted to a direct/indirect branch with sync. message.
Queue Overrun
An error message occurs when a new message cannot be queued due to the message
queue being full. The FIFO discards messages until the queue is completely empty. After
it is empty, an error message is queued. The error encoding indicates the message types
denied queueing while the FIFO was emptying. The next BTM message in the queue is
a direct/indirect branch with sync. message.
Periodic Program Trace Sync.
A forced synchronization occurs periodically after 255 program trace messages have
been queued. A direct/indirect branch with sync. message is queued. The periodic
program trace message counter then resets.
Event In
If the Nexus module is enabled, an EVTI assertion initiates a direct/indirect branch with
sync. message upon the next direct/indirect branch (if program trace is enabled and the
EIC bits of the DC1 register have enabled this feature).
Sequential Instruction Count
Overflow
When the sequential instruction counter reaches its maximum count (up to 255
sequential instructions may be executed), a forced synchronization occurs. The
sequential counter then resets. A program trace direct/indirect branch with sync.message
is queued upon execution of the next branch.
Attempted Access to Secure
Memory
For devices which implement security, any attempt to branch to secure memory locations
temporarily disables program trace & cause the corresponding BTM to be lost. The
following direct/indirect branch queues a direct/indirect branch with sync. message. The
count value within this message can be inaccurate since re-enabling program trace does
not guarantee alignment on an instruction boundary.
Collision Priority
All messages have the following priority: WPM -> OTM -> BTM -> DTM. A BTM message
which attempts to enter the queue at the same time as a watchpoint message or
ownership trace message is lost. An error message is sent indicating the BTM was lost.
The following direct/indirect branch queues a direct/indirect branch with sync. message.
The count value within this message reflects the number of sequential instructions
executed after the last successful BTM message was generated. This count includes the
branch which did not generate a message due to the collision.
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...