During under voltage and Network sleep conditions, we are writing the Data flash data(1Kb) , this makes the ECU Data flash corruption and reflash is required to work ECU normally.
I am using Controller MPC5604S and clock frequency 32 Mhz and
EEPROM Emulation Software Driver EEE_Driver_v1.3.0, for C55/C90FL/C90LC Flash Modules from NXP.
Is the corruption caused by write incomplete in under voltage ?
what is the timing requirement for this driver to write on low voltage?
Is it advisable to update NVM during shutdown with this EEE_driver?
Unexpected reset during flash erase or flash program operation can create ECC error into flash memory, on this MCU it would lead into IVOR2.
If you are using EEPROM emulation driver, it handles ECC errors itself, in dependence of phase when this interruption happens.
It is quite well described in following appnote, section 3.7 Recovering from an interrupted block swap:
http://www.nxp.com/assets/documents/data/en/application-notes/AN4868.pdf
Q: Is the corruption caused by write incomplete in under voltage?
A: Yes, it can be.
Q: what is the timing requirement for this driver to write on low voltage?
A: I am not sure if I completely understand what do you have on your mind. Please clarify.
A: Is it advisable to update NVM during shutdown with this EEE_driver?
Q: No. I don’t think so because you can lose data about to be programmed, but EEE driver will recover from that invalidating wrong data from flash. Basically it is application specific.