Hello,
I want to know if there is an instruction to leave the trap function when eg. MPU violation happens?
Thank you very much!
Best Regards
Zhihua
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I want to know if there is an instruction to leave the trap function when eg. MPU violation happens?
Thank you very much!
Best Regards
Zhihua
Hello Zhihua,
To understand your question more, which SDK is this on (e.g. PROCESSOR-SDK-RTOS-J721E version 08.01.00.13,PROCESSOR-SDK-LINUX-J721E version 08.01.00.07, etc) ?
Also, by MPU violation, is this on the R5 or the A72 core?
Regards,
Takuma
Hi Takuma,
We are now using PROCESSOR-SDK-RTOS-J721E version 08.00.00.12(and last number 04, 08). It's on the R5 core.
Thank you!
Best Regards,
Zhihua
Hi Zhihua,
Can you please provide a little more details on what is the use case here. What are you planning to do once you exit the trap function? Will the application try to recover from the error state or is it gonna exit?
Regards,
Parth
Hi Parth
The use case is that I don't want the SW stuck in the trap function when MPU violation occurs because the violation is blocked by the MPU protection and it doesn't affect anything actually. Just got informed is enough. Maybe after several times of MPU violation, I will perform other recation but not only once.
Thank you!
Best Regards
Zhihua
Hi Zhihua,
Apologies for long delay in response.
Is this issue still open. If yes, can you please comment on the current state of the issue.
Regards,
Parth
Hi, Parth
Yes, it's still open. I sitll not clear which instruction can return from Trap. Could you please help?
Thank you!
Best Regards,
Zhihua
Hi Zhihua,
Apologies for long delay in response.
Can you please share a sample code which we can try on our end that leads to MPU violation and get stuck in a trap function?
Regards,
Parth
Hi Parth
I get an answer from a relative question. It's Ok for this now.
Thanks!
Zhihua