Debug Support
5-38
Copyright © 1998, 1999 ARM Limited. All rights reserved.
ARM DDI0145B
5.13
EmbeddedICE macrocell
The EmbeddedICE macrocell is integral to the ARM9TDMI processor core. It has two
hardware breakpoint/watchpoint units each of which may be configured to monitor
either the instruction memory interface or the data memory interface. Each watchpoint
unit has a value and mask register, with an address, data and control field.
Because the ARM9TDMI processor core has a Harvard Architecture, the user must
specify whether the watchpoint registers examine the instruction or the data interface.
This is specified by bit 3:
•
when bit 3 is set, the data interface is examined
•
when bit 3 is clear, the instruction interface is examined.
There can be no
don’t
care
case for this bit because the comparators cannot compare the
values on both buses simultaneously. Therefore, bit 3 of the control mask register is
always clear and cannot be programmed HIGH. Bit 3 also determines whether the
internal
Breakpoint
or
Watchpoint
signal should be driven by the result of the
comparison. Figure 5-9 on page 5-40 gives an overview of the operation of the
EmbeddedICE macrocell.
The ARM9TDMI EmbeddedICE macrocell has logic that allows single stepping
through code. This reduces the work required by an external debugger, and removes the
need to flush the instruction cache. There is also hardware to allow efficient trapping of
accesses to the exception vectors. These blocks of logic free the two general-purpose
hardware breakpoint/watchpoint units for use by the programmer at all times.
The general arrangement of the EmbeddedICE macrocell is shown in Figure 5-9 on
page 5-40.
5.13.1
Register map
The EmbeddedICE macrocell register map is shown below:
Table 5-4 ARM9TDMI EmbeddedICE macrocell register map
Address
Width
Function
00000
4
Debug control
00001
5
Debug status
00010
8
Vector catch control
00100
6
Debug comms control
00101
32
Debug comms data
Содержание 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 ...