Debug Interface
5-2
Copyright © 2001, 2004 ARM Limited. All rights reserved.
ARM DDI 0210C
5.1
About the debug interface
The ARM7TDMI processor debug interface is based on
IEEE Std. 1149.1 - 1990,
Standard Test Access Port and Boundary-Scan Architecture
. Refer to this standard for
an explanation of the terms used in this chapter and for a description of the
Test Access
Port
(TAP) controller states. A flow diagram of the TAP controller state transitions is
provided in Figure B-2 on page B-5.
The ARM7TDMI processor contains hardware extensions for advanced debugging
features. These make it easier to develop application software, operating systems and
the hardware itself.
The debug extensions enable you to force the core into one of the following modes:
Halt mode
On a breakpoint or watchpoint, the core enters debug state. In
debug state, the core is stopped and isolated from the rest of the
system. When debug has completed, the debug host restores the
core and system state, and program execution resumes.
Monitor mode
On a breakpoint or watchpoint, an Instruction Abort or Data Abort
is generated instead of entering debug state. The core still receives
and services interrupts as normal.
In either case, you can examine the internal state of the core and the external state of the
system while system activity continues.
5.1.1
Stages of debug
A request on one of the external debug interface signals, or on the
EmbeddedICE-RT
logic
, forces the ARM7TDMI processor into debug state. The events that activate debug
are:
•
a breakpoint (an instruction fetch)
•
a watchpoint (a data access)
•
an external debug request.
The internal state of the ARM7TDMI processor is then examined using a JTAG-style
serial interface. In halt mode, this enables instructions to be inserted serially into the
core pipeline without using the external data bus. So, for example, when in debug state,
a
Store Multiple
(
STM
) can be inserted into the instruction pipeline and this exports the
contents of the ARM7TDMI core registers. This data can be serially shifted out without
affecting the rest of the system.
In monitor mode, the JTAG interface is used to transfer data between the debugger and
a simple monitor program running on the ARM7TDMI core.
Содержание ARM7TDMI
Страница 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 276: ...Differences Between Rev 3a and Rev 4 C 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...