Hello, @danielmartynek
In the sample software, I saw the following operations performed in the HardFault_Handler process:
1. Clear the fault flag and bus fault address register
2. Clear the ECC error flag of the MCRS register
3. Move the stack pointer backward to skip the instruction address where the ECC error occurred
1 and 2 above are to clear the error flag, and 3 is to prevent the error interrupt from being triggered again after the interrupt processing is completed. Is my understanding correct?
BestRegards,
Simon