# US 2024/0194284 A1 · Methods and systems for improving ecc operation of memories

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

- Number: US 2024/0194284 A1
- Document ID: US20240194284A1
- Status: Published application
- Kind: A1
- Application number: 17/801,467
- Filed: 2021-03-02
- Published: 2024-06-13
- Earliest claimed: 2021-03-02
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Christophe Laurent; Riccardo Muzzetto
- Web page: https://patentgrep.com/patent/US20240194284A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 29/1201: {comprising I/O circuitry}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 29/56008: {Error analysis, representation of errors}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a method for operating an array of memory cells, the method comprising the steps of storing user data in a plurality of memory cells of the memory array, storing parity data associated with the user data in parity cells of the memory array, wherein a number of used parity cells is selected based on a status of the memory cells and is related to a selected Error Correction Code (ECC) correction capability, and performing an ECC operation on the plurality of memory cells, the ECC correction capability being based on the selected number of used parity cells. Related memory devices and systems are also herein disclosed.

## Claims

### Claim 1

A method for operating an array of memory cells, the method comprising:
storing user data in a plurality of memory cells of the memory array;
storing parity data associated with the user data in parity cells of the memory array, wherein a number of used parity cells is selected based on a status of the memory cells and is related to a selected Error Correction Code (ECC) correction capability; and
based on the selected number of used parity cells, performing an ECC operation on the plurality of memory cells.

### Claim 2 (depends on 1)

The method of claim 1, comprising storing data information relating to the selected ECC correction capability in at least one dedicated non-volatile region of the memory array.

### Claim 3 (depends on 1)

The method of claim 1, comprising grouping the memory cells of the array into a plurality of portions, each portion of the plurality of portions being assigned a specific ECC correction capability based on the status of the memory cells thereof.

### Claim 4 (depends on 3)

The method of claim 3, wherein a portion of the plurality of portions corresponds to one of a codeword, a bank, a bank group, a section of the array, the entire array, a buffer, a page.

### Claim 5 (depends on 3)

The method of claim 3, comprising storing respective data information relating to the selected ECC correction capability for each portion of the plurality of portions, the method further comprising storing in a look-up table said data information, wherein, in said look-up table, each portion of the array is associated with its respective selected ECC correction capability.

### Claim 6 (depends on 1)

The method of claim 1, wherein a codeword is encoded with additional information bits associated thereto and relating to the selected ECC correction capability for said codeword.

### Claim 7 (depends on 1)

The method of claim 1, comprising varying the selected ECC correction capability based on a variation of the status of the memory cells.

### Claim 8 (depends on 1)

The method of claim 1, wherein the number of parity cells to be used for defining the selected ECC correction capability is selected based on a value of a first counter used to count at least one of a number of accesses to the memory cells or a number of refresh events or a number of power-up events or a combination thereof, the value of the first counter indicating the status of the memory cells.

### Claim 9 (depends on 1)

The method of claim 1, wherein the number of parity cells to be used for defining the selected ECC correction capability is selected based a counted error frequency.

### Claim 10 (depends on 1)

The method of claim 1, comprising:
testing the quality of at least one portion of the memory array by means of a testing machine; and
assigning to said at least one portion a proper number of parity cells to be used for defining the selected ECC correction capability based on the performed quality test.

### Claim 11 (depends on 1)

The method of claim 1, wherein the number of parity cells to be used for defining the ECC correction capability is selected by the user or is based on signals of sensors coupled to the memory array.

### Claim 12 (depends on 1)

The method of claim 1, wherein the number of parity cells to be used for defining the selected ECC correction capability is selected based on sense amplifier margin measurement.

### Claim 13 (depends on 1)

The method of claim 1, comprising writing and/or sensing only the memory cells used to store the user data and the selected parity cells used to store the parity data, wherein the used parity cells are selected between a maximum number and a minimum number and a number of unused parity cells is a difference between the maximum number and the number of used parity cells, and wherein the unused parity cells are not written nor sensed.

