ARM Technical Support Knowledge Articles

CORTEX-M3: DETECTING DEBUG CONTROL

Applies to: uVision Debugger

Answer


Information in this article applies to:


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

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2012-09-11 06:39:46

Rate this article

[Bad]
|
|
[Good]
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