Reply
Posts: 22
Registered: ‎04-29-2016
Accepted Solution

EFM32ZG Flash Endurance

We are using EFM32ZG110F32 to design an energy-meter. The application requires the MCUs to store Cumulative Readings and send data out (RS485 CAT5E) when requested. We are thinking of storing the Cumulative Readings in MCU Flash, but the Minimum Flash Endurance of 20K is bothering us. We browsed through the forum and understand the 20K is minimum and typical value is 40K.

 

The MCUs are power on CAT5E cables and its extremely important that we store the cumulative values in Flash frequently, considering frequent power failures.

 

Readings are calculated at 2 sec frequency. Say, even if we store the cumulative value once every 1 hour in flash, i.e. 24*365 = 8760 writes in one year. So, the life of MCU at this rate is 20000/8760 = 2.28 years

 

Could someone please suggest a solution to overcome the Flash Endurance.

Posts: 1,467
Registered: ‎10-14-2014

Re: EFM32ZG Flash Endurance

@Ravi1

Flash memory can be used to emulate EEPROM by implementing a wear leveling algorithm. See AN0019 for more information. Not sure if this helps.

My views are my own and do not necessarily represent the views of Silicon Labs

Highlighted
Posts: 7,804
Registered: ‎08-13-2003

Re: EFM32ZG Flash Endurance

[ Edited ]

say that you use one 256 page of flash and your need to save is 4 bytes. With a walking write (the simplest form of 'wear leveling") you get 64 times the lifetime of the flash.  I have done this in several projects

erik
Posts: 22
Registered: ‎04-29-2016

Re: EFM32ZG Flash Endurance

thank you @delu for the application note. This will help us.

Posts: 22
Registered: ‎04-29-2016

Re: EFM32ZG Flash Endurance

Thank you @erikm for sharing your experience. We will try wear leveling.