27 On-ChiP DeBuGGeR (DBG)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
27-5
Debug Control Register (DCR)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
Debug Control
Register
(DCR)
0xffffa0
(8 bits)
D7
iBe4
Instruction break #4 enable
1 Enable
0 Disable
0
R/W
D6
iBe3
Instruction break #3 enable
1 Enable
0 Disable
0
R/W
D5
iBe2
Instruction break #2 enable
1 Enable
0 Disable
0
R/W
D4
DR
Debug request flag
1 Occurred
0 Not occurred
0
R/W Reset by writing 1.
D3
iBe1
Instruction break #1 enable
1 Enable
0 Disable
0
R/W
D2
iBe0
Instruction break #0 enable
1 Enable
0 Disable
0
R/W
D1
Se
Single step enable
1 Enable
0 Disable
0
R/W
D0
DM
Debug mode
1 Debug mode 0 User mode
0
R
D7
iBe4: instruction Break #4 enable Bit
Enables or disables instruction break #4.
1 (R/W): Enabled
0 (R/W): Disabled (default)
If this bit is set to 1, the instruction fetch address and the value set in the IBAR4 register are compared.
If they match, an instruction break is generated. If this bit is set to 0, no comparison is performed.
D6
iBe3: instruction Break #3 enable Bit
Enables or disables instruction break #3.
1 (R/W): Enabled
0 (R/W): Disabled (default)
If this bit is set to 1, the instruction fetch address and the value set in the IBAR3 register are compared.
If they match, an instruction break is generated. If this bit is set to 0, no comparison is performed.
D5
iBe2: instruction Break #2 enable Bit
Enables or disables instruction break #2.
1 (R/W): Enabled
0 (R/W): Disabled (default)
If this bit is set to 1, the instruction fetch address and the value set in the IBAR2 register are compared.
If they match, an instruction break is generated. If this bit is set to 0, no comparison is performed.
D4
DR: Debug Request Flag Bit
Indicates the presence or absence of an external debug request.
1 (R):
Request generated
0 (R):
Request not generated (default)
1 (W):
Flag is reset
0 (W):
Ignored
This flag is cleared (reset to 0) when 1 is written. It must be cleared before the debug processing routine
is terminated by the retd instruction.
D3
iBe1: instruction Break #1 enable Bit
Enables or disables instruction break #1.
1 (R/W): Enabled
0 (R/W): Disabled (default)
If this bit is set to 1, the instruction fetch address and the value set in the IBAR1 register are compared.
If they match, an instruction break is generated. If this bit is set to 0, no comparison is performed.
D2
iBe0: instruction Break #0 enable Bit
Enables or disables instruction break #0.
1 (R/W): Enabled
0 (R/W): Disabled (default)
If this bit is set to 1, the instruction fetch address and the value set in the IBAR0 register are compared.
If they match, an instruction break is generated. If this bit is set to 0, no comparison is performed.