S32K 148 Bus error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K 148 Bus error

913 次查看
TerryDuPower
Contributor III

I debug flash driver, and get a exception. After that the Trace 32 shows bus error, and can't reprogramm.

How to recover it?

 

TerryDuPower_0-1691745262767.png

 

0 项奖励
回复
1 回复

881 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @TerryDuPower,

Does this happen during the Startup, during the run time of the application or during a flash operation?

I would recommend implementing the HardFault_Handler() in the project, and debug it as it is shown here:

https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

What kind of bus fault is it?

If a precise fault, what is the content of the BFAR register?

 

Thanks,

BR, Daniel

 

0 项奖励
回复