2020-01-02 12:32 AM
I am debugging my software on STM32L452CCU6 and it is mostly in sleep mode. By default, this disables clocks to the debug port, and the debugger (using STMCube) prints out the message "Target is not responding, retrying...". After a couple of times, I lose the debugger.
Setting the correct bits in DBGMCU keeps the clocks running in sleep mode so that debugging can continue. I am able to do this in my code, but I do not want to accidentally leave it in my compiled code as this could increase power consumption.
How do I set DBGMCU using the debugger so that it is always set when I start to debug, but it is never part of my code?
Solved! Go to Solution.
2020-01-08 01:17 PM
No, you have to wait for a cryptographic authentication from the Nogoogler association.