# US 2026/0099403 A1 · Correcting Uncorrectable Errors In Memory Devices Using Erasure Code And Metadata

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

- Number: US 2026/0099403 A1
- Document ID: US20260099403A1
- Status: Published application
- Kind: A1
- Application number: 18/908,230
- Filed: 2024-10-07
- Published: 2026-04-09
- Earliest claimed: 2024-10-07
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Fabrice Aidan; Amir Mulla
- Web page: https://patentgrep.com/patent/US20260099403A1

## CPC

- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The technology is generally directed to error detection and correction in memory devices using dynamic random-access memory (DRAM) elements. Error correction codes (ECC) provide the ability to correct errors in memory elements. The ability to extend ECC capabilities to correct errors in defective elements is achievable when the location of the error(s) is known. Error correction metadata is calculated in the memory device when a write operation is performed. The metadata is stored in available space on the memory device. To locate uncorrectable errors, a pair of elements is selected and ECC is performed to recreate the data in the pair of elements. The metadata is recalculated on the recreated data and compared to the originally stored metadata. A match in metadata indicates the chosen pair contained the error. A mismatch indicates that the recreated data does not contain the error. Locating errors extends ECC correction capability.

## Claims

### Claim 1

A method of correcting uncorrectable errors (UE) in a memory device comprising:
storing erasure correction code (ECC) information in one or more memory elements in the memory device;
calculating error detection metadata in a memory controller;
storing the error detection metadata in the memory device; and
correcting an uncorrectable error in the memory device based on the ECC information and the stored error detection metadata.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
when writing data to the memory device:
writing a data value to a first memory element of the memory device;
writing an ECC value to a second memory element of the memory device; and
calculating a metadata value for the data value; and
writing the calculated metadata value to a designated memory location in the memory device.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
storing the metadata in an available storage location in the memory device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
storing the metadata as a hash function value.

### Claim 5 (depends on 4)

The method of claim 4 further comprising:
storing the metadata as a cyclic redundancy check (CRC) hash function.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
identifying a location of a fault in the memory device; and
correcting the identified fault using the stored ECC information.

### Claim 7 (depends on 6)

The method of claim 6, wherein identifying the location of the fault in the memory device comprises:
selecting a one or more memory elements of the memory device;
assuming that the fault exists in the selected one or more memory elements;
reconstructing a retrieved data value for each memory element of the one or more memory elements;
recalculating the metadata value for each memory element of the one or more memory elements; and
comparing the recalculated metadata value to the metadata stored in the memory device.

### Claim 8 (depends on 7)

The method of claim 7, wherein identifying the location of the fault in the memory device further comprises:
when the recalculated metadata matches the metadata stored in the memory device, flagging the selected one or more memory elements as not containing the fault; and
when the recalculated metadata does not match the metadata stored in the memory device, flagging the memory element associated with a mismatch of the recalculated metadata as the location of the fault in the memory device.

### Claim 9 (depends on 6)

The method of claim 6, further comprising:
iteratively selecting each possible pair of memory elements in the memory device and:
assuming that the fault exists in the selected pair of memory elements;
reconstructing a retrieved data value for each memory element of the one or more memory elements;
recalculating the metadata value for each memory element of the one or more memory elements; and
comparing the recalculated metadata value to the metadata stored in the memory device.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
replacing the data stored in a memory element that is identified as containing the fault, using the ECC information associated with the memory element identified as containing the fault.

### Claim 11 (depends on 3)

The method of claim 3, wherein the memory device is a DDR5 dual inline memory module (DIMM) or later.

### Claim 12 (depends on 1)

The method of claim 1, wherein the ECC is a Reed Solomon Code.

### Claim 13 (depends on 1)

The method of claim 1, wherein the metadata is received from a memory controller.

### Claim 14 (depends on 1)

The method of claim 1, wherein the memory device is a 10×4 dual inline memory module (DIMM) and further comprising:
writing data to 8 memory elements of the 10×4 DIMM;
writing ECC data to the remaining 2 memory elements of the 10×4 DIMM; and
writing the metadata to on-die ECC (ODECC) memory space in the DIMM.

### Claim 15 (depends on 1)

The method of claim 1, wherein the memory device is a 10×4 dual inline memory module (DIMM) and further comprising:
writing data to 8 memory elements of the 10×4 DIMM;
writing ECC data to 1 of the remaining memory elements of the 10×4 DIMM; and
writing the metadata remaining 1 memory element of the 10×4 DIMM.

### Claim 16

A memory device comprising:
a first memory element for storing data values;
a second memory element for storing error correction code (ECC) information; and
a third memory element for storing metadata associated with the data values stored in the first memory element and the ECC information stored in the second memory element.

### Claim 17 (depends on 16)

The memory device of claim 16, further comprising:
the third memory element being an on-die ECC memory resource of the memory device.

### Claim 18 (depends on 16)

The memory device of claim 16, wherein the memory device is implemented as a dual inline memory module (DIMM).

### Claim 19 (depends on 16)

The memory device of claim 16, wherein a fault in the memory device is identified using the data value stored in the first memory element, the ECC information stored in the second memory element and the metadata stored in the third memory element.

### Claim 20 (depends on 19)

The memory device of claim 19, wherein the fault in the memory device is detected by:
reconstructing a retrieved data value for the data value stored in the first memory element using the ECC information;
recalculating a metadata value for the reconstructed retrieved data value; and
comparing the recalculated metadata value to the metadata stored in the third memory element.
