I am using S32K312 chip to integrate SCST, the compiler used is GHS 20220104, the compilation, link attributes, and MPU are all configured according to the manual, and the macro configuration in m7_scst_configuration.h is as follows:
S32K312 After integrating SCST, the SCST m7_scst_exception_usage_fault_test test fails the first run and passes all subsequent times
The debugging situation is as follows:
The first run m7_scst_execute_core_tests(0, 0); The result is wrong
2nd run m7_scst_execute_core_tests (0, 0); The result is correct
The first run m7_scst_execute_core_tests(0, 49); The result is wrong
2nd run m7_scst_execute_core_tests (0, 49); The result is correct
What are the possible reasons for this happening and how to fix it?
Thank you!
Solved! Go to Solution.
That's really the reason, thank you very much!