S32K3 memacc works on pflash causes hardfault when MEM_43_INFLS_AC_LOAD_ON_JOB_START is on
the data in the ram is totally same with the code in pflash
Hi,
have you solved this issue?
I have the same behaviour, any suggestions?
Thanks a lot!
Hi @qimao-marvin,
Can you specify the RTD revision and the S32K3xx part number?
Or can you share the whole project?
Thank you,
BR, Daniel
Because the address i try to erase and prohran in at the bank of the functiob, the 0x400000 - 0x500000 is the one bank, but even i put the code in the ram ,it caused the hardfault too,however ,if i erase at the 0x500000,the function runs well
Hi @qimao-marvin,
Can you specify the S32K3xx part number and the sector you program?
Can you share the project?
Regarding the hardfault, can you find more information about the fault?
Follow these guidelines:
https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447
BR, Daniel