Hello,
I am working with the S32K144 EVB and initializing the Flash module at the beginning of my code. However, when the code reaches the function that clears the cache for flash and data flash, it gets stuck. The code doesn’t proceed further unless I manually suspend and resume it from that point.
Can anyone help me resolve this issue?
Hello @Jeevansagar,
The below line should be executed from RAM to avoid these undesired results.
MSCM->OCMDR[0u] |= MSCM_OCMDR_OCM1(0x3u);
Regards,
Daniel