Sometimes I want to restart my (compiled-for-flash) program in my target.
When I click the reset CPU button, it looks as if the CPU correctly resets, but the debugger loses connection with the target and the only thing I can do is to click the "debug" button again, which then tells me it needs to cancel the old debug session and proceeds to reflash my chip. As this takes a lot of time, I would like to be able to just "reset the CPU'.
When I push the button on the target board, the CPU resets, halts at 3ff5f5, and then the debugger mentions: no source code. Then hitting "go/run/resume" will immediately halt again, and the watched variables remain in the "as before the reset".
So: how do I reset/restart my target without reinitializing the debugger and reflashing my target?