Question
STM32H7 - How to tell if debugger is attached?
So I was handed code that breaks when debugging, but to fix the breakage breaks a power control on the board. Rev A only has this problem but Rev A is what I'm stuck with . Nice, right?
So I need a way to tell at run time whether the debugger is attached.
Does anyone have any idea how to accomplish this without changing the hardware?
