Register Model
e200z3 Power Architecture Core Reference Manual, Rev. 2
2-50
Freescale Semiconductor
2.12.5 Debug External Resource Control Register (DBERC0)
The Debug External Resource Control Register (DBERC0) controls resource allocation when
DBCR0[EDM] is set to ‘1’. DBERC0 provides a mechanism for the hardware debugger to share debug
resources with software. Individual resources are allocated based on the settings of DBERC0 when
DBCR0[EDM]=1. DBERC0 settings are ignored when DBCR0[EDM]=0.
Hardware-owned resources which generate debug events cause entry into debug mode, while
software-owned resources which generate debug events act as if they occurred in internal debug mode,
thus causing debug interrupts to occur if DBCR0[IDM]=1 and MSR[DE]=1. DBERC0 is controlled via
the OnCE port hardware, and is read-only to software.
39
TRAP
Trap taken debug event. Set if a trap taken debug event occurs.
40
IAC1
Instruction address compare 1 debug event. Set if an IAC1 debug event occurs.
41
IAC2
Instruction address compare 2 debug event. Set if an IAC2 debug event occurs.
42
IAC3
Instruction address compare 3 debug event. Set if an IAC3 debug event occurs.
43
IAC4
Instruction address compare 4 debug event. Set if an IAC4 debug event occurs.
44
DAC1R
Data address compare 1 read debug event. Set if a read-type DAC1 debug event occurs while
DBCR0[DAC1] = 0b10 or DBCR0[DAC1] = 0b11.
45
DAC1W
Data address compare 1 write debug event. Set if a write-type DAC1 debug event occurs while
DBCR0[DAC1] = 0b01 or DBCR0[DAC1] = 0b11.
46
DAC2R
Data address compare 2 read debug event. Set if a read-type DAC2 debug event occurs while
DBCR0[DAC2] = 0b10 or DBCR0[DAC2] = 0b11.
47
DAC2W
Data address compare 2 write debug event. Set if a write-type DAC2 debug event occurs while
DBCR0[DAC2] = 0b01 or DBCR0[DAC2] = 0b11.
48
RET
Return debug event. Set if a Return debug event occurs.
49–52
—
Reserved, should be cleared.
53
DEVT1
External debug event 1 debug event. Set if a DEVT1 debug event occurs.
54
DEVT2
External debug event 2 debug event. Set if a DEVT2 debug event occurs.
55
DCNT1
Debug counter 1 debug event. Set if a DCNT1 debug event occurs.
56
DCNT2
Debug counter 2 debug event. Set if a DCNT2 debug event occurs.
57
CIRPT
Critical interrupt taken debug event. Set if a critical interrupt taken debug event occurs.
58
CRET
Critical return debug event. Set if a critical return debug event occurs.
59–60
—
Reserved, should be cleared.
61–62 DAC_OFS
T
Data Address Compare Offset (e200z335 only, reserved on e200z3)
Indicates offset-1 of saved DSRR0 value from the address of the load or store instruction which took a DAC
Debug exception, unless a simultaneous DTLB or DSI error occurs, in which case this field is set to 2‘b00
and DBSR[IDE] is set to 1. Normally set to 2‘b00. A DVC DAC will set this field to 2’b01.
63
CNT1TRG Counter 1 triggered. Set if debug counter 1 is triggered by a trigger event.
Table 2-22. DBSR Field Descriptions (continued)
Bits
Name
Description
Содержание 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 ...