Debug Support
8-12
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
The instruction following the instruction that generated the watchpoint might have
modified the
Program Counter (PC)
. If this happens, it is not possible to determine the
instruction that caused the watchpoint. A timing diagram showing debug entry after a
watchpoint where the next instruction is a branch is shown in Figure 8-6. However, it is
always possible to restart the processor.
When the processor enters debug state, the ARM9E-S core is interrogated 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 entry to debug
state, in ARM state, the instruction
SUB PC, PC, #20
is scanned in and the processor
restarted, execution flow returns to the next instruction in the code sequence.
Figure 8-6 Watchpoint entry with branch
8.4.4
Watchpoints and exceptions
If there is an abort with the data access as well as a watchpoint, the watchpoint condition
is latched, the exception entry sequence performed, and then the processor enters debug
state. If there is an interrupt pending, again the ARM9E-S allows the exception entry
sequence to occur and then enters debug state.
CLK
INSTR[31:0]
InMREQ
RDATA[31:0]
LDR
WDATA[31:0]
DA[31:0]
B
X
X
T
T+4
Mldr
Eldr
Wldr
Dldr
Fldr
MB
EB
WB
DB
FB
ET
DT
FT
Edebug1
Ddebug
Edebug2
T+8
T+C
DBGDEWPT
DBGACK
IA[31:1]
Содержание ARM966E-S
Страница 6: ...Contents vi Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 20: ...Introduction 1 4 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 48: ...Tightly coupled SRAM 4 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 80: ...Bus Interface Unit 6 20 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 118: ...Debug Support 8 26 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 130: ...Test Support 10 8 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 142: ...Instruction cycle timings 11 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 158: ...Signal Descriptions A 16 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 176: ...AC Parameters B 18 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...