Table 11-14 Dwt Program Counter Sample Register Bit Assignments; Table 11-15 Dwt Comparator Registers 0-3 Bit Assignments - ARM Cortex-M3 Technical Reference Manual

R2p0
Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

System Debug
Bits
[31:0]
Field
Name
Definition
[31:0]
COMP
Data value to compare against PC and the data address as given by DWT_FUNCTIONx.
DWT_COMP0 can also compare against the value of the PC Sampler Counter (DWT_CYCCNT).
DWT_COMP1 can also compare against data values so that data matching can be performed
(DATAVMATCH).
11-24
DWT Program Counter Sample Register
Use the DWT Program Counter Sample Register (PCSR) to enable coarse-grained
software profiling using a debug agent, without changing the currently executing code.
If the core is not in debug state, the value returned is the instruction address of a recently
executed instruction.
If the core is in debug state, the value returned is
The register address, access type, and Reset state are:
Address
0xE000101C
Access
Read-only
Reset state
Unpredictable
DWT Program Counter Sample Register bit assignments describes the field of the DWT
PCSR.

Table 11-14 DWT Program Counter Sample Register bit assignments

Field
Function
EIASAMPLE
Execution instruction address sample, or
DWT Comparator Registers
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-15 describes the field of DWT Comparator Registers 0-3.
Copyright © 2005-2008 ARM Limited. All rights reserved.
,
,
0xE0001030
0xE0001040

Table 11-15 DWT Comparator Registers 0-3 bit assignments

Non-Confidential
.
0xFFFFFFFF
if the core is halted.
0xFFFFFFFF
,
0xE0001050
ARM DDI 0337G
Unrestricted Access

Advertisement

Table of Contents
loading

Table of Contents