RAM/Flash Error injection IVOR4 issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RAM/Flash Error injection IVOR4 issue

376 Views
Othmane1
Contributor II

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)

Othmane1_0-1686258596697.png

Othmane1_1-1686258744495.png

 

0 Kudos
Reply
1 Reply

331 Views
petervlna
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply