Development Support
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
23-9
Figure 23-1. Watchpoint and Breakpoint Support in the CPU
23.2.1
Internal Watchpoints and Breakpoints
This section describes the internal breakpoints and watchpoints support of the RCPU. For information on
external breakpoints support refer to
Section 23.3, “Development System Interface
.”
Internal breakpoint and watchpoint support is based on eight comparators comparing information on
instruction and load/store cycles, two counters, and two AND-OR logic structures. The comparators
perform compare on the Instruction address (I-address), on the load/store address (L-address) and on the
load/store data (L-data).
The comparators are able to detect the following conditions: equal, not equal, greater than, less than
(greater than or equal and less than or equal are easily obtained from these four conditions; for more
information refer to
Section 23.2.1.6, “Generating Six Compare Types
”). Using the AND-OR logic
structures “in range” and “out of range” detections (on address and on data) are supported. Using the
counters, it is possible to program a breakpoint to be recognized after an event was detected a predefined
number of times.
The L-data comparators can operate on fix point data of load or store. When operating on fix point data
the L-data comparators are able to perform compare on bytes, half-words and words and can treat numbers
either as signed or as unsigned values.
Breakpoint
Non-maskable Breakpoint
MSR[RI]
Watchpoints
To Watchpoint
Maskable Breakpoint
Development Port Trap Enable Bits
Counters
(Non-masked Control Bit)
Internal
Watchpoints
Logic
Development
Port
LCTRL2
MSR
Software trap Enable Bits
to CPU
Development
System OR
External
Peripherals
Internal
Peripherals
X
X
bit wise AND
bit wise OR
X
X
Pins
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...