Development Support
MPC561/MPC563 Reference Manual, Rev. 1.2
23-20
Freescale Semiconductor
economical interface (three pins) that allows the development system to operate in a lower frequency than
the frequency of the CPU. Note that it is also possible to debug the CPU using monitor debugger software,
for more information refer to
Section 23.5, “Software Monitor Debugger Support
Debug mode is a state where the CPU fetches all instructions from the development port. In addition, when
in debug mode, data can be read from the development port and written to the development port. This
allows memory and registers to be read and modified by a development tool (emulator) connected to the
development port.
For protection purposes, two possible working modes are defined: debug mode enable and debug mode
disable. These working modes are selected only during reset. For more information refer to
Section 23.3.1.1, “Debug Mode Enable vs. Debug Mode Disable
.”
The user can work in debug mode starting from reset or the CPU can be programmed to enter debug mode
as a result of a predefined list of events. These events include all possible interrupts and exceptions in the
CPU system, including the internal breakpoints, together with two levels of development port requests
(masked and non-masked) and one peripheral breakpoint request that can be generated by any one of the
peripherals of the system (including internal and external modules). Each event can be programmed either
to be treated as a regular interrupt that causes the machine to branch to its interrupt vector, or to be treated
as a special interrupt that causes debug mode entry.
When in debug mode an rfi instruction will return the machine to its regular work mode. The debugger
tool should issue an isync instruction to the debug port prior to any other instructions when the CPU enters
debug mode after running code.
The relationship between the debug mode logic to the rest of the CPU chip is shown in
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...