# US 2025/0130897 A1 · Semiconductor memory device-directed error check and scrub

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

- Number: US 2025/0130897 A1
- Document ID: US20250130897A1
- Status: Published application
- Kind: A1
- Application number: 18/789,201
- Filed: 2024-07-30
- Published: 2025-04-24
- Earliest claimed: 2023-10-20
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Sujeet Ayyapureddi
- Web page: https://patentgrep.com/patent/US20250130897A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1016: {Error in accessing a memory location, i.e. addressing error}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/106: {Correcting systematically all correctable errors, i.e. scrubbing}
- G06F 11/26: Functional testing
- G06F 11/2736: {using a dedicated service processor for test}
- G11C 11/406: Management or control of the refreshing or charge-regeneration cycles
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/56: External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
- G11C 2211/4062: Parity or ECC in refresh operations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Methods, systems, and apparatuses for a memory device (e.g., DRAM) including a directed error check and scrub (ECS) procedure are described. The directed ECS procedure may include read-modify-write cycles when errors are detected in code words. In some embodiments, the memory device may perform the directed ECS procedure on a code word in which an error was previously detected (for example, in response to a read command). The directed ECS procedure described herein may facilitate correcting code word errors before too many errors, exceeding the detection and/or correction capabilities of the memory device, accumulate in the code words.

## Claims

### Claim 1

A memory device comprising:
a memory array comprising a plurality of code words;
an error-correction code (ECC) circuit coupled with the memory array; and
circuitry coupled with the memory array and the ECC circuit, the circuitry configured to:
receive, from a host device, an error check and scrub (ECS) command;
determine, in response to receiving the ECS command, that an error was detected in the memory array prior to receiving the ECS command; and
perform, in response to determining that an error was detected in the memory array prior to receiving the ECS command, an ECS procedure on a code word associated with the error using the ECC circuit.

### Claim 2 (depends on 1)

The memory device of claim 1, the memory device further comprising a mode register configured to store a code word address and a valid indicator, wherein:
determining that an error was detected in the memory array prior to receiving the ECS command is based on the valid indicator of the mode register; and
the code word on which the ECS procedure is performed corresponds to the code word address stored in the mode register.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the code word address comprises a column address, a row address, a bank address, and a bank group address.

### Claim 4 (depends on 1)

The memory device of claim 1, wherein performing the ECS procedure on the code word comprises:
retrieving the code word from the memory array;
updating, using the ECC circuit, the retrieved code word based on an ECC function; and
storing the updated code word to the memory array.

### Claim 5 (depends on 1)

The memory device of claim 1, wherein the circuitry is further configured to:
receive, from the host device, a read command directed to the memory array;
retrieve, in response to the received read command, data from the memory array, the data comprising a second code word;
detect at least one error in the second code word using the ECC circuit, wherein the second code word is associated with an address; and
store the address in a mode register.

### Claim 6 (depends on 5)

The memory device of claim 5, wherein determining that an error was detected in the memory array prior to receiving the ECS command is based on the address stored in the mode register, and wherein the code word on which the ECS procedure is performed corresponds to the address stored in the mode register.

### Claim 7 (depends on 5)

The memory device of claim 5, wherein the memory device is configured, in response to detecting the at least one error in the second code word, to transmit an indication to the host device that an error was detected.

### Claim 8 (depends on 7)

The memory device of claim 7, wherein the memory device further comprises a Compute Express Link (CXL) interface, wherein the CXL interface comprises a Data Mask (DM) pin, and wherein the memory device transmits the indication to the host device that an error was detected using the DM pin.

### Claim 9 (depends on 7)

The memory device of claim 7, wherein the memory device further comprises a DDR6 interface, wherein the DDR6 interface comprises a sideband bus, and wherein the memory device transmits the indication to the host device that an error was detected using the sideband bus.

### Claim 10 (depends on 1)

The memory device of claim 1, wherein the circuitry is further configured to clear, after performing the ECS procedure on a code word associated with the error, a valid bit associated with the error.

### Claim 11 (depends on 1)

The memory device of claim 1, the memory device further comprising a plurality of mode registers, wherein each mode register is configured to store a code word address and a valid bit, and wherein:
determining that an error was detected in the memory array prior to receiving the ECS command comprises identifying at least one mode register with an asserted valid bit; and
performing the ECS procedure comprises selecting one of the identified mode registers, wherein the code word on which the ECS procedure is performed is associated with the code word address stored in the selected mode register.

### Claim 12 (depends on 11)

The memory device of claim 11, wherein selecting one of the identified mode registers comprises:
determining, from the identified mode registers, which mode register's valid bit has been asserted the longest; and
selecting the mode register with the longest-asserted valid bit.

### Claim 13 (depends on 11)

The memory device of claim 11, wherein the circuitry is further configured to perform a plurality of ECS procedures without receiving an ECS command from the host device.

### Claim 14 (depends on 13)

The memory device of claim 13, wherein each of the plurality of ECS procedures operates on a different code word than the previous ECS procedure of the plurality of ECS procedures, and wherein the circuitry is further configured to perform the plurality of ECS procedures so that all code words in the memory array are operated on during a 24-hour period.

### Claim 15 (depends on 1)

The memory device of claim 1, wherein the circuitry is further configured to:
perform, in response to determining that no error was detected in the memory array prior to receiving the ECS command, an ECS procedure on a second code word, wherein the second code word is associated with an address stored in an address counter.

### Claim 16

A method comprising:
receiving, at a memory device, a read command from a host device coupled to the memory device;
retrieving, in response to the received read command, data from a memory array of the memory device, wherein the data comprises a code word;
detecting at least one error in the code word of the retrieved data;
storing, in response to detecting the at least one error in the code word, a memory array address associated with the code word to a mode register;
sending, in response to detecting the at least one error in the code word, an indication to the host device that an error was detected in response to the read command; and
performing an internal read-modify-write cycle on the code word associated with the memory array address in the mode register, wherein the internal read-modify-write cycle comprises correcting the at least one error in the code word.

### Claim 17 (depends on 16)

The method of claim 16, wherein correcting the at least one error in the code word comprises using an ECC circuit of the memory device.

### Claim 18 (depends on 16)

The method of claim 16, the method further comprising:
clearing, after performing the internal read-modify-write cycle on the code word, the memory array address from the mode register.

### Claim 19 (depends on 16)

The method of claim 16, wherein the memory device sends the indication that an error was detected using a Data Mask (DM) pin of the memory device.

### Claim 20 (depends on 16)

The method of claim 16, wherein the memory device is coupled to the host device via a sideband bus to which at least one other memory device is coupled, and wherein the memory device sends the indication that an error was detected using the sideband bus.