### Claim 14

A memory device comprising:
an array including a plurality of memory cells; and
a controller configured to:
store user data in memory cells of the plurality;
define a maximum number of parity cells for storing parity data, the maximum number of parity cells corresponding to a maximum Error Correction Code (ECC) correction capability;
based on a status of the memory cells, select a number of parity cells to be used for storing the parity data corresponding to a selected ECC correction capability, the number of used parity cells being comprised between a minimum number corresponding to a minimum ECC correction capability and the maximum number; and
vary the number of used parity cells based on a variation of the status of the memory cells.

### Claim 15 (depends on 14)

The memory device of claim 14, wherein the array is divided into a plurality of portions, each portion of the plurality of portions being assigned a specific selected ECC correction capability based on a specific status of the memory cells of said portion.

### Claim 16 (depends on 15)

The memory device of claim 15, wherein a portion of the plurality of portions corresponds to one of a codeword, a bank, a bank group, a section of the array, the entire array, a buffer, a page.

### Claim 17 (depends on 14)

The memory device of claim 14, wherein the array comprises at least one region adapted to store data information relating to the selected ECC correction capability.

### Claim 18 (depends on 14)

The memory device of claim 14, wherein the controller comprises an ECC engine coupled to said controller.

### Claim 19 (depends on 15)

The memory device of claim 15, wherein the controller is configured to store in the array, for each portion of the plurality of portions, respective data information relating to the respective specific selected ECC correction capability, the controller being further configured to store in a look-up table said data information, wherein, in said look-up table, each portion of the array is associated with its respective specific selected ECC correction capability.

### Claim 20 (depends on 14)

The memory device of claim 14, comprising a first counter configured to count at least one of a number of accesses to the memory cells or a number of refresh events or a number of power-up events or a combination thereof, wherein the number of parity cells to be used for defining an ECC correction capability is selected based on a value of the first counter.

### Claim 21 (depends on 14)

The memory device of claim 14, comprising a second counter configured to count a number of errors detected, the number of used parity cells being selected based on a counted error frequency.

### Claim 22 (depends on 14)

The memory device of claim 14, comprising:
a sensing unit coupled to the memory array, wherein the controller is configured to select the number of used parity cells based on signals of said sensing unit; and/or
sense amplifiers, wherein the controller is configured to select the number of used parity cells based on sense amplifier margin measurement.

### Claim 23 (depends on 14)

The memory device of claim 14, wherein the controller is configured to write and/or sense only the memory cells used to store the user data and the used parity cells, wherein unused parity cells are not written nor sensed.

### Claim 24 (depends on 14)

The memory device of claim 14, wherein a codeword comprises respective additional information bits associated thereto and relating to the selected ECC correction capability for said codeword.

### Claim 25 (depends on 15)

The memory device of claim 15, wherein different counters are associated with different respective portions of the array, each counter being representative of a respective accumulated value for the respective portion, the controller being configured to selectively perform the ECC correction capability variation on one or more portion based on the comparison of the respective accumulated value of the respective portion with a threshold value.

### Claim 26

A memory device comprising:
an array including a plurality of memory cells; and
an operating unit of the array,
wherein the operating unit is configured to:
store user data in a plurality of memory cells of the memory array;
store parity data associated with the user data in parity cells of the memory array, wherein a number of used parity cells is selected based on a status of the plurality of memory cells and is related to a corresponding Error Correction Code (ECC) correction capability; and
based on the selected number of used parity cells, perform an ECC operation on the plurality of memory cells.

### Claim 27

A method for selecting an Error Correction Code (ECC) protection level of a codeword stored in an array of memory cells, the method comprising:
storing encoded user data in a plurality of memory cells;
incrementing a value of a counter associated with a least one portion of the memory array each time an event occurs;
based on the value of the counter, selecting a number of parity cells associated with codeword, the number of selected parity cells being related to a corresponding ECC correction capability; and
storing parity data in the selected parity cells.
