您好,我正在配置S32R41的射频模块,我首先在M7_0核进行调试,代码正常运行,而后在Extend SDK中新建了文件,并修改了CMakeLists文件进行代码移植,在A53中运行,此时代码在一个位置固定报错,报错如图,请问:
1.在外部SKD中添加自定义代码文件时,有何注意事项吗?
2.是何原因导致图中错误?有何解决方法?
#S32R41
Hello,
Here is the google translate of your question:
Hello, I am configuring the radio frequency module of S32R41. I first debugged it on the M7_0 core and the code ran normally. Then I created a new file in the Extend SDK and modified the CMakeLists file for code transplantation. It ran in A53. At this time, the code is in A fixed error is reported at one location. The error is reported as shown in the figure. Please ask:
1. Are there any precautions when adding custom code files to external SKD?
2. What causes the error in the picture? What's the solution?
#S32R41
I am not entirely sure if I understand you correctly.
But code which were running on M7 you have modified and executed on A53.
From available description I am not able to say what caused the error.
You will need to analyze the code and look at core registers. Exceptions, etc...
Most probably some access to memory caused this.
In order to understand the error reporting on ARM, please have a look at this thread:
https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447
Best regards,
Peter
Have solved it,Thanks