We are developping a Bootloader for the NXP S32K118. Is there any condition we need to check before reprogramming the Flash memory? For example:
Hi Melissa,
Flash operations are supported across whole functional temperature and voltage range.
In case of S32K14x, CSEc and EEPROM writes/erase cannot be executed in high speed run mode (HSRUN). But that’s not an issue in case of S32K118 because it does not support HSRUN.
So, the only thing I can see is to check if some operation is already running:
If you use SDK/RTD, it’s checked by drivers. But short time ago I reported possible issue because CSEc SDK drivers do not check if flash operation is running. This is not fixed yet. Current workaround is to check this by yourself.
Regards,
Lukas