EasyManua.ls Logo

ARM Cortex-M3 - Table 11-14 DWT Program Counter Sample Register Bit Assignments; Table 11-15 DWT Comparator Registers 0-3 Bit Assignments

ARM Cortex-M3
410 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System Debug
11-24 Copyright © 2005-2008 ARM Limited. All rights reserved. ARM DDI 0337G
Non-Confidential
Unrestricted Access
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
0xFFFFFFFF
.
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.
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
,
0xE0001030
,
0xE0001040
,
0xE0001050
Access Read/write
Reset state -
Table 11-15 describes the field of DWT Comparator Registers 0-3.
Table 11-14 DWT Program Counter Sample Register bit assignments
Bits Field Function
[31:0] EIASAMPLE Execution instruction address sample, or
0xFFFFFFFF
if the core is halted.
Table 11-15 DWT Comparator Registers 0-3 bit assignments
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).

Table of Contents

Related product manuals