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?
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
There's lack of information for me to further check based on your description