AnsweredAssumed Answered

Detect Debugger Connected To STM32L0 ?

Question asked by Andrew Neil on Dec 13, 2017
Latest reply on Dec 13, 2017 by Thomas Roell

In Cortex-M3, M4, etc, we can just check the DEBUGEN bit in DHCSR (the Debug Halting Control and Status Register)

 

ARM Information Center

 

But in Cortex-M0, that register is not accessible to the user code.

 

 

 

So - is there any other way on an STM32L0 to detect when the debugger is connected?

Outcomes