Resolved! Detect Debugger Connected To STM32L0 ?
Posted on December 13, 2017 at 17:32 In Cortex-M3, M4, etc, we can just check the DEBUGEN bit in DHCSR (the Debug Halting Control and Status Register) http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/CEGCJAHJ.htmlBut in Cortex-M...