Debug in Depth
ARM DDI 0210C
Copyright © 2001, 2004 ARM Limited. All rights reserved.
B-45
Figure B-8 Watchpoint control value and mask format
Bit [8] of the control value register is the
ENABLE
bit and cannot be masked.
The bits have the following functions:
nRW
Compares against the write signal from the core to detect the
direction of bus activity.
nRW
is 0 for a read cycle and 1 for a
write cycle.
MAS[1:0]
Compares against the
MAS[1:0]
signal from the core to detect the
size of bus activity.
The encoding is listed in Table B-6.
nOPC
Detects if the current cycle is an instruction fetch, with
nOPC
=0,
or a data access, with
nOPC
=1.
nTRANS
Compares against the not translate signal from the core to
distinguish between User Mode, with
nTRANS
=0, and non-user
mode, with
nTRANS
=1, accesses.
EXTERN[1:0]
Is an external input to EmbeddedICE-RT that enables the
watchpoint to be dependent upon some external condition. The
EXTERN
input for Watchpoint 0 is labeled
EXTERN0
. The
EXTERN
input for Watchpoint 1 is labeled
EXTERN1
.
CHAIN
Can be referred to the chain output of another watchpoint to
implement, for example, debugger requests of the form:
breakpoint on address YYY only when in process XXX
. In the
ARM7TDMI core EmbeddedICE-RT logic, the
CHAINOUT
ENABLE
CHAIN
RANGE
EXTERN
nOPC
nTRANS
MAS[1]
nRW
MAS[0]
8
6
7
5
3
4
2
0
1
Table B-6 MAS[1:0] signal encoding
Bit [1]
Bit [0]
Data size
0
0
Byte
0
1
Halfword
1
0
Word
1
1
Reserved
Содержание 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 ...