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

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

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

ソリューションへジャンプ
5,395件の閲覧回数
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,367件の閲覧回数
fedotech
Contributor II

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

元の投稿で解決策を見る

4 返答(返信)
620件の閲覧回数
Nitrogen8212
Contributor I

HARDFAULT, thanks.

0 件の賞賛
返信
5,376件の閲覧回数
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,368件の閲覧回数
fedotech
Contributor II

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

4,669件の閲覧回数
Martin_zhang
Contributor I

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

 

 

 

 

0 件の賞賛
返信