precise (synchronous) data access error in S32K144 but not in S32K142 or S32K146

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

precise (synchronous) data access error in S32K144 but not in S32K142 or S32K146

1,119件の閲覧回数
k_g
Contributor II

Hi,

I am getting a bus fault- precise (synchronous) data access error- while trying to connect to vector CANApe by CCP. The code works well for S32K142 and S32K146, but it is giving this fault for S32K144.

k_g_0-1644572688650.png

Fault occurs in the "get_memory_value" function as shown below.

k_g_1-1644572865099.png

 

The function get_memory_value is called here:

k_g_0-1644573371264.png

The function is defined as:

s3.PNG

ram_pointer is defined as:

s4.PNG

As stated already, it is working for S32K142 and S32K146, but not for S32K144.

Please help in identifying the problem.

Thanks in advance.

 

 

 

0 件の賞賛
返信
1 返信

1,109件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @k_g,

It can be debugged as explained in this document/example:

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

So you can get the exact instruction that has caused the fault.

But if BFAR register = 0x1FFF0434, the function accesses an unimplemented memory on S32K144 and S32K142, the memory address is valid only on S32K146.

danielmartynek_0-1644593305949.png

Please double check the MTA_Address.

 

Regards,

Daniel

0 件の賞賛
返信