Debug Test Access Port
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
14-19
ID012310
Non-Confidential, Unrestricted Access
Scan out 40 bits. If Ready/nRW is 0, then repeat this step. If Ready/nRW is 1, the first read
request has completed successfully and the next scanned-out 32 bits are the requested
value. The second read request was placed at the Update-DR state.
3.
Scan in the address 0, the rest of the fields are not important.
Scan out 40 bits. If Ready/nRW is 0, then repeat this step. If Ready/nRW is 1, the second
read request has completed successfully and the next scanned-out 32 bits are the requested
value. The scanned-in null request has avoided the generation of another request.
The register map is similar to the one of CP14 debug, and Table 14-2 lists it.
The following points apply to the use of scan chain 7:
•
Every time there is a request to read the PC, a sample of its value is copied into scan chain
7. Writes are ignored. The sampled value can be used for profiling of the code. See
Interpreting the PC samples
on page 14-20 for details of how to interpret the sampled
value.
•
The external program counter sample register always reads
0xFFFFFFFF
in Debug state or
when the core is in a mode when Non-invasive debug is not permitted.
•
When accessing registers using scan chain 7, the processor can be either in Debug state or
in normal state. This implies that breakpoints, watchpoints, and vector traps can be
programmed through the Debug Test Access Port even if the processor is running.
Table 14-2 Scan chain 7 register map
Address[6:0]
Register number
Abbreviation
Register name
b0000000
0
NULL
No request register
b0000001-b0000110
1-6
-
Reserved
b0000111
7
VCR
Vector catch register
b0001000
8
PC
Program counter
b0010011-b0111111
19-63
-
Reserved
b1000000-b1000101
64-69
BVRy
a
a. y is the decimal representation for the binary number Address[3:0]
Breakpoint value registers
b1000110-b1001111
70-79
-
Reserved
b1010000-b1010101
80-85
BCRy
a
Breakpoint control registers
b1010110-b1011111
86-95
-
Reserved
b1100000-b1100001
96-97
WVRy
a
Watchpoint value registers
b1100010-1b101111
98-111
-
Reserved
b1110000-b1110001
112-113
WCRy
a
Watchpoint control registers
b1110010-b1111111
114-127
-
Reserved