Cortex-M Hardfault Interrupt Handler
Is it possible to exit the hardfault interrupt handler and return back to the main program?
I know it is possible to reset the processor from the hardfault handler but I would prefer this not too happen.
If this is not possible, is it possible to make the processor just ignore invalid memory writes? This is just a test program hence the strange requirements.
Posted Oct 1, 2019, 7:24 PM UTC
I know on the M0 they are fatal and can't be returned from. The processor enters some form of lockup mode
As far as I'm aware this is the same on the M3 and M4.
What you're after is probably more likely to exist in the A series