You copied the Doc URL to your clipboard.

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

Article ID: 103489859

Published date: 13 Feb 2018

Last updated: -

Applies to: Cortex-M

Question

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

Answer

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

Related information

Was this page helpful? Yes No