Detect developed bad blocks in non-volatile memory devices
AssigneeSK hynix Inc.
InventorsHaibo Li, Sangsik Kim, Juhyeon Han
Life of this patent
Estimating the term…
Abstract
Systems and methods are provided to detect a developed bad word-line of a flash memory. Embodiments provide an improved Background media scan (BGMS) process that can predict at the end of a block read if a word-line will potentially become bad with the use of the flash memory. Accordingly, data from the potentially bad block can be recovered and the block can be retired. The embodiments can minimize the need for the expensive chip-kill method.
Claims20
A flash memory device comprising:
- a flash memory comprising:
- a flash memory block comprising a plurality of pages, each page comprising a plurality of M-level cells, each M-level cell storing M bits of data;
- and
- a circuit comprising processing logic coupled to the flash memory and configured to:
- read the plurality of pages in the flash memory block, wherein each page is associated with a respective error rate;
- determine an average error rate of the flash memory block;
- determine a maximum error rate of a page in the flash memory block;
- and
- predict that the flash memory block is going to develop into a bad block if a ratio of the maximum error rate to the average error rate exceeds a first threshold, and if the maximum error rate exceeds a second threshold.
A method comprising:
- reading, by a flash memory controller, a plurality of pages in a flash memory block of a flash memory, wherein the flash memory is coupled to the flash memory controller, and wherein each page of the plurality of pages comprises a plurality of M-level cells, each M-level cell storing M bits of data;
- determining an average error rate of the flash memory block;
- determining a maximum error rate of a page in the flash memory block;
- determining that a ratio of the maximum error rate to the average error rate exceeds a first threshold;
- and
- predicting that the flash memory block is going to be a bad block based on the ratio, and if the maximum error rate exceeds a second threshold.
A non-transitory computer readable medium having stored thereon instructions that, when executed by a processor, perform a method, comprising:
- reading a plurality of pages from a flash memory block of a flash memory, and wherein each page of the plurality of pages comprises a plurality of M-level cells, each M-level cell storing M bits of data;
- determining an average error rate of the flash memory block;
- determining a maximum error rate of a page in the flash memory block;
- determining that a ratio of the maximum error rate to the average error rate exceeds a first threshold;
- and
- predicting that the flash memory block is going to be a bad block based on the ratio, and if the maximum error rate exceeds a second threshold.
The non-transitory computer readable medium of claim 19, the method further comprising:
- based on the prediction, copying data from the flash memory block to a free memory block;
- and
- retiring the flash memory block by marking the flash memory block as unusable.
Dependencies are inferred from the claim text.