# US 2021/0286670 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 2021/0286670 A1
- Document ID: US20210286670A1
- Status: Published application
- Kind: A1
- Application number: 16/816,024
- Filed: 2020-03-11
- Published: 2021-09-16
- 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/US20210286670A1

## 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

A method comprising:
receiving, at a memory device, a first refresh command directed to a bank of memory cells;
in response to receiving the first refresh command, activating a target row of the bank of memory cells and retrieving data from the target row, the data comprising a code word corresponding to an address associated with the target row;
detecting at least one error in the code word of the retrieved data;
receiving, at the memory device, a second refresh command directed to the bank of memory cells; and
in response to receiving the second refresh command, activating the target row and writing at the address the code word with the at least one error corrected.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
deactivating the target row of the bank of memory cells before receiving, at the memory device, the second refresh command.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
correcting the at least one error in the code word based at least in part on detecting the at least one error, wherein detecting and correcting the at least one error in the code word comprises using an error-correction code (ECC) circuit of the memory device.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
writing a register with an indication that the code word has been corrected based on correcting the at least one error in the code word.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
writing the data that include the code word with the at least one error corrected in one or more registers coupled with the bank of memory cells.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining that a write command has not been executed to the address, wherein writing at the address the code word with the at least one error corrected is based on the determination.

### Claim 7

A method comprising:
receiving, at a memory device, a first refresh command directed to a bank of memory cells that includes a plurality of rows; and
in response to receiving the first refresh command:
activating a first row of the plurality of rows;
retrieving a first code word from the first row, the first code word corresponding to an address associated with the first row;
checking for one or more errors in the first code word using an error-correction code (ECC) circuit of the memory device; and
deactivating the first row before activating a second row of the plurality of rows.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
correcting at least one error in the first code word; and
storing the first code word with the at least one error corrected in one or more registers coupled with the bank of memory cells.

### Claim 9 (depends on 7)

The method of claim 7, further comprising:
receiving, at the memory device, a second refresh command directed to the bank of memory cells; and
in response to receiving the second refresh command:
determining that the first code word includes no error;
activating the second row;
retrieving a second code word from the second row; and
checking for one or more errors in the second code word using the ECC circuit.

### Claim 10 (depends on 7)

The method of claim 7, further comprising:
correcting at least one error in the first code word using the ECC circuit when the ECC circuit detects the at least one error based on checking for the one or more errors in the first code word; and
setting an indication that the first code word has been corrected.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
receiving, at the memory device, a second refresh command directed to the bank of memory cells; and
in response to receiving the second refresh command:
activating the first row; and
writing at the address, based at least in part on the indication, the first code word with the at least one error corrected.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
determining that a write command has not been executed at the address, wherein writing at the address the first code word with the at least one error corrected is based on the determination.

### Claim 13 (depends on 10)

The method of claim 10, further comprising:
receiving, at the memory device, a second refresh command directed to the bank of memory cells; and
in response to receiving the second refresh command:
determining that at least one write command has been executed at the address;
activating the second row;
retrieving a second code word from the second row; and
checking for one or more errors in the second code word using the ECC circuit.

### Claim 14

A memory device comprising:
a memory array including a bank of memory cells;
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 first refresh command directed to the bank of memory cells;
in response to receiving the first refresh command, activating a target row of the bank of memory cells and retrieving data from the target row, the data comprising a code word corresponding to an address associated with the target row;
detecting at least one error in the code word using the ECC circuit;
receiving, at the memory device, a second refresh command directed to the bank of memory cells; and
in response to receiving the second refresh command, activating the target row and writing at the address the code word with the at least one error corrected.

### Claim 15 (depends on 14)

The memory device of claim 14, wherein the circuitry is further configured to deactivate the target row of the bank of memory cells before receiving, from the host device, the second refresh command.

### Claim 16 (depends on 14)

The memory device of claim 14, wherein the circuitry is further configured to correct the at least one error in the code word using the ECC circuit based at least in part on detecting the at least one error.

### Claim 17 (depends on 16)

The memory device of claim 16, wherein the circuitry is further configured to write a register with an indication that the code word has been corrected based on correcting the at least one error in the code word.

### Claim 18 (depends on 14)

The memory device of claim 14, wherein the circuitry is further configured to write the data that include the code word with the at least one error corrected in one or more registers coupled with the bank of memory cells.

### Claim 19 (depends on 18)

The memory device of claim 18, wherein the one or more registers are configured to have a data dimension corresponding to a first number of bits in the code word and a second number of bits in a parity field associated with the code word.

### Claim 20 (depends on 14)

The memory device of claim 14, wherein the circuitry is further configured to determine whether one or more write commands have been executed to the address.
