Motorola MPC823e Reference Manual page 1083

Microprocessor for mobile computing
Table of Contents

Advertisement

Development Capabilities and Interface
20.4.1 Trap Enable Mode
The trap enable mode allows the following incidents to transfer control into the core internal
development support logic.
• An instruction trap enable signal is used to program the instruction breakpoint
on-the-fly.
• A load/store trap enable signal is used to program the load/store breakpoint on-the-fly.
• A nonmaskable breakpoint is used to assert the nonmaskable external breakpoint.
• A maskable breakpoint is used to assert the maskable external breakpoint.
• A VSYNC control code is used to assert and negate VSYNC operation.
In debug mode, the development port also controls the debug mode features of the core.
For more details, refer to Section 20.4.3 The Development Interface Port.
20.4.2 Debug Mode
Debug mode provides the development system with the following functions:
• Controls and maintains all circumstances of processor execution.
• The development port can force the core to enter debug mode even when the external
interrupts are disabled.
• Debug mode can be entered immediately out of reset, thus allowing you to debug a
system without ROM.
• The events that cause the machine to enter into debug mode can be selectively defined
through an enable register.
• Contains a cause register that indicates why debug mode is entered.
• After entering debug mode, program execution continues where it first entered debug
mode.
• All instructions are fetched from the development port, while load/store accesses are
performed on the real system memory in debug mode.
• A simple method is provided for memory dump and load via the data register of the
development port that is accessed with mtspr and mfspr.
• The processor enters the privileged state (MSR
execution of any instruction and access to any storage location.
• An OR signal of all interrupt cause register bits enables the development port to detect
pending events while in debug mode. For example, the development port can detect a
debug mode access to nonexisting memory space.
20-22
=0) in debug mode, thus allowing
PR
MPC823e REFERENCE MANUAL
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents