Debug Support
8-10
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
Figure 8-4 Breakpoint timing
8.4.2
Breakpoints and exceptions
A breakpointed instruction can have a Prefetch Abort associated with it. If so, the
Prefetch Abort takes priority and the breakpoint is ignored. (If there is a prefetch abort,
instruction data might have been invalid, the breakpoint might have been
data-dependent, and as the data might be incorrect, the breakpoint might have been
triggered incorrectly.)
SWI
and undefined instructions are treated in the same way as any other instruction that
might have a breakpoint set on it. Therefore, the breakpoint takes priority over the
SWI
or undefined instruction.
On an instruction boundary, if there is a breakpointed instruction and an interrupt
(
nIRQ
or
nFIQ
), the interrupt is taken and the breakpointed instruction is discarded.
When the interrupt is being serviced, the execution flow is returned to the original
program. This means that the instruction that was previously breakpointed is fetched
again, and if the breakpoint is still set, the processor enters debug state when it reaches
the Execute stage of the pipeline.
When the processor enters halt mode debug state, it is important that further interrupts
do not affect the instructions executed. For this reason, as soon as the processor enters
stop-mode debug state, interrupts are disabled, although the state of the I and F bits in
the
Program Status Register (PSR)
are not affected.
CLK
INSTR[31:0]
1
M1
E1
W1
D1
IA[31:1]
2
3
4
DBGIEBKPT
DBGACK
F1
M2
E2
W2
D2
F2
M1
E1
W1
D1
F1
Edebug1
Ddebug
Edebug2
Summary of Contents for ARM966E-S
Page 6: ...Contents vi Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 20: ...Introduction 1 4 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 48: ...Tightly coupled SRAM 4 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 80: ...Bus Interface Unit 6 20 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 118: ...Debug Support 8 26 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 130: ...Test Support 10 8 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 142: ...Instruction cycle timings 11 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 158: ...Signal Descriptions A 16 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 176: ...AC Parameters B 18 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...