Page 1 of 1

Power loss while SaveConfigToStorage() ?

Posted: Tue Aug 27, 2019 3:44 am
by Anguel
Hi,

I wonder if SaveConfigToStorage() is somehow protected against power loss during flash writes on the MODM7AE70 module.
Or is it possible that flash variable corruption can occur in case of power loss?

Thank you in advance,

Anguel

Re: Power loss while SaveConfigToStorage() ?

Posted: Thu Aug 29, 2019 2:43 pm
by TomNB
Hello, the configuration does keep backup copies until the flash memory sector is full, at which time it will need to do a full sector erase. So if a power failure happened during that time data could be lost. As a side note, the EFFS-STD file system is power fail safe. But that is not something the configuration system can use due to size constraints.