AnsweredAssumed Answered

STM32f407 - Have any register status which identify debug mode? - SOLVED

Question asked by germanovix.gabriel on Oct 3, 2014
Latest reply on Oct 3, 2014 by germanovix.gabriel
Hello,

I'm trying to identify when program is on debug mode or not.

As semihosting (interrupts) breaks the program when it calls printf(). I hope to read a flag to identify that i'm not on debug mode and with this I don't call the printf()..

Any one have some idea?

Thanks..

Outcomes