Hi, I am using an XMC-Link debugger with DAVE for developing on Infineon XMC microcontrollers. It happens very often, that I disconnect the power of my microcontroller board while a debug session is still running. As a consequence, the debugger is failing to read registers. But there are no timeout or abortion criteria, so it just keeps running, causing high CPU load, which is annoying because the fans will spin up after a while and if I want to start a new debug session later, I have to terminate the running one manually.
So, my question is: Is there a way to automatically terminate a debug session if power/connection loss occurs?
And, is it possible to automatically terminate a running debug session if I start a new one? I think with STM Cube IDE it works that way. Or is this something the IDE must handle?
So, my question is: Is there a way to automatically terminate a debug session if power/connection loss occurs?
And, is it possible to automatically terminate a running debug session if I start a new one? I think with STM Cube IDE it works that way. Or is this something the IDE must handle?