Hello,
I have created a project for the S32K324 microcontroller and started development.
Debugging in RAM gives me no problems and I can work normally.
However, when I try to debug in FLASH I get a hard fault.
In particular, the console log shows the following message:
"MemManage: The processor attempted an instruction fetch from a location that does not permit execution.
HardFault: A fault has been escalated to a hard fault."
Instead, in the call graph, the calls are as follows:
Simone9_0-1702390655853.png
So it seems to get stuck at cache initialisation.
Among the design variables is the define D_CACHE_ENABLE so it should enable it.
How can I solve this problem?
IDE version 3.5 update 6
RTD v3.0.0
Thanks for the support