Debug Interface
5-8
Copyright © 2001, 2004 ARM Limited. All rights reserved.
ARM DDI 0210C
•
Entry into debug state on debug request
on page 5-9.
Figure 5-3 Debug state entry
Entry into debug state on breakpoint
The ARM7TDMI core marks instructions as being breakpointed as they enter the
instruction pipeline, but the core does not enter debug state until the instruction reaches
the Execute stage.
Breakpointed instructions are not executed. Instead, the processor enters debug state.
Depending on whether you have set bit [4] in the debug control register, the core
instruction processing stops, or an abort exception is executed (
Abort
on page 2-19).
When you examine the internal state, you see the state before the breakpointed
instruction.
When your examination is complete, the breakpoint must be removed. This is usually
handled automatically by the debugger which also restarts program execution from the
previously-breakpointed instruction.
Note
When a breakpointed conditional instruction reaches the Execute stage of the pipeline,
the breakpoint is always taken, regardless of whether the condition is met.
Memory cycles
Internal cycles
MCLK
A[31:0]
D[31:0]
BREAKPT
DBGACK
nMREQ
SEQ
Summary of Contents for ARM7TDMI
Page 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...