hard fault when runnung Bist_Run API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hard fault when runnung Bist_Run API

764 Views
Sheon
Contributor I

Hi, I am using S32K344 to evaluate S32K BIST feature. When calling the Bist_Run(BIST_SAFETYBOOT_CFG), it encounter the hard fault ,as shown in the picture.

It happened in Bist_SelfTestTrigger() 

SAFETYBASE_REG_WRITE32(BIST_MC_RGM_ERCTRL_REG, BIST_MC_RGM_EASSERT_MASK);

 

Could anyone please help me to resolve this issue?

Tags (4)
0 Kudos
Reply
1 Reply

738 Views
cuongnguyenphu
NXP Employee
NXP Employee

The RM said that RUNSW register only writeable if CFG[WRP] is 0, so I think you need check in previous step to see which value of this bit is, and why it value is 1

cuongnguyenphu_0-1682422206242.png

There's lack of information for me to further check based on your description

 

0 Kudos
Reply