![Freescale Semiconductor MPC5553 Скачать руководство пользователя страница 1090](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5553/mpc5553_reference-manual_23306551090.webp)
MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
25-51
25.11.12.3 BTM Operation
25.11.12.3.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 (e200z6
watchpoints are configured within the CPU)
25.11.12.3.2 Relative Addressing
The relative address feature is compliant with the IEEE
-ISTO 5001-2003 standard recommendations,
and is designed to reduce the number of bits transmitted for addresses of indirect branch messages.
The address transmitted is relative to the target address of the instruction which triggered the previous
indirect branch (or sync) message. It is generated by XOR’ing the new address with the previous address,
and then using only the results up to the most significant 1 in the result. To recreate this address, an XOR
of the (most-significant 0-padded) message address with the previously decoded address gives the current
address.
Previous address (A1) =0x0003FC01, New address (A2) = 0x0003F365
Attempted Access to Secure
Memory
For devices which implement security, any attempted branch to secure
memory locations will temporarily disable program trace & cause the
corresponding BTM to be lost. The following direct/indirect branch will queue
a direct/indirect branch with sync. message. The count value within this
message will be inaccurate because the re-enable of program trace is not
necessarily aligned 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 will be lost. An error
message will be sent indicating the BTM was lost. The following
direct/indirect branch will queue a direct/indirect branch with sync. message.
The count value within this message will reflect the number of sequential
instructions executed after the last successful BTM Message was generated.
This count will include the branch which did not generate a message due to
the collision.
Table 25-35. Program Trace Exception Summary (Continued)
Exception Condition
Exception Handling
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...