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 #241 background imageLoading...
Page #241 background image
System Debug
ARM DDI 0337G Copyright © 2005-2008 ARM Limited. All rights reserved. 11-13
Unrestricted Access Non-Confidential
11.5 DWT
The DWT is an optional unit that performs the following debug functionality:
It contains four comparators that you can configure as a hardware watchpoint, an
ETM trigger, a PC sampler event trigger, or a data address sampler event trigger.
The first comparator, DWT_COMP0, can also compare against the clock cycle
counter, CYCCNT. The second comparator, DWT_COMP1, can also be used as
a data comparator. You can configure the DWT to contain only one comparator
that can be used as a watchpoint or as a trigger. If only one comparator is present
then data matching is not supported.
The DWT contains counters for:
clock cycles (CYCCNT)
folded instructions
Load Store Unit (LSU) operations
sleep cycles
CPI (all instruction cycles except for the first cycle)
interrupt overhead.
Note
An event is emitted each time a counter overflows.
You can configure the DWT to emit PC samples at defined intervals, and to emit
interrupt event information.
11.5.1 Summary and description of the DWT registers
Table 11-6 on page 11-14 lists the DWT registers.
Note
You can configure any of the DWT registers to be present or not present. Any register
that is configured as not present reads as zero.

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