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

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

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

787 Views
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 Kudos
1 Reply

777 Views
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 Kudos