Debug Support
8-20
Copyright © ARM Limited 2000. All rights reserved.
The Decode cycle of the debug entry sequence occurs during the Execute cycle of the
breakpointed instruction. The latched Breakpoint signal forces the processor to start
the debug sequence.
8.6.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 be 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 has been serviced, the execution flow is returned to the original
program. This means that the previously breakpointed instruction 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 has entered halt mode debug state, it is important that additional
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.
8.6.3
Watchpoints
Entry into debug state following a watchpointed memory access is imprecise. This is
necessary because of the nature of the pipeline.
You can build external logic, such as external watchpoint comparators, to extend the
functionality of the EmbeddedICE-RT logic. The output of the external logic must be
applied to the DBGDEWPT input. This signal is ORed with the internally-generated
Watchpoint signal before being applied to the ARM9E-S core control logic. The
timing of the input makes it unlikely that data-dependent external watchpoints are
possible.
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 ...