# US 2004/0080998 A1 · Unusable block management within a non-volatile memory system

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

- Number: US 2004/0080998 A1
- Document ID: US20040080998A1
- Status: Published application
- Kind: A1
- Application number: 10/682,641
- Filed: 2003-10-09
- Published: 2004-04-29
- Earliest claimed: 2002-10-28
- Assignees: SanDisk Corporation
- Inventors: Robert C. Chang; Bahman Qawami; Farshid Sabet-Sharghi
- Web page: https://patentgrep.com/patent/US20040080998A1

## CPC

- G11C 29/26: Accessing multiple arrays (G11C29/24 takes precedence)
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 16/04: using variable threshold transistors, e.g. FAMOS
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Methods and apparatus for tracking defective blocks such that at least some of the defective blocks may be readily identified and tested for usability when desirable are disclosed. According to one aspect of the present invention, a method for identifying spare blocks within a non-volatile memory includes subjecting at least one defective physical block associated with the non-volatile memory to a test that is arranged to determine if the defective physical block is usable. The method also includes determining when the defective physical block passes the test, and identifying the defective physical block as a usable physical block when it is determined that the defective physical block passes the test.

## Claims

### Claim 1

A method for identifying spare blocks within a non-volatile memory, the method comprising:
subjecting at least one physical block identified as being defective within the non-volatile memory to a test, the test being arranged to determine if a defective physical block is usable;
determining when the physical block identified as being defective passes the test; and
identifying the physical block identified as being defective as a usable physical block when it is determined that the physical block identified as being defective passes the test.

### Claim 2 (depends on 1)

The method of claim 1 wherein subjecting the at least one physical block identified as being defective to the test includes at least one of subjecting the at least one physical block identified as being defective to a write process to write bits into the physical block identified as being defective, a read process to read the bits from the physical block identified as being defective, and an erase process to erase the bits from the physical block identified as being defective.

### Claim 3 (depends on 1)

The method of claim 1 wherein identifying the physical block as a usable physical block includes:
identifying the physical block identified as being defective as a first spare block; and
adding the first spare block to a pool of spare blocks associated with the non-volatile memory, wherein the first spare block is arranged to be obtained from the pool of spare blocks for use in storing bits.

### Claim 4 (depends on 1)

The method of claim 1 further including:
determining when at least one additional spare block is needed within the non-volatile memory; and
identifying the physical block identified as being defective when it is determined that the at least one additional spare block is needed.

### Claim 5 (depends on 4)

The method of claim 4 wherein identifying the physical block identified as being defective includes:
scanning a data structure associated with the non-volatile memory, wherein the data structure is arranged to include bits arranged to indicate that the physical block identified as being defective is defective.

### Claim 6 (depends on 5)

The method of claim 5 wherein the data structure is further arranged to include one of a first set of bits to identify when the physical block identified as being defective has a factory defect and a second set of bits to identify when the physical block identified as being defective has a growing defect.

### Claim 7 (depends on 4)

The method of claim 4 wherein the data structure is an erase count block.

### Claim 8 (depends on 1)

The method of claim 1 wherein the physical block identified as being defective includes a growing defect.

### Claim 9 (depends on 1)

The method of claim 1 wherein the non-volatile memory is a flash memory.

### Claim 10 (depends on 9)

The method of claim 9 wherein the flash memory is one of a NAND flash memory and an MLC NAND flash memory.

### Claim 11

A method of managing unusable physical storage elements within a non-volatile memory, the method comprising:
determining when a first physical storage element is identified as being defective;
substantially removing the first physical storage element from a pool of usable physical storage elements when it is determined that the first physical storage element is defective; and
storing a first signature into a data structure in the non-volatile memory, the first signature being arranged to identify the first physical storage element as being defective.

### Claim 12 (depends on 11)

The method of claim 11 wherein determining when the first physical storage element is defective includes at least one of determining when the first physical storage element may not be successfully read from, determining when the first physical storage element may not be successfully written to, and determining when the first physical storage element may not be successfully erased.

### Claim 13 (depends on 12)

The method of claim 12 wherein when it is determined that the first physical storage element is defective, the first physical storage element includes a growing defect, and the first signature is arranged to identify the first physical storage element as having the growing defect.

### Claim 14 (depends on 11)

The method of claim 11 wherein determining when the first physical storage element is defective includes reading bits included in the first physical storage element to determine if the bits are arranged to indicate that the first physical storage is defective.

### Claim 15 (depends on 14)

The method of claim 14 wherein when it is determined that the first physical storage element is defective, the first physical storage element includes a factory defect, and the first signature is arranged to identify the first physical storage element as having the factory defect.

### Claim 16 (depends on 11)

The method of claim 11 wherein the data structure is further arranged to contain bits associated with the usable storage elements.

### Claim 17 (depends on 11)

The method of claim 11 further including:
scanning substantially all physical elements within the non-volatile memory to identify the first physical element.

### Claim 18 (depends on 11)

The method of claim 11 wherein the first physical element is a first physical block, and the usable physical elements are usable physical blocks.

### Claim 19 (depends on 11)

The method of claim 11 wherein the non-volatile memory is a flash memory.

### Claim 20 (depends on 19)

The method of claim 19 wherein the flash memory is one of a NAND flash memory and an MLC NAND flash memory.

### Claim 21

A non-volatile memory system comprising:
code devices that cause at least one physical block identified as being defective associated with a non-volatile memory to undergo a test, the test being arranged to determine if a physical block identified as being defective is usable;
code devices that cause a determination to be made regarding when the physical block identified as being defective passes the test;
code devices that cause the physical block identified as being defective to be identified as a usable physical block when it is determined that the physical block identified as being defective passes the test; and
a memory area that stores the code devices.

### Claim 22 (depends on 21)

The non-volatile memory system of claim 21 wherein the code devices that cause the physical block identified as being defective to undergo the test include at least one of code devices that cause the physical block identified as being defective to undergo a write process to write bits into the physical block identified as being defective, code devices that cause the physical block identified as being defective to undergo a read process to read the bits from the physical block identified as being defective, and code devices that cause the defective physical block identified as being defective to undergo an erase process to erase the bits.

### Claim 23 (depends on 21)

The non-volatile memory system of claim 21 wherein the code devices that cause the physical block identified as being defective to be identified as a usable physical block includes:
code devices that cause the physical block identified as being defective to be identified as a first spare block; and
code devices that cause the first spare block to be added to a pool of spare blocks associated with the non-volatile memory, wherein the first spare block is arranged to be obtained from the pool of spare blocks for use in storing bits.

### Claim 24 (depends on 21)

The non-volatile memory system of claim 21 further including:
code devices that cause a determination of when at least one additional spare block is needed within the non-volatile memory; and
code devices that cause the physical block identified as being defective to be identified when it is determined that the at least one additional spare block is needed, wherein the code devices that cause the physical block identified as being defective to be identified include coded devices that cause a data structure associated with the non-volatile memory to be scanned, wherein the data structure is arranged to include bits arranged to indicate that the physical block identified as being defective is defective.

### Claim 25 (depends on 24)

The non-volatile memory system of claim 24 wherein the data structure is further arranged to include one of a first set of bits to identify when the physical block identified as being defective has a factory defect and a second set of bits to identify when the physical block identified as being defective has a growing defect.

### Claim 26 (depends on 21)

The non-volatile memory system of claim 21 wherein the physical block identified as being defective includes a growing defect.

### Claim 27 (depends on 21)

The non-volatile memory system of claim 21 wherein the code devices are one of software code devices and firmware code devices.

### Claim 28

A non-volatile memory system comprising:
code devices that cause a determination to be made regarding when a first physical storage element of a non-volatile memory is defective;
code devices that cause the first physical storage element to be substantially removed from a pool of usable physical storage elements when it is determined that the first physical storage element is defective;
code devices that cause a first signature to be stored into a data structure in the non-volatile memory, the first signature being arranged to identify the first physical storage element as being defective; and
a memory area that stores the code devices.

### Claim 29 (depends on 28)

The non-volatile memory system of claim 28 wherein the code devices that cause the determination of when the first physical storage element is defective include at least one of code devices that cause a determination of when the first physical storage element may not be successfully read from, code devices that cause a determination of when the first physical storage element may not be successfully written to, and code devices that cause a determination of when the first physical storage element may not be successfully erased.

### Claim 30 (depends on 29)

The non-volatile memory system of claim 29 wherein when it is determined that the first physical storage element is defective, the first physical storage element includes a growing defect, and the first signature is arranged to identify the first physical storage element as having the growing defect.

### Claim 31 (depends on 28)

The non-volatile memory system of claim 28 wherein the code devices that cause the determination of when the first physical storage element is defective include code devices that cause bits included in the first physical storage element to be read to determine if the bits are arranged to indicate that the first physical storage is defective.

### Claim 32 (depends on 31)

The non-volatile memory system of claim 31 wherein when it is determined that the first physical storage element is defective, the first physical storage element includes a factory defect, and the first signature is arranged to identify the first physical storage element as having the factory defect.

### Claim 33 (depends on 28)

The non-volatile memory system of claim 28 further including:
code devices that cause substantially all physical elements within the non-volatile memory to be scanned to identify the first physical element.

### Claim 34 (depends on 28)

The non-volatile memory system of claim 28 wherein the first physical element is a first physical block, and the usable physical elements are usable physical blocks.

### Claim 35 (depends on 28)

The non-volatile memory system of claim 28 wherein the code devices are one of software code devices and firmware code devices.

### Claim 36

A non-volatile memory system comprising:
a non-volatile memory;
means for subjecting at least one defective physical block associated with the non-volatile memory to a test, the test being arranged to determine if a defective physical block is usable;
means for determining when the defective physical block passes the test; and
means for identifying the defective physical block as a usable physical block when it is determined that the defective physical block passes the test.

### Claim 37 (depends on 1)

The non-volatile memory system of claim 1 wherein the defective physical block includes a growing defect.

### Claim 38 (depends on 36)

The non-volatile memory system of claim 36 wherein the non-volatile memory is a flash memory.

### Claim 39 (depends on 38)

The non-volatile memory system of claim 38 wherein the flash memory is one of a NAND flash memory and an MLC NAND flash memory.

### Claim 40

A non-volatile memory system comprising:
a non-volatile memory;
means for determining when a first physical storage element is defective;
means for substantially removing the first physical storage element from a pool of usable physical storage elements when it is determined that the first physical storage element is defective; and
means for storing a first signature into a data structure in the non-volatile memory, the first signature being arranged to identify the first physical storage element as being defective.

### Claim 41 (depends on 40)

The non-volatile memory system of claim 40 wherein the means for determining when the first physical storage element is defective include at least one of means for determining when the first physical storage element may not be successfully read from, means for determining when the first physical storage element may not be successfully written to, and means for determining when the first physical storage element may not be successfully erased.

### Claim 42 (depends on 41)

The non-volatile memory system of claim 41 wherein when it is determined that the first physical storage element is defective, the first physical storage element includes a growing defect, and the first signature is arranged to identify the first physical storage element as having the growing defect.

### Claim 43 (depends on 40)

The non-volatile memory system of claim 40 wherein the means for determining when the first physical storage element is defective include means for reading bits included in the first physical storage element to determine if the bits are arranged to indicate that the first physical storage is defective.

### Claim 44 (depends on 43)

The non-volatile memory system of claim 43 wherein when it is determined that the first physical storage element is defective, the first physical storage element includes a factory defect, and the first signature is arranged to identify the first physical storage element as having the factory defect.

### Claim 45 (depends on 40)

The non-volatile memory system of claim 40 wherein the first physical element is a first physical block, and the usable physical elements are usable physical blocks.

### Claim 46 (depends on 40)

The non-volatile memory system of claim 40 wherein the non-volatile memory is a flash memory.

### Claim 47 (depends on 46)

The non-volatile memory system of claim 46 wherein the flash memory is one of a NAND flash memory and an MLC NAND flash memory.

### Claim 48

A method for managing blocks within a non-volatile memory system, the method comprising:
determining when a first physical block within a non-volatile memory of the non-volatile memory system has a factory defect;
storing a first signature in a data structure associated with the non-volatile memory which identifies the first physical block as having the factory defect when it is determined that the first physical block has the factory defect;
substantially preventing the first physical block from being used to store information when it is determined that the first physical block has the factory defect;
determining when a second physical block within the non-volatile memory has a growing defect;
storing a second signature in the data structure which identifies the second physical block as having the growing defect when it is determined that the second physical block has the growing defect; and
substantially preventing the second physical block from being used to store information when it is determined that the first physical block has the growing defect.

### Claim 49 (depends on 48)

The method of claim 48 further including:
determining when a spare block is needed within the non-volatile memory;
testing the second physical block to determine if the second physical block is usable; and
designating the second physical block as the spare block when it is determined that the second physical block is usable.

### Claim 50 (depends on 49)

The method of claim 49 further including:
scanning the data structure to identify the second physical block by locating the second signature.

### Claim 51 (depends on 48)

The method of claim 48 wherein the non-volatile memory is one of a NAND flash memory and an MLC NAND flash memory.
