The reason I am interested is this... I am developing firmware to control some hardware
I'm also building at the same time. I have the code sprinkled with HALT instructions so
I can carefully single step over sections of code and make sure it's not doing something
destructive to the hardware being controlled.
I would like to arrange things so if the MCU starts up w/o the debugger, that I can make
it just spin in a loop or something, so it doesn't run ahead and do who knows what to
my hardware gadget.
Prompted by your post, I see there's a SRS_POR bit. If I detect that one, I could just spin in a loop.
Bill