# US 2024/0004755 A1 · Error check and scrub for semiconductor memory device

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

- Number: US 2024/0004755 A1
- Document ID: US20240004755A1
- Status: Published application
- Kind: A1
- Application number: 18/195,374
- Filed: 2023-05-10
- Published: 2024-01-04
- Earliest claimed: 2020-03-11
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Randall J. Rooney; Matthew A. Prather
- Web page: https://patentgrep.com/patent/US20240004755A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/106: {Correcting systematically all correctable errors, i.e. scrubbing}
- G11C 11/406: Management or control of the refreshing or charge-regeneration cycles
- G11C 11/4087: {Address decoders, e.g. bit - or word line decoders; Multiple line decoders}
- G11C 29/42: using error correcting codes [ECC] or parity check
- 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 an error check and scrub (ECS) procedure in conjunction with refresh operations are described. The ECS procedure may include read/modify-write cycles when errors are detected in code words. In some embodiments, the memory device may complete the ECS procedure over multiple refresh commands, namely by performing a read (or read/modify) portion of the ECS procedure while a first refresh command is executed, and by performing a write portion of the ECS procedure while a second refresh command is executed. The ECS procedure described herein may facilitate avoiding signaling conflicts or interferences that may occur between the ECS procedure and other memory operations.

## Claims

### Claim 1

(canceled)

### Claim 2

A memory device, comprising:
a memory array;
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, a command associated with an error check and scrub (ECS) operation for the memory array;
perform a first portion of the ECS operation based at least in part on receiving the command, the first portion comprising retrieving data from a target row of the memory array, the data comprising a code word corresponding to an address associated with the target row and detecting at least one error in the code word using the ECC circuit; and
perform a second portion of the ECS operation based at least in part on the first portion of the ECS operation, wherein the second portion of the ECS operation comprises writing the code word to the address with the at least one error corrected.

### Claim 3 (depends on 2)

The memory device of claim 2, wherein the circuitry is further configured to:
receive, from the host device, a second command to perform a second ECS operation for the memory array;
perform a first portion of the second ECS operation based at least in part on receiving the second command, the first portion of the second ECS operation comprising retrieving second data from a second target row of the memory array, the second data comprising a second code word corresponding to a second address associated with the second target row and detecting at least one error in the second code word using the ECC circuit;
determine that a write command has been performed at the second address after receiving the second command; and
suppress performing a second portion of the ECS operation based at least in part on the determining.

### Claim 4 (depends on 2)

The memory device of claim 2, wherein the circuitry is further configured to:
store an indication of a mode associated with the ECS operation at a register of the memory device based at least in part on receiving the command.

### Claim 5 (depends on 2)

The memory device of claim 2, wherein the circuitry is further configured to:
store the code word in a register of the memory device for a duration between the first portion and the second portion.

### Claim 6 (depends on 2)

The memory device of claim 2, wherein the circuitry is further configured to:
perform a first refresh operation for the code word, wherein performing the first portion of the ECS operation and performing the first refresh operation at least partially overlap in time.

### Claim 7 (depends on 6)

The memory device of claim 6, wherein the circuitry is further configured to:
perform a second refresh operation for the code word, wherein performing the second portion of the ECS operation and performing the second refresh operation at least partially overlap in time.

### Claim 8 (depends on 2)

The memory device of claim 2, wherein the circuitry is further configured to:
determine whether a write command has been performed at the address after performing the first portion, wherein writing the code word to the address is based at least in part on determining that the write command has not been performed.

### Claim 9 (depends on 8)

The memory device of claim 8, wherein determining that the write command has been performed comprises:
determining that the target row is deactivated for a duration between the first portion and the second portion.

### Claim 10 (depends on 8)

The memory device of claim 8, wherein determining that the write command has been performed comprises:
determining that the command is directed to a bank comprising the target row.

### Claim 11 (depends on 8)

The memory device of claim 8, wherein determining that the write command has been performed comprises:
reading a plurality of codewords from the target row during the first portion.

### Claim 12

A non-transitory computer-readable medium storing code, the code comprising instructions executable by a processor to:
receive, from a host device, a command associated with an error check and scrub (ECS) operation for a memory array of a memory device;
perform a first portion of the ECS operation based at least in part on receiving the command, the first portion comprising retrieving data from a target row of the memory array, the data comprising a code word corresponding to an address associated with the target row and detecting at least one error in the code word using an error-correction code (ECC) circuit coupled with the memory array; and
perform a second portion of the ECS operation based at least in part on the first portion of the ECS operation, wherein the second portion of the ECS operation comprises writing the code word to the address with the at least one error corrected.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the code is further executable by the processor to:
receive, from the host device, a second command to perform a second ECS operation for the memory array;
perform a first portion of the second ECS operation based at least in part on receiving the second command, the first portion of the second ECS operation comprising retrieving second data from a second target row of the memory array, the second data comprising a second code word corresponding to a second address associated with the second target row and detecting at least one error in the second code word using the ECC circuit;
determine that a write command has been performed at the second address after receiving the second command; and
suppress performing a second portion of the ECS operation based at least in part on the determining.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein determining that the write command has been performed comprises:
determining that the second target row is deactivated for a duration between the first portion and the second portion of the second ECS operation.

### Claim 15 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein determining that the write command has been performed comprises:
determining that the command is directed to a bank comprising the target row.

### Claim 16 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the code is further executable by the processor to:
store an indication of a mode associated with the ECS operation at a register of the memory device based at least in part on receiving the command.

### Claim 17 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the code is further executable by the processor to:
store the code word in a register of the memory device for a duration between the first portion and the second portion.

### Claim 18 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the code is further executable by the processor to:
perform a first refresh operation for the code word, wherein performing the first portion of the ECS operation and performing the first refresh operation at least partially overlap in time.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the code is further executable by the processor to:
perform a second refresh operation for the code word, wherein performing the second portion of the ECS operation and performing the second refresh operation at least partially overlap in time.

### Claim 20 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the code is further executable by the processor to:
determine whether a write command has been performed at the address after performing the first portion, wherein writing the code word to the address is based at least in part on determining that the write command has not been performed.

### Claim 21

A method, comprising:
receiving, from a host device, a command to initiate a mode of a memory device associated with an error check and scrub (ECS) operation for a memory array of the memory device;
performing a first portion of the ECS operation based at least in part on receiving the command, the first portion comprising retrieving data from a target row of the memory array, the data comprising a code word corresponding to an address associated with the target row and detecting at least one error in the code word using an error-correction code (ECC) circuit coupled with the memory array; and
performing a second portion of the ECS operation based at least in part on the first portion of the ECS operation, wherein the second portion of the ECS operation comprises writing the code word to the address with the at least one error corrected.
