![Freescale Semiconductor PXR4030 Скачать руководство пользователя страница 1362](http://html1.mh-extra.com/html/freescale-semiconductor/pxr4030/pxr4030_reference-manual_23306601362.webp)
Nexus Development Interface (NDI)
31-46
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
31.14 BTM Operation
31.14.1 Enabling Program Trace
Both types of branch trace messaging can be enabled in one of two ways:
•
Setting the TM field of the DC1 register to enable program trace (DC1[TM])
•
Using the PTS field of the WT register to enable program trace on watchpoint hits (e200z7
watchpoints are configured within the CPU)
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 can 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 and 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.
Table 31-26. Program Trace Exception Summary (continued)
Exception Condition
Exception Handling
Содержание PXR4030
Страница 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Страница 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Страница 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Страница 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Страница 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 158: ...Power Management Controller PMC 5 26 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL 6 24 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 278: ...System Integration Unit SIU 7 96 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 280: ...System Information Module PXR40 Microcontroller Reference Manual Rev 1 8 2 Freescale Semiconductor...
Страница 300: ...Boot Assist Module BAM 9 20 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 346: ...Interrupts and Interrupt Controller INTC 10 46 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 352: ...General Purpose Static RAM SRAM 11 6 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 432: ...Core e200z7 Overview PXR40 Microcontroller Reference Manual Rev 1 13 44 Freescale Semiconductor...
Страница 460: ...Peripheral Bridge PBRIDGE 15 16 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 478: ...Memory Protection Unit MPU 16 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 496: ...Error Correction Status Module ECSM 17 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 524: ...Periodic Interrupt Timer PIT_RTI 20 12 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 740: ...FlexRay Communication Controller FLEXRAY 22 156 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 928: ...Deserial Serial Peripheral Interface DSPI 25 68 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 982: ...Enhanced Serial Communication Interface eSCI 26 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1114: ...Enhanced Queued Analog to Digital Converter EQADC 27 132 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1262: ...Enhanced Time Processing Unit eTPU2 29 94 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1399: ...Nexus Development Interface NDI Freescale Semiconductor 31 83 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1400: ...Nexus Development Interface NDI 31 84 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...