NAND flash-based storage design with no overflow
Jing Zhang · Journal of Chang'an University · 2012
According to the data storage system occurs as a result of data is too large and overflow phenomenon in the unattended working environment,based on the K9K8G08U0A flash as an example,reading,the writing,erasing were designed.The concept of non-discrete data and discrete data were introduced to identify the need to store data,the rollback mechanism was used to store data,the storage space was divided into the bad block record area,non-discrete storage area and discrete data storage area.It is ensured that every write data in discrete resume and non-discrete resume area existed with the design data write mode.The results show that when the discrete storage area upon reaching the maximum value,it will be stored into discrete storage area become to the start position,the discrete storage area into a closed ring of end to end,so as to realize the data storage do not overflow.According to the data from an earlier time data storage back part or all of the cover,which cause the incompleteness of data,the data of reverse analysis method was used,through the comparison of the neighboring data storage space is the intersection of decomposition of the correct data.The data rollback storage mechanism was used to make the memory space into a forever dissatisfied space,the data storage does not overflow is ensured and the latest data is preserved.