RAM/Flash Error injection IVOR4 issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RAM/Flash Error injection IVOR4 issue

653 次查看
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 项奖励
回复
1 回复

608 次查看
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 项奖励
回复