Register Model
e200z3 Power Architecture Core Reference Manual, Rev. 2
Freescale Semiconductor
2-49
2.12.4
Debug Status Register (DBSR)
DBSR, shown in
, contains status on debug events and the most recent processor reset.
Hardware sets DBSR, and software reads and clears it by writing a 1 in any bit position that is to be cleared
and 0 in all other bit positions. The write data to the debug status register is not direct data, but a mask. A
1 causes the bit to be cleared, and a 0 has no effect. Debug status bits are set by debug events only while
internal debug mode is enabled or external debug mode is enabled. When debug interrupts are enabled
(MSR[DE] = 1, DBCR0[IDM] = 1, and DBCR0[EDM] = 0), a set bit in DBSR causes a debug interrupt
to be generated.
When debug interrupts are enabled (MSR[DE]=1, DBCR0[IDM]=1, and DBCR0[EDM]=0), a set bit in
DBSR other than MRR or VLES causes a debug interrupt. The debug interrupt handler clears DBSR bits
before returning to normal execution. The PowerPC VLE APU adds the DBSR[VLES] status bit to
indicate debug events occurring due to a PowerPC VLE instruction.
provides field definitions for the debug status register.
32
33
34 35
36
37
38
39
40
41
42
43
44
45
46
47
Field IDE UDE MRR ICMP
BRT
IRPT
TRAP
IAC1
IAC2
IAC3 IAC4 DAC1R DAC1W DAC2R
DAC2W
Reset
0001_0000_0000_0000
R/W
Read/Clear
48
49
52
53
54
55
56
57
58
59
61
62
63
Field RET
—
DEVT1 DEVT2 DCNT1 DCNT2 CIRPT CRET
—
DAC_OFST
CNT1TRG
Reset
0000_0000_0000_0000
R/W
Read/Clear
SPR
SPR 304
Figure 2-38. DBSR Register
Table 2-22. DBSR Field Descriptions
Bits
Name
Description
32
IDE
Imprecise debug event. Set if MSR[DE] = 0 and DBCR0[EDM] = 0 and a debug event causes its respective
debug status register bit to be set. IDE can also be set if DBCR0[EDM] = 1 and an imprecise debug event
occurs due to a DAC event on a load or store that is terminated with error, or if an ICMP event occurs in
conjunction with a SPE FP round exception.
33
UDE
Unconditional debug event. Set when an unconditional debug event occurs.
34–35
MRR
Most recent reset.
00 No reset since software last cleared these bits.
01 A hard reset occurred since software last cleared these bits.
1
x Reserved.
36
ICMP
Instruction complete debug event. Set if an instruction complete debug event occurs.
37
BRT
Branch taken debug event. Set if an branch taken debug event occurs.
38
IRPT
Interrupt taken debug event. Set if an interrupt taken debug event occurs.
Содержание e200z3
Страница 1: ...e200z3 Power Architecture Core Reference Manual Supports e200z3 e200z335 e200z3coreRM Rev 2 06 2008 ...
Страница 32: ...e200z3 Power Architecture Core Reference Manual Rev 2 xii Freescale Semiconductor ...
Страница 50: ...Register Model e200z3 Power Architecture Core Reference Manual Rev 2 2 2 Freescale Semiconductor ...
Страница 238: ...Memory Management Unit e200z3 Power Architecture Core Reference Manual Rev 2 5 16 Freescale Semiconductor ...
Страница 332: ...Power Management e200z3 Power Architecture Core Reference Manual Rev 2 8 4 Freescale Semiconductor ...
Страница 424: ...Revision History e200z3 Power Architecture Core Reference Manual Rev 2 A 2 Freescale Semiconductor ...