EasyManuals Logo

IBM PowerPC 405GP User Manual

IBM PowerPC 405GP
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #281 background imageLoading...
Page #281 background image
Table 12-3. RISCTrace Header Pin Description (continued)
Pin Signal Name Pin
Signal Name
10
No connect
20 GND
12.6 Debug Modes
The PPC405GP supports the following debug modes, each of which supports a type of debug tool or
debug task commonly used
in
embedded systems development:
โ€ข Internal debug mode, which supports ROM monitors
โ€ข External debug mode, which supports
JTAG
debuggers
โ€ข Debug wait mode, which supports processor stopping or stepping for JTAG debuggers while
servicing interrupts
โ€ข Real-time trace mode, which supports trigger events for real-time tracing
Internal and external debug modes can be enabled simultaneously. Both modes are controlled by
fields
in
Debug Control Register 0 (DBCRO). Real-time trace mode is available only if internal,
external, and debug wait modes are disabled.
12.6.1 Internal Debug Mode
Internal debug mode provides access to architected processor resources and supports setting
hardware
and
software breakpoints and monitoring processor status.
In
this mode, debug events
generate debug interrupts, which can interrupt normal program flow so that monitor software can
collect processor status and alter processor resources.
Internal debug mode relies on exception handling software at a dedicated interrupt vector and an
external communications path to
gebug software problems. This mode, used while the processor
executes instructions, enables debugging of operating system or application programs.
In
this mode, debugger software is accessed through a communications port, such as a serial port,
external to the processor core.
To
enable internal debug mode, the Debug Control Register 0 (DBCRO) field IDM is set to 1
(DBCRO[IDM] = 1).
To
enable debug interrupts, MSR[DE] =
1.
A debug interrupt occurs
on
a debug
event only if
DBCRO[IDM] = 1 and MSR[DE] =
1.
12.6.2 External Debug Mode
External debug mode provides access to architected processor resources and supports stopping,
starting, and stepping the processor, setting hardware and software breakpoints, and monitoring
processor status.
In this mode, debug events cause the processor to become architecturally frozen.
While the processor is frozen, normal instruction execution stops and architected processor
resources can be accessed and altered. External bus activity continues
in
external debug mode.
The
JTAG
mechanism can pass instructions to the processor for execution, allowing a
JTAG
debugger
to display and alter processor resources, including memory.
The
JTAG
mechanism prevents the occurrence of a privileged exception when a privileged instruction
is executed while the processor is
in
user mode.
12-6 PPC405GP User's Manual
Preliminary

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM PowerPC 405GP and is the answer not in the manual?

IBM PowerPC 405GP Specifications

General IconGeneral
BrandIBM
ModelPowerPC 405GP
CategoryComputer Hardware
LanguageEnglish

Related product manuals