# US 12,182,407 B2 · Monitoring flash memory erase progress using erase credits

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

- Number: US 12,182,407 B2
- Document ID: US12182407B2
- Status: Granted
- Kind: B2
- Application number: 17/346,136
- Filed: 2021-06-11
- Published: 2021-09-30
- Granted: 2024-12-31
- Earliest claimed: 2019-08-05
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Giuseppe Cariello; Fulvio Rori; Jung Sheng Hoei
- Web page: https://patentgrep.com/patent/US12182407B2

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The progress of an erase operation for a memory device is monitored using an erase credit mechanism. In one approach, an erase operation is performed to erase a memory. Erase pulse slices used in the erase operation are monitored. Erase credits associated with the erase operation are determined. The erase credits include an erase credit associated with each of the erase pulse slices. Based on the erase credits, an extent of erasure of the memory is determined. In response to determining that the extent of erasure has reached a predetermined threshold, the erase operation is terminated.

## Claims

### Claim 1

A system comprising:
a counter;
memory cells configured to store data for a memory device;
at least one processing device; and
memory containing instructions configured to instruct the at least one processing device to:
perform an erase operation to erase at least a portion of the memory cells, the erase operation using erase pulse slices;
determine erase credits associated with the erase operation, wherein the erase credits include a respective erase credit associated with a corresponding one of the erase pulse slices;
store, using the counter, a total of the erase credits associated with the erase operation;
determine, based on the stored total of the erase credits, an extent of erasure of the portion of the memory cells;
in response to determining that the extent of erasure has reached a threshold, complete the erase operation;
in response to a read request from a host device that requests data stored in the memory device, suspend the erase operation to provide an interruption point for performing a read operation; and
after completing the read operation, determine whether to resume the erase operation based on the stored total of the erase credits.

### Claim 2 (depends on 1)

The system of claim 1, wherein the instructions are further configured to instruct the at least one processing device to:
after completing the read operation, determine the total of the erase credits stored in the counter; and
determine whether to resume the erase operation based on the stored total of the erase credits.

### Claim 3 (depends on 2)

The system of claim 2, wherein the instructions are further configured to instruct the at least one processing device to, in response to determining to resume the erase operation, resume the erase operation without performing a verify operation to determine an erase state of the memory.

### Claim 4 (depends on 2)

The system of claim 2, wherein the instructions are further configured to instruct the at least one processing device to, after completing the erase operation, reset the counter in preparation for a subsequent erase operation.

### Claim 5 (depends on 1)

The system of claim 1, wherein the memory device is a flash memory device, and the at least one processing device includes a controller configured to receive requests from a host device.

### Claim 6 (depends on 1)

The system of claim 1, wherein completing the erase operation comprises performing a verify operation to determine whether the portion of the memory cells has been erased.

### Claim 7 (depends on 6)

The system of claim 6, wherein the instructions are further configured to instruct the at least one processing device to, in response to determining that the portion of the memory cells has not been erased, use at least one additional ramp or erase pulse slice in the erase operation.

### Claim 8 (depends on 1)

The system of claim 1, wherein the instructions are further configured to instruct the at least one processing device to:
after determining the extent of erasure, determine whether a suspend request has been received;
in response to determining that the suspend request has been received, suspend the erase operation and perform a read operation; and
after completing the read operation, resume the erase operation.

### Claim 9

A method comprising:
monitoring, by a controller of a memory device, an erase operation using one or more ramps;
determining, by the controller, erase credits associated with the erase operation, wherein each erase credit is based on a magnitude of an erase voltage and is associated with a respective one of the ramps;
storing, using a counter, a total of the erase credits;
determining, based on the stored total of erase credits, an extent of erasure;
in response to determining that the extent of erasure has reached a threshold, completing the erase operation;
in response to a read request from a host device that requests data stored in the memory device, suspend the erase operation to provide an interruption point for performing a read operation; and
after completing the read operation, determining whether to resume the erase operation based on the stored total of the erase credits.

### Claim 10 (depends on 9)

The method of claim 9, wherein determining the extent of erasure comprises comparing the stored total to the threshold.

### Claim 11 (depends on 9)

The method of claim 9, wherein the memory device includes a flash memory array.

### Claim 12 (depends on 9)

The method of claim 9, wherein the respective erase credit associated with each of the ramps is determined based on a voltage profile of the ramp.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
counting a number of the ramps that have been interrupted by a suspend request; and
in response to determining that the number of interrupted ramps has reached a threshold, disabling further interruption of the erase operation by any subsequent suspend request until the erase operation is completed.

### Claim 14 (depends on 9)

The method of claim 9, further comprising, resuming the erase operation without performing a verify operation to determine an erase state of memory cells of the memory device.

### Claim 15 (depends on 9)

The method of claim 9, further comprising, after completing the erase operation, resetting the counter.

### Claim 16

A non-transitory machine-readable storage medium storing instructions which, when executed on at least one processing device, cause the at least one processing device to:
perform an erase operation for a memory, wherein the erase operation uses one or more ramps;
determine credits associated with the erase operation, including determining a respective credit associated with each of the ramps;
store a number of the credits associated with the erase operation;
determine, based on the stored number of the credits, an extent of erasure of the memory;
in response to determining that the extent of erasure has reached a first threshold, complete the erase operation;
in response to receiving a suspend request, suspend the erase operation;
in response to receiving the suspend request, perform a read operation; and
determine whether to resume the erase operation based on the stored number of the credits.

### Claim 17 (depends on 16)

The non-transitory machine-readable storage medium of claim 16, wherein the instructions further cause the at least one processing device to:
resume the erase operation without performing a verify operation to determine an erase state of the memory.

### Claim 18 (depends on 16)

The non-transitory machine-readable storage medium of claim 16, wherein the respective credit associated with each of the ramps is determined based on a time period of the ramp.

### Claim 19 (depends on 16)

The non-transitory machine-readable storage medium of claim 16, wherein the instructions further cause the at least one processing device to:
count a number of the ramps that have been interrupted by a suspend request; and
in response to determining that the number of interrupted ramps has reached a second threshold, disable further interruption of the erase operation until the erase operation is completed.
