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.
Fault occurs in the "get_memory_value" function as shown below.
The function get_memory_value is called here:
The function is defined as:
ram_pointer is defined as:
As stated already, it is working for S32K142 and S32K146, but not for S32K144.
Please help in identifying the problem.
Thanks in advance.
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.
Please double check the MTA_Address.
Regards,
Daniel