A Research and Implement of Data Storage and Management Method Based on the Embedded MCU Data Flash

Jian Hui, Zhi Xue Wang, Gang Wang, Yuan Yang Liu, Yan Qiang Li · Advanced materials research · 2013

This paper designed method for non-volatile data storage using MCU internal data Flash, certain data Flash sector is divided into multiple data partitions, different data partition storage data copies in different historical time, the current data partition storagethe latest copy of the data; In the data read operation, first calculate the latest data copying Flash storage location, then directly reads the address. In the data write operation, first judge if the data writing position is already erased, if not,write data in next partition, while copy the other data in the current partition to the next partition; if the write position has been erased, write data directly to the current partition. This method is similar to EEPROM data read and write, easy to operate, and give a simple application interface, and can avoid the sector erase operation, to improve storage efficiency, while increasing the service life of the MCU's internal data Flash.

Read the paper · More papers on PaperTik