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

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

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

Jump to solution
4,845 Views
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 Kudos
1 Solution
4,817 Views
fedotech
Contributor II

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

View solution in original post

4 Replies
70 Views
Nitrogen8212
Contributor I

HARDFAULT, thanks.

0 Kudos
4,826 Views
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 Kudos
4,818 Views
fedotech
Contributor II

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

4,119 Views
Martin_zhang
Contributor I

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

 

 

 

 

0 Kudos