Debug Support
ARM DDI0145B
Copyright © 1998, 1999 ARM Limited. All rights reserved.
5-43
Table 5-6 Watchpoint control register for instruction comparison bit functions
Bit
Function
ITBIT
Compares against the Thumb state signal from the core to determine between a
Thumb (
ITBIT
= 1) instruction fetch or an ARM (
ITBIT
= 0) fetch.
InTRANS
Compares against the not translate signal from the core in order to determine
between a user mode (
InTRANS
= 0) instruction fetch, and a privileged mode
(
InTRANS
= 1) fetch.
EXTERN
Is an external input into the EmbeddedICE macrocell that allows the watchpoint
to be dependent upon some external condition. The
EXTERN
input for
watchpoint 0 is labelled
EXTERN0
, and the
EXTERN
input for watchpoint 1
is labelled
EXTERN1
.
CHAIN
Can be connected to chain output of another watchpoint in order to implement,
for example, debugger requests of the form “breakpoint on address YYY only
when in process XXX”.
In the ARM9TDMI EmbeddedICE macrocell, the
CHAINOUT
output of
watchpoint 1 is connected to the
CHAIN
input of watchpoint 0. The
CHAINOUT
output is derived from a latch. The address/control field
comparator drives the write enable for the latch, and the input to the latch is the
value of the data field comparator. The
CHAINOUT
latch is cleared when the
control value register is written, or when
nTRST
is LOW.
RANGE
Can be connected to the range output of another watchpoint register. In the
ARM9TDMI EmbeddedICE macrocell, the
RANGEOUT
output of watchpoint
1 is connected to the
RANGE
input of watchpoint 0. This allows two
watchpoints to be coupled for detecting conditions that occur simultaneously, for
example, for range-checking.
ENABLE
If a watchpoint match occurs, the internal
Breakpoint
signal will only be
asserted when the ENABLE bit is set. This bit only exists in the value register, it
cannot be masked.
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 ...