Development Support
MPC561/MPC563 Reference Manual, Rev. 1.2
23-24
Freescale Semiconductor
The debug interface is enabled by:
•
holding JCOMP/RSTI low while HRESET is asserted and then entering BDM (DSCK=high at
HRESET negation)
or
•
configuring READI to be disabled (EVTI=high at RSTI negation) and then entering BDM
(DSCK=high at HRESET negation)
The state of this pin is sampled three clocks before the negation of SRESET.
NOTE
Because SRESET negation is done by an external pull up resistor any
reference here to SRESET negation time refers to the time the
MPC561/MPC563 releases SRESET. If the actual negation is slow due to a
large resistor, set up time for the debug port signals should be set
accordingly.
If the DSCK pin is sampled negated, debug mode is disabled until a subsequent reset when the DSCK pin
is sampled in the asserted state. When debug mode is disabled the internal watchpoint/breakpoint hardware
will still be operational and may be used by a software monitor program for debugging purposes.
When debug mode is disabled, all development support registers (see list in
) are accessible to
the supervisor code (MSR[PR]
= 0) and can be used by a monitor debugger software. However, the
processor never enters debug mode and, therefore, the exception cause register (ECR) and the debug
enable register (DER) are used only for asserting and negating the freeze signal. For more information on
the software monitor debugger support refer to
Section 23.5, “Software Monitor Debugger Support
When debug mode is enabled, all development support registers are accessible only when the CPU is in
debug mode. Therefore, even supervisor code that may be still under debug cannot prevent the CPU from
entering debug mode. The development system has full control of all development support features of the
CPU through the development port. Refer to
Figure 23-7. BDM Mode Selection
23.3.1.2
Entering Debug Mode
Entering debug mode can be a result of a number of events. All events have a programmable enable bit to
selectively decide which events result in debug mode entry and which in regular interrupt handling.
PORESET
JCOMP/RSTI
Configuration
(Low)
READI Disabled/ BDM can be enabled/entered
JTAG disabled
T
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...