System Debug
Field
Name
[31:8]
-
[7:0]
FOLDCNT
Field
Name
Definition
[31:0]
COMP
Data value to compare against. If PCMATCH is set, the PC is compared with this value, otherwise the
data address is compared.
DWT_COMP0 can also compare against the value of the PC Sampler Counter (DWT_CYCCNT).
11-22
Table 11-13 describes the fields of the DWT Fold Count Register.
Definition
Reserved.
This counts the total number folded instructions. This counter initializes to 0 when enabled.
DWT Comparator Register
Use the DWT Comparator Registers 0-3 to write the values that trigger watchpoint
events.
The register address, access type, and Reset state are:
Address
0xE0001020
Access
Read/write
Reset state
-
Table 11-14 describes the field of DWT Comparator Registers 0-3.
DWT Mask Registers 0-3
Use the DWT Mask Registers 0-3 to apply a mask to data addresses when matching
against COMP.
The register address, access type, and Reset state are:
Address
0xE0001024
Access
Read/write
Reset state
-
Figure 11-11 on page 11-23 shows the fields of DWT Mask Registers 0-3.
Copyright © 2005, 2006 ARM Limited. All rights reserved.
Table 11-13 DWT Fold Count Register bit assignments
,
0xE0001030
,
0xE0001040
Table 11-14 DWT Comparator Registers 0-3 bit assignments
,
,
0xE0001034
0xE0001044
,
0xE0001050
,
0xE0001054
ARM DDI 0337B