Debug Support
Copyright © ARM Limited 2000. All rights reserved.
8-21
After a watchpointed access, the next instruction in the processor pipeline is always
allowed to complete execution. Where this instruction is a single-cycle data-processing
instruction, entry into debug state is delayed for one cycle while the instruction
completes. The timing of debug entry following a watchpointed load in this case is
shown in Figure 8-8.
Figure 8-8 Watchpoint entry with data processing instruction
Note
Although instruction 5 enters the Execute stage, it is not executed, and there is no state
update as a result of this instruction. When the debugging session is complete, normal
continuation involves a return to instruction 5, the next instruction in the code sequence
that has not yet been executed.
The instruction following the instruction that generated the watchpoint might modify
the Program Counter (PC). If this happens, you cannot determine the instruction that
caused the watchpoint. However, you can always restart the processor. A timing
diagram showing debug entry after a watchpoint where the next instruction is a branch
is shown in Figure 8-9 on page 8-22.
When the processor has entered debug state, you can interrogate the ARM9E-S core to
determine its state. In the case of a watchpoint, the PC contains a value that is five
instructions on from the address of the next instruction to be executed. Therefore, if on
CLK
INSTR[31:0]
InMREQ
RDATA[31:0]
1
M1
E1
W1
D1
WDATA[31:0]
DA[31:0]
2
LDR
Dp
5
6
F1
M2
E2
W2
D2
F2
Mldr
Eldr
Wldr
Dldr
Fldr
MDp
EDp
WDp
DDp
FDp
M5
E5
W5
D5
F5
Edebug1
Ddebug
Edebug2
7
8
DBGDEWPT
DBGACK
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...