Hello, NXP team !
This is sungho.
I have an issue regarding using "core test solution(SCST)" for S32K144.
m4_scst_exception_hard_fault1 <= This test item not working fine so far.
On entry "m4_scst_ISR_dispatcher" , HFSR[FORCED] is set by illegal instruction. (plz see attached image)
But soon as I proceed by one step(Trace32), It becomes clear....so test ends up with failure.(refer to an image below)
Would you mind giving me a hint for resolving this issue?
Thanks
Sungho
PS. I also tested it with demo app example(scst), but got failure with the same reason.
Solved! Go to Solution.
Hello,
this is expected behavior because the FORCED flag is tied down by the debugger. Unfortunately, this feature complicates debugging of M4 SCST Library. The only possibility for debugging is to set the breakpoint just after the HFSR register is read.
Thanks, martingkaspar-r3
I checked it working fine without Debugging attached.
Many thanks,
sunghou
Hello,
this is expected behavior because the FORCED flag is tied down by the debugger. Unfortunately, this feature complicates debugging of M4 SCST Library. The only possibility for debugging is to set the breakpoint just after the HFSR register is read.