Hi Kiran,
I prepared for you simple example code of interrupt catcher (catch unexpected interrupts) and add here also example of Machine Exception ISR with MCU reset.
This code was tested on my side by double bit ECC error generated by cumulative write into Flash.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------