Hi, I'm using the example code provided by nxp for the RAM/FLASH 1b-2b error injection for MPC5777C in S32 design studio, and when i try the 1-bit error injection the code goes to the ISR as intended but when comes back it goes to the end of the function instead of where it left off, and when i debugged the code it seems that it is doing something in the epilog of the IVOR4_exception handler (see picture below) because directly after finishing the epilogue of the IVOR4 it skips the rest of the code in the function and it goes directly to the end (see other picture)
Hello,
Could you share the code you referring to with me? I will test it here, as it is very unlikely that epilogue is skipped.
Your code wont restore previous core registers values in such case.
Do you see the same if you place breakpoint directly on first instruction i epilogue? Is it just skipped?
Best regards,
Peter