EasyManuals Logo

ARM Cortex-M3 User Manual

ARM Cortex-M3
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #252 background imageLoading...
Page #252 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM Cortex-M3 and is the answer not in the manual?

ARM Cortex-M3 Specifications

General IconGeneral
ArchitectureARMv7-M
Instruction SetThumb-2
Pipeline Stages3-stage
InterruptsNested Vectored Interrupt Controller (NVIC)
Interrupt ControllerNested Vectored Interrupt Controller (NVIC)
Memory Protection UnitOptional
Power ConsumptionVaries by implementation
Max Clock SpeedUp to 100 MHz
DebuggingJTAG and Serial Wire Debug (SWD)
Operating Voltage1.8V to 3.6V
Manufacturing ProcessVaries by implementation
Core Type32-bit

Related product manuals