Method of solving error in data retention in Nand flash memory and system therefor
A technology of data retention and flash memory, applied in the field of storage, can solve problems such as correction, achieve low cost, ensure integrity and correctness, and be easy to implement
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Please refer to figure 2 , Embodiment 1 of the present invention is:
[0047] A kind of method that solves the Nand flash memory data keeps taking place error, can guarantee the integrity and the correctness of the data in the Nand flash memory, including:
[0048] S1. When the Nand flash memory is in a power-on or standby state, sequentially read one piece of the Nand flash memory at preset time intervals. The preset time may be 5s, that is, a block in the Nand flash memory is read every 5s. Of course, the value of the preset time may also be set as required. When reading, read according to the mapping relationship in the mapping table.
[0049] S2. According to the read operation, it is judged whether the bits in the block that need to be corrected by the error correction code are greater than the preset value; if yes, proceed to step S3, and if not, continue to read the next block. In this embodiment, the size of the preset value can be set as required.
[0050]...
Embodiment 2
[0055] Please refer to Figure 4 , Embodiment 2 of the present invention is: a kind of system that solves the data retention that Nand flash memory takes place error, comprises:
[0056] The reading module 1 is used to sequentially read a piece of the Nand flash memory at preset time intervals when the Nand flash memory is in a power-on or standby state;
[0057] Judging module 2, used to judge whether the bit that needs to be corrected by the error correction code in the block is greater than a preset value according to the read operation;
[0058] Store module 3, be used for if, then store the data of described one in a free block of Nand flash memory.
[0059] Further, it also includes:
[0060] Erasing module 4, is used for erasing the data in described one;
[0061] The writing module 5 is used for writing data in the block after the data is erased.
[0062] Further, the reading module 1 is specifically configured to sequentially read a block in the Nand flash memory ac...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


