# US 2025/0061023 A1 · Ecc configuration in memories

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

- Number: US 2025/0061023 A1
- Document ID: US20250061023A1
- Status: Published application
- Kind: A1
- Application number: 18/936,548
- Filed: 2024-11-04
- Published: 2025-02-20
- Earliest claimed: 2023-03-30
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Graziano Mirichigni; Christophe Laurent; Riccardo Muzzetto
- Web page: https://patentgrep.com/patent/US20250061023A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/0703: {Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation}
- G06F 11/1016: {Error in accessing a memory location, i.e. addressing error}
- G06F 11/1024: {Identification of the type of error}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1096: {Parity calculation or recalculation after configuration or reconfiguration of the system}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 2029/0411: {Online error correction}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

The present disclosure relates to a method for operating an array of memory cells, the method comprising storing user data in a plurality of memory cells of the array, storing parity data associated with the user data in a plurality of parity cells of the array, and, based on the stored parity data, selecting an Error Correction Code (ECC) correction capability and/or an ECC granularity according to which an ECC operation is to be performed, wherein the selection of the ECC correction capability and/or the ECC granularity is determined by the steps of updating a first register, said first register comprising values which indicate a required ECC correction capability and/or a required ECC granularity to be applied to the memory cells based on a current status of said memory cells, wherein the values of the first register are updated based on a variation of the current status of the memory cells, and wherein an update of the values of the first register corresponds to a variation of the required ECC correction capability and/or a required ECC granularity to be applied to said memory cells, and based on the updated values of the first register, executing an ECC switch command, wherein the ECC switch command is such as to vary a previously selected ECC correction capability and/or a previously selected ECC granularity, the method further comprising: updating a second register according to the varied ECC correction capability and/or ECC granularity, said second register comprising values indicating the selected ECC correction capability and the selected ECC granularity applied to the memory cells based on the current status thereof. Related apparatuses and systems are also herein disclosed.

## Claims

### Claim 1

An apparatus, comprising:
an array of memory cells configured to store user data and corresponding parity data; and
a controller coupled to the array and comprising error correction code (ECC) circuitry, wherein the controller is configured to:
receive first information from a first register, the first register being configured to be updated based on a variation of a current status of group of memory cells, wherein updated values of the first information correspond to a variation of a current ECC correction capability and/or a current ECC granularity to be applied to a group of memory cells;
based on receiving updated first information from the first register, enable an ECC switch command to:
cause the selection of a particular ECC correction capability and/or a particular ECC granularity corresponding to the updated first information; and
update second information stored in a second register, wherein the second information corresponds to the current ECC correction capability and/or the current ECC granularity to be applied to the group of memory cells such that updating the second information involves replacing the current ECC correction capability and/or the current ECC granularity with the particular ECC correction capability and/or the particular ECC granularity.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the ECC circuitry comprises at least three different engines corresponding to different respective ECC correction capabilities.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the first register and the second register are located in the array of memory cells.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the controller comprises at least two counters associated with determining the variation of the current status of the group of memory cells.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the at least two counters include 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 controller is configured to select the particular ECC correction capability and/or the particular ECC granularity based on a value of the first counter.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the at least two counters include a second counter configured to count a number of errors detected, wherein the controller is configured to select the particular ECC correction capability and/or the particular ECC granularity based on a counted error frequency.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the controller is configured to prevent read and/or write operations of the array during execution of the switch command.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the controller is configured to allow read and/or write operations of the array during execution of the ECC switch command, wherein, during the execution of the ECC switch command, the controller is further configured to apply a previously selected ECC correction capability and/or ECC granularity to the array.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the apparatus comprises a solid state drive.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the array comprises NAND memory cells.

### Claim 11

A method, comprising:
storing user data and corresponding parity data in an array of memory cells;
receiving, at a controller coupled to the array and comprising error correction code (ECC) circuitry, first information from a first register, the first register being configured to be updated based on a variation of a current status of group of memory cells, wherein updated values of the first information correspond to a variation of a current ECC correction capability and/or a current ECC granularity to be applied to a group of memory cells;
based on receiving updated first information from the first register, executing an ECC switch command to:
cause the selection of a particular ECC correction capability and/or a particular ECC granularity corresponding to the updated first information; and
update second information stored in a second register, wherein the second information corresponds to the current ECC correction capability and/or the current ECC granularity to be applied to the group of memory cells such that updating the second information involves replacing the current ECC correction capability and/or the current ECC granularity with the particular ECC correction capability and/or the particular ECC granularity.

### Claim 12 (depends on 11)

The method of claim 11, comprising grouping the memory cells of the array into a plurality of portions, each portion of the plurality of portions being independently assigned a specific ECC correction capability and/or a specific ECC granularity based on the current status of the memory cells thereof.

### Claim 13 (depends on 11)

The method of claim 11, further comprising preventing read and/or write operations from being performed on the array during the execution of the ECC switch command.

### Claim 14 (depends on 11)

The method of claim 11, further comprising allowing read and/or write operations are allowed on the array during the execution of the ECC switch command, wherein, during the execution of the ECC switch command, using a previously selected ECC correction capability and/or ECC granularity.

### Claim 15 (depends on 11)

The method of claim 11, further comprising selecting the ECC correction capability and/or the ECC granularity based on a value of a first counter used to count: 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 current status of the memory cells.

### Claim 16 (depends on 11)

The method of claim 11, wherein the method includes selecting, for each defined status of the memory cells, a specific combination of ECC correction capability, ECC granularity, and write/read data access granularity to apply to the memory cells.

### Claim 17

An apparatus, comprising:
memory cells adapted to store user data, parity data, a first register, and a second register; and
a controller configured to:
based on information stored in the first register, select an error correction code (ECC) correction capability and/or an ECC granularity on which an ECC engine of the apparatus operates;
write information into the second register, the second register storing values indicating the selected ECC correction capability and the selected ECC granularity currently applied to the memory cells;
receive information from the first register, the first register storing values indicating a particular ECC correction capability and/or a particular ECC granularity to be applied to the memory cells based on a current status of the memory cells, wherein the first register is configured to be updated based on a variation of the current status of the memory cells, and wherein an update of the values of the first register corresponds to a variation of the particular ECC correction capability and/or the particular ECC granularity to be applied to the memory cells; and
upon receiving the updated values of the first register, determine whether or not to enable an ECC switch command, wherein the ECC switch command is executable to cause the variation of a previously selected ECC correction capability and/or ECC granularity based on the particular ECC correction capability and/or the particular ECC granularity of the first register.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the stored parity data corresponds to a plurality of different selectable ECC correction capabilities and ECC granularities.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the first register comprises a plurality of sections, each section of the plurality of sections containing information for a respective portion of an array comprising the memory cells, the values of one section being updated independently from the values of the other sections according to the status of the memory cells of the respective portion.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the second register comprises a plurality of sections, each section of the plurality of sections containing information for a respective portion of the array, the values of one section being updated independently from the values of the other sections according to the selected the ECC correction capability and/or ECC granularity.
