# US 2017/0294237 A1 · Detect developed bad blocks in non-volatile memory devices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0294237 A1
- Document ID: US20170294237A1
- Status: Published application
- Kind: A1
- Application number: 15/288,603
- Filed: 2016-10-07
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: SK hynix Inc.
- Applicants: SK Hynix Inc.
- Inventors: Haibo Li; Sangsik Kim; Juhyeon Han
- Web page: https://patentgrep.com/patent/US20170294237A1

## CPC

- G11C 29/38: Response verification devices
- A47G 23/03: Underlays for glasses or drinking-vessels
- A47L 19/00: Drying devices for crockery or table-ware, e.g. tea-cloths
- A47L 19/02: Draining-boards
- A47L 19/04: Crockery baskets; Draining-racks
- F26B 5/16: by contact with sorbent bodies, e.g. absorbent mould; by admixture with sorbent materials
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 29/76: {using address translation or modifications}
- G11C 16/349: {Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- A47G: HOUSEHOLD OR TABLE EQUIPMENT (book-ends A47B5/00; knives B26B)
- A47L: DOMESTIC WASHING OR CLEANING (brushes A46B; cleaning quantities of bottles or of other hollow articles of one kind B08B9/00; laundry D06F); SUCTION CLEANERS IN GENERAL (cleaning in general B08)
- F26B: DRYING SOLID MATERIALS OR OBJECTS BY REMOVING LIQUID THEREFROM (drying devices for combines A01D41/133; racks for drying fruit or vegetables A01F25/12; drying foodstuffs A23; drying hair A45D20/00; body-drying implements A47K10/00; drying household articles A47L; drying gases or vapours B01D; chemical or physical processes for dewatering or like separating liquids from solids B01D43/00; centrifugal apparatus B04; drying ceramics C04B33/30; drying yarns or fabrics in association with some other form of treatment D06C; drying frames for laundry without heating or positive air circulation, domestic laundry-or spin-driers, wringing or hot pressing laundry D06F; furnaces, kilns, ovens F27)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The flash memory device of claim 1, wherein based on the prediction, the circuit is further configured to:
copy data stored in the flash memory block to a free flash memory block; and
retire the flash memory block by marking the flash memory block as unusable.

### Claim 3 (depends on 1)

The flash memory device of claim 1, wherein the average error rate is determined by calculating a sum of error rates associated with the plurality of pages in the flash memory block, and dividing the sum by a number of pages in the plurality of pages.

### Claim 4 (depends on 1)

The flash memory device of claim 1, wherein the maximum error rate of the page is determined by identifying the page having a highest error rate among the respective error rates associated with the plurality of pages.

### Claim 5 (depends on 1)

The flash memory device of claim 1, wherein the plurality of pages include pages associated with a most significant bit (MSB) of each M-level cell.

### Claim 6 (depends on 1)

The flash memory device of claim 1, wherein the plurality of pages include pages associated with a least significant bit (LSB) of each M-level cell.

### Claim 7 (depends on 1)

The flash memory device of claim 1, wherein the M is 2 and the plurality of M-level cells include multilevel cells (MLCs).

### Claim 8 (depends on 1)

The flash memory device of claim 1, wherein the bad block is a developed bad flash memory block due to the usage of the flash memory device.

### Claim 9 (depends on 1)

The flash memory device of claim 1, wherein the respective error rate is determined using an error correction coding (ECC) algorithm.

### Claim 10 (depends on 1)

The flash memory device of claim 1, wherein the plurality of pages are read at near-optimal read levels.

### Claim 11

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.

### Claim 12 (depends on 11)

The method of claim 11 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.

### Claim 13 (depends on 11)

The method of claim 11, wherein the average error rate is determined by calculating a sum of error rates associated with the plurality of pages in the flash memory block, and dividing the sum by a number of pages in the plurality of pages.

### Claim 14 (depends on 11)

The method of claim 11, wherein the maximum error rate is determined by identifying the page having a highest error rate among error rates associated with the plurality of pages.

### Claim 15 (depends on 11)

The method of claim 11, wherein the plurality of pages include pages associated with a most significant bit (MSB) of each M-level cell.

### Claim 16 (depends on 11)

The method of claim 11, wherein the plurality of pages include pages associated with a least significant bit (LSB) of each M-level cell.

### Claim 17 (depends on 11)

The method of claim 11, wherein the method is performed as part of a background media scan (BGMS) process.

### Claim 18

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.

### Claim 19 (depends on 19)

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.

### Claim 20 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the processor is part of a flash memory controller coupled to the flash memory.
