Keil Logo

µVISION DEBUGGER: CORTEX-M3: DETECTING DEBUG CONTROL


Information in this article applies to:

  • MDK-ARM All Versions
  • ULINK2/ULINKpro USB-JTAG Adapter

QUESTION

Is there any method to determine if my Cortex-M3 based application is executing under debugger control?

SOLUTION

Yes. This is possible by checking bits [0] in the Cortex core register Debug Halting Control and Status Register - C_DEBUGEN

MORE INFORMATION

Last Reviewed: Tuesday, September 11, 2012


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.