Development Support
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
23-13
•
A partially supported scenario:
— Looking for:
Data size: half-word
Address: greater than or equal 0x00000002 and less than 0x0000000e
Data value: greater than 0x4e204e20 and less than 0x9c409c40
— Programming option:
One L-address comparator = 0x00000001 and program for greater than
One L-address comparator = 0x0000000e and program for less than
One L-data comparator = 0x4e204e20 and program for greater than
One L-data comparator = 0x9c409c40 and program for less than
Both byte masks = 0x0
Both L-data comparators program to half-word mode or to word mode
— Result:
The event will be correctly detected if the compiler chooses a load/store instruction with data
size of half-word. If the compiler chooses load/store instructions with data size greater than
half-word (word, multiple), there might be some false detections.
These can be ignored only by the software that handles the breakpoints. The following figure illustrates
this partially supported scenario.
Figure 23-2. Partially Supported Watchpoint/Breakpoint Example
23.2.1.4
Context Dependent Filter
The CPU can be programmed to either recognize internal breakpoints only when the recoverable interrupt
bit in the MSR is set (masked mode) or it can be programmed to always recognize internal breakpoints
(non-masked mode).
When the CPU is programmed to recognize internal breakpoints only when MSR[RI] = 1, it is possible to
debug all parts of the code except when the machine status save/restore registers (SRR0 and SRR1), DAR
(data address register) and DSISR (data storage interrupt status register) are busy and, therefore, MSR[RI]
= 0, (in the prologues and epilogues of interrupt/exception handlers).
When the CPU is programmed always to recognize internal breakpoints, it is possible to debug all parts of
the code. However, if an internal breakpoint is recognized when MSR[RI]
= 0 (SRR0 and SRR1 are busy),
the machine enters into a non-restartable state. For more information refer to
.”
Possible false detect on these half-words when using word/multiple
0x0000_0000
0x0000_0004
0x0000_0008
0x0000_000C
0x0000_0010
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...