I have an issue where I am connecting to a Cortex-M7 target that may be in a hard fault situation. I would like to 'restore' a binary image, set the PC to the start of the image and run the code, but because I am in Handler mode there are some issues. Is there a way to switch back to Thread mode using the ARM debugger?
Why not just "reset"? Any debugger should be able to do this.
I'll give that a shot, in the past I've had issues with this based on HW implementation, but you are right it could work.