Debug Control Register 0 (Dbcr0); Figure 8-1. Debug Control Register 0 (Dbcr0) - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

Preliminary

8.6.1 Debug Control Register 0 (DBCR0)

DBCR0 is an SPR that is used to enable debug modes and events, reset the processor, and control timer
operation when debugging. DBCR0 can be written from a GPR using
using
mfspr .
EDM
RST
BRT
TRAP
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
IDM
ICMP
IRPT

Figure 8-1. Debug Control Register 0 (DBCR0)

External Debug Mode
0
EDM
0 Disable external debug mode.
1 Enable external debug mode.
Internal Debug Mode
0 Disable internal debug mode.
1
IDM
1 Enable internal debug mode.
Reset
00 No action
01 Core reset
2:3
RST
10 Chip reset
11 System reset
Attention: Writing 01, 10, or 11 to this field causes a processor reset to occur.
Instruction Completion Debug Event
0 Disable instruction completion debug event.
4
ICMP
1 Enable instruction completion debug event.
Branch Taken Debug Event
0 Disable branch taken debug event.
5
BRT
1 Enable branch taken debug event.
Interrupt Debug Event
0 Disable interrupt debug event.
6
IRPT
1 Enable interrupt debug event.
Trap Debug Event
0 Disable trap debug event.
7
TRAP
1 Enable trap debug event.
Instruction Address Compare (IAC) 1 Debug Event
0 Disable IAC 1 debug event.
8
IAC1
1 Enable IAC 1 debug event.
debug.fm.
September 12, 2002
changing any of the debug facility register fields related to the DAC and/or
DVC debug events, software must execute an msync instruction before
making the changes, to ensure that all storage accesses complete using
the old context of these register fields.
IAC2
IAC4 DAC1W
DAC2W
IAC1
IAC3
DAC1R
DAC2R
mtspr , and can be read into a GPR
RET
Instruction completions do not cause
instruction completion debug events if
MSR[DE] = 0 in internal debug mode,
unless also in external debug mode or
debug wait mode.
Taken branches do not cause branch
taken debug events if MSR[DE] = 0 in
internal debug mode, unless also in
external debug mode or debug wait
mode.
Critical interrupts do not cause interrupt
debug events in internal debug mode,
unless also in external debug mode or
debug wait mode.
User's Manual
PPC440x5 CPU Core
FT
30 31
Page 239 of 589

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents