[S32K144][SCST] Hard Fault Test failure while checking a HFSR[FORCED] bit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[S32K144][SCST] Hard Fault Test failure while checking a HFSR[FORCED] bit

ソリューションへジャンプ
2,981件の閲覧回数
sunghou-kim
Contributor III

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)

sunghoukim_0-1626931846951.png

 

But soon as I proceed by one step(Trace32), It becomes clear....so test ends up with failure.(refer to an image below)

sunghoukim_1-1626931917887.png

sunghoukim_2-1626931991762.png

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.

0 件の賞賛
返信
1 解決策
2,964件の閲覧回数
martinkaspar-r3
NXP Employee
NXP Employee

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.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,946件の閲覧回数
sunghou-kim
Contributor III

Thanks, martingkaspar-r3

I checked it working fine without Debugging attached.

Many thanks,

sunghou

0 件の賞賛
返信
2,965件の閲覧回数
martinkaspar-r3
NXP Employee
NXP Employee

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.

0 件の賞賛
返信