Debug Support
ARM DDI0145B
Copyright © 1998, 1999 ARM Limited. All rights reserved.
5-5
5.3
Debug interface signals
There are four primary external signals associated with the debug interface:
•
IEBKPT
,
DEWPT
, and
EDBGRQ
, with which the system asks the
ARM9TDMI to enter debug state
•
DBGACK
, which the ARM9TDMI uses to flag back to the system when it is in
debug state.
5.3.1
Entry into debug state on breakpoint
Any instruction being fetched for memory is latched at the end of phase 2. To apply a
breakpoint to that instruction, the breakpoint signal must be asserted by the end of the
following phase1. This minimizes the setup time, giving the EmbeddedICE macrocell
an entire phase in which to perform the comparison. This is shown in Figure 5-2 on
page 5-6.
External logic, such as additional breakpoint comparators, may be built to extend the
functionality of the EmbeddedICE macrocell. Their output should be applied to the
IEBKPT
input. This signal is simply ORed with the internally generated
Breakpoint
signal before being applied to the ARM9TDMI core control logic.
A breakpointed instruction is allowed to enter the execute stage of the pipeline, but any
state change as a result of the instruction is prevented. All writes from previous
instructions complete as normal.
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.
Summary of Contents for ARM9TDMI
Page 6: ...Contents vi Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 12: ...Preface xii Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 16: ...Introduction 1 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 22: ...Programmer s Model 2 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 110: ...Test Issues 6 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 154: ...Index Index 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...