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

Article Preview

Abstract:

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.

You might also be interested in these eBooks

Info:

Periodical:

Advanced Materials Research (Volumes 756-759)

Pages:

1984-1988

Citation:

Online since:

September 2013

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] LIU Hui-zhong, JING Rui-xia: Application study of wear-leveling algorithm on flash management[J]. Journal of the Hebei Academy of Sciences. volume 26(2009), pp.4-6.

Google Scholar

[2] Shandong Academy of Sciences Institute of Automation: A method of using MCU internal flash store non-volatile data(China, 201210074452. 5[P]. 2012-9-12).

Google Scholar

[3] YI Jun, CAO Long-han, ZHOU xi: Design and Realize of FMM in the embedded system[J]. Microcomputer Information. volume 24(2008), pp.86-88.

Google Scholar

[4] YE Shu-mei, JI Ai-ming, YU Yi-biao: Flash Storage Management Strategy Based in Embedded System[J]. Science Technology and Engineering. volume 11(2011), pp.4076-4078.

Google Scholar

[5] LIANG Hai-lang, CAI Li-long: The Application and C Programming to the Internal EEPROM of dsPIC30F6014[J]. Electronic Engineering & Product World. (2005), pp.96-98.

Google Scholar

[6] DU Wei-qing, SU Kai-xiong: Block-based Management and Implementation of NOR Flash in Embedded System[J]. Computer & Digital Engineering. volume 37(2009), pp.80-82.

Google Scholar

[7] WANG Biao, ZHOU Xin-Zhi, LUO Zhi-ping: The study of Nand Flash write equilibrium in embedded system[J]. Microcomputer Information. volume 24(2008), pp.8-10.

Google Scholar

[8] LU Lin-yan, WANG Lu-jing, ZHENG Zheng-qi: Study and Analysis on Realization Coding of NAND FLASH[J]. Computer Technology and Development. volume 18(2008), pp.118-120.

Google Scholar