Power loss while SaveConfigToStorage() ?

Discussion to talk about hardware related topics only.
Post Reply
Anguel
Posts: 30
Joined: Fri Aug 23, 2019 12:39 am

Power loss while SaveConfigToStorage() ?

Post 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
User avatar
TomNB
Posts: 569
Joined: Tue May 10, 2016 8:22 am

Re: Power loss while SaveConfigToStorage() ?

Post 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.
Post Reply