BusFault: A precise (synchronous) data access error has occurred

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

BusFault: A precise (synchronous) data access error has occurred

跳至解决方案
5,970 次查看
fedotech
Contributor II

Hi, 

I'm trying to integrate ccp protocol, the hardward platform is S32K144EVB.  when I copy a string variable, I encountered the following problems:

the console says:

Interrupt command received. Halting execution.
BusFault: A precise (synchronous) data access error has occurred.
Possible BusFault location: 0x09430040.
HardFault: A fault has been escalated to a hard fault.

微信截图_20210824114227.png

Could somebody help me? Thanks! 

0 项奖励
回复
1 解答
5,942 次查看
fedotech
Contributor II

Hi, I fixed the issue. It's because CANape send a Motorola address. Thanks!

在原帖中查看解决方案

4 回复数
1,195 次查看
Nitrogen8212
Contributor I

HARDFAULT, thanks.

0 项奖励
回复
5,951 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

For some reasons, it accesses an unimplemented memory:

danielmartynek_0-1629793098911.png

Do you have the exact instruction that causes the bus fault?

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

If so, please double check the pointers in the code.

 

Regards,

Daniel

 

0 项奖励
回复
5,943 次查看
fedotech
Contributor II

Hi, I fixed the issue. It's because CANape send a Motorola address. Thanks!

5,244 次查看
Martin_zhang
Contributor I

Hello ,i have same question,how did you solve this problem?

 

 

 

 

0 项奖励
回复