Debug Support
ARM DDI0145B
Copyright © 1998, 1999 ARM Limited. All rights reserved.
5-31
After the system speed instructions have been scanned into the instruction data bus and
clocked into the pipeline, the RESTART instruction must be loaded into the TAP
controller. This will cause the ARM9TDMI automatically to resynchronize back to
GCLK
when the TAP controller enters RUN-TEST/IDLE state, and execute the
instruction at system speed. Debug state will be reentered once the instruction
completes execution, when the processor will switch itself back to the internally
generated
DCLK
. When the instruction has completed,
DBGACK
will be HIGH. At
this point INTEST can be selected in the TAP controller, and debugging can resume.
To determine whether a system speed instruction has completed, the debugger must
look at SYSCOMP (bit 3 of the Debug status register). To access memory, the
ARM9TDMI must access memory through the data data bus interface, as this access
may be stalled indefinitely by
nWAIT
. Therefore, the only way to determine whether
the memory access has completed is to examine the SYSCOMP bit. When this bit is
HIGH the instruction has completed.
By the use of system speed load multiples and debug store multiples, the state of the
system memory can be passed to the debug host.
5.10.3
Instructions which may have the SYSSPEED bit set
The only valid instructions on which to set this bit are:
•
loads
•
stores
•
load multiple
•
store multiple.
When the ARM9TDMI returns to debug state after a system speed access, the
SYSSPEED bit is set HIGH.
Содержание ARM9TDMI
Страница 1: ...Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ARM9TDMI Technical Reference Manual ...
Страница 6: ...Contents vi Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 12: ...Preface xii Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 16: ...Introduction 1 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 22: ...Programmer s Model 2 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 36: ...ARM9TDMI Processor Core Memory Interface 3 14 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 54: ...ARM9TDMI Coprocessor Interface 4 18 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 110: ...Test Issues 6 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 138: ...ARM9TDMI AC Characteristics 8 20 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 150: ...ARM9TDMI Signal Descriptions A 12 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 154: ...Index Index 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...