ARM Technical Support Knowledge Articles

Unable to program the Data Watchpoint Unit / Data Watchpoint and Trace Unit (DWT)

Applies to: Cortex-M0, Cortex-M3, Cortex-M4


The DWT is accessible only when bit[24] of the Debug Exception and Monitor Control Register (DEMCR) is set.

In ARMv6-M, this bit is called DEMCR.DWTENA

In ARMv7-M, this bit is called DEMCR.TRCENA

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential