# US 8,578,208 B2 · Determining location of error detection data

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

- Number: US 8,578,208 B2
- Document ID: US8578208B2
- Status: Granted
- Kind: B2
- Application number: 13/006,240
- Filed: 2011-01-13
- Published: 2012-07-19
- Granted: 2013-11-05
- Earliest claimed: 2011-01-13
- Assignees: Micron Technology, Inc.
- Applicants: Christian M. Gyllenskog; Phil W. Lee; Steven R. Narum
- Inventors: Christian M. Gyllenskog; Phil W. Lee; Steven R. Narum
- Web page: https://patentgrep.com/patent/US8578208B2

## CPC

- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, devices, and systems for determining location of error detection data are described. One method for operating a memory unit having a bad group of memory cells includes determining a location of where to store error detection data for data to be stored across a plurality of memory units, including the memory unit having the bad group, based at least partially on a location of the bad group and storing the error detection data in the determined location.

## Claims

### Claim 1

A method for determining a location of error detection data within a memory system, the method comprising:
determining, for each of N subsets of blocks from a group of blocks, a location of an error detection data block within a respective subset by determining whether a block located at a last block position of the subset is a bad block, and:
if not, using the block located at the last block position of the subset as the error detection data block for the subset; and
if so, subtracting N from the last block position and determining whether a block located at the last block position minus N is a bad block, and if not, using the block located at the last block position minus N as the error detection data block for the subset.

### Claim 2 (depends on 1)

The method of claim 1, including subsequently writing, to the error detection data block of each respective subset, parity data corresponding to data written to a number of target blocks of the respective subset.

### Claim 3 (depends on 2)

The method of claim 2, including writing data to at least one target block of at least one of the subsets that has a block position located after a block position of the parity block of at least one of the other subsets.

### Claim 4 (depends on 1)

The method of claim 1, including, for each of the N subsets of blocks, if the block located at the last block position minus N is determined to be a bad block, continuing to subtract N from a current block position and determining whether a block located at the current block position is a bad block, until a non-bad block is determined.

### Claim 5 (depends on 1)

The method of claim 1, including storing, for the group of blocks, block position data for target blocks and the error detection data block for each of the respective subsets.

### Claim 6 (depends on 5)

The method of claim 5, including writing data to each of a number of pages based on the block position data.

### Claim 7 (depends on 1)

The method of claim 1, including, responsive to a determination that a block used as the parity block for a subset is bad, subtracting N from a block position of the block and determining whether a block located the last block position minus N is a bad block, and if not, replacing the block used as the error detection data block with the block located at the block position minus N.

### Claim 8 (depends on 1)

The method of claim 1, including storing, for the group of blocks, an indication of whether each of the respective blocks of the group is a good block or a bad block.

### Claim 9 (depends on 1)

The method of claim 1, wherein the group of blocks is associated with a parity stripe across a number of memory units each having N planes associated therewith.

### Claim 10

A method for determining a location of a parity data block within a memory system, the method comprising:
determining a location of a parity block corresponding to a subset of a group of physical blocks associated with a parity stripe, the subset including a block from a plane of each of a number of memory units;
wherein determining a location of the parity block within the subset includes, beginning at a last block position of the group:
determining whether a block located at a current block position is a bad block and, if so, determining whether a block located at a next current block position is a bad block, the next current block position determined by subtracting from the current block position, a value equal to a particular number of planes associated with each of the number of memory units, until a first non-bad block is determined; and
assigning the first non-bad block to be the parity block.

### Claim 11 (depends on 10)

The method of claim 10, wherein the parity block is a first parity block, the subset is a first subset, and the plane is a first plane, and wherein the method further includes determining a location of a second parity block corresponding to a second subset of physical blocks associated with the parity stripe, the second subset including a block from a second plane of each of the number of memory units; and
wherein determining a location of the second parity block within the second subset includes, beginning at a last block position minus one of the group:
determining whether a block located at a current block position is a bad block and, if so, determining whether a block located at a next current block position is a bad block, the next current block position determined by subtracting from the current block position, the value equal to the particular number of planes associated with each of the number of memory units, until a second non-bad block is determined; and
assigning the second non-bad block to be the second parity block.

### Claim 12 (depends on 11)

The method of claim 11, including determining a first number of target blocks of the first subset.

### Claim 13 (depends on 12)

The method of claim 12, including determining a second number of target blocks of the second subset.

### Claim 14 (depends on 13)

The method of claim 13, including storing, within the memory system, a list including locations of the first number of blocks of the first subset, the second number of blocks of the second subset, and the first and second parity blocks.

### Claim 15 (depends on 14)

The method of claim 14, including storing the list in order according to block position within the group.

### Claim 16 (depends on 14)

The method of claim 14, including providing the list to a parity engine of the memory system.

### Claim 17 (depends on 14)

The method of claim 14, including storing the list in a cache.

### Claim 18 (depends on 14)

The method of claim 14, including reusing the list for each of a number of pages associated with the parity stripe.

### Claim 19

A memory controller, comprising: circuitry for determining,
for each of N subsets of blocks from a group of blocks, a location of an error detection data block within a respective subset by determining whether a block located at a last block position of the subset is a bad block, and:
if not, using the block located at the last block position of the subset as the error detection data block for the subset; and
if so, subtracting N from the last block position and determining whether a block located at the last block position minus N is a bad block, and if not, using the block located at the last block position minus N as the error detection data block for the subset.

### Claim 20 (depends on 19)

The memory controller of claim 19, further comprising circuitry for writing, to the error detection data block of each respective subset, error detection data corresponding to data written to a number of target blocks of the respective subset.

### Claim 21 (depends on 20)

The memory controller of claim 20, including writing the error detection data corresponding to data written to the number of target blocks of the respective subset at the same time as the data written to the number of target blocks is written.

### Claim 22 (depends on 19)

The memory controller of claim 19, further comprising circuitry for writing data to at least one target block of at least one of the subsets that has a block position located after a block position of the error detection data block of at least one of the other subsets.

### Claim 23 (depends on 19)

The memory controller of claim 19, wherein, for each of the N subsets of blocks, if the block located at the last block position minus N is determined to be a bad block, the circuitry continues to subtract N from a current block position and determining whether a block located at the current block position is a bad block, until a non-bad block is determined.
