# US 2022/0351758 A1 · On-the-fly programming and verifying method for memory cells based on counters and ecc feedback

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

- Number: US 2022/0351758 A1
- Document ID: US20220351758A1
- Status: Published application
- Kind: A1
- Application number: 17/748,866
- Filed: 2022-05-19
- Published: 2022-11-03
- Earliest claimed: 2020-03-03
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Riccardo Muzzetto; Ferdinando Bedeschi; Umberto Di Vincenzo
- Web page: https://patentgrep.com/patent/US20220351758A1

## CPC

- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 7/1009: {Data masking during input/output}
- G11C 7/06: Sense amplifiers; Associated circuits {, e.g. timing or triggering circuits}
- G11C 7/1012: {Data reordering during input/output, e.g. crossbars, layers of multiplexers, shifting or rotating}
- G11C 7/1087: {Data input latches}
- G11C 11/2275: {Writing or programming circuits or methods}
- G11C 13/0064: {Verifying circuits or methods}
- G11C 13/0069: {Writing or programming circuits or methods}
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 29/18: Address generation devices; Devices for accessing memories, e.g. details of addressing circuits
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 8/06: Address interface arrangements, e.g. address buffers
- G11C 11/221: {using ferroelectric capacitors}
- G11C 13/0004: {comprising amorphous/crystalline phase transition cells}
- G11C 2013/0066: {Verify correct writing whilst writing is in progress, e.g. by detecting onset or cessation of current flow in cell and using the detector output to terminate writing}
- G11C 2013/0076: {Write operation performed depending on read result}
- G11C 2013/0092: {Write characterized by the shape, e.g. form, length, amplitude of the write pulse}
- G11C 2029/1806: {Address conversion or mapping, i.e. logical to physical address}
- G11C 2207/2263: Write conditionally, e.g. only if new data and old data differ
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

The present invention relates to a method of operating memory cells, comprising reading a previous user data from the memory cells; writing a new user data and merging the new user data with the previous user data into write registers; generating mask register information, and wherein the mask register information indicates bits of the previous user data stored in the memory cells to be switched or not to be switched in their logic values; counting numbers of a first logic value and a second logic value to be written using the mask register information, respectively; storing the numbers of the first logic value and the second logic value into a first counter and a second counter, respectively; and applying a programming pulse to the memory cells according to the mask register information.

## Claims

### Claim 1

(canceled)

### Claim 2

A method of operating memory cells, comprising:
receiving a previous user data and a new user data;
determining mask register information based at least in part on receiving the previous user data and the new user data;
counting one or more first quantities of a first logic value and one or more second quantities of a second logic value to be written based at least in part on the mask register information and the new user data;
storing a quantity of bits having the first logic value into a first counter and storing a quantity of bits having the second logic value into a second counter;
applying a programming pulse to the memory cells according to the mask register information based at least in part on initiating a write sequence programming sequence using a first write sequence or a second write sequence; and
performing an error correction operation based at least in part on comparing a quantity of programmed memory cells to a threshold quantity of programmed memory cells having the first logic value or the second logic value.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the mask register information comprises:
writing the new user data into the memory cells;
merging the new user data with the previous user data into write registers; and
generating the mask register information, wherein the mask register information identifies which bits of the previous user data stored in the memory cells match bits of the new user data.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first write sequence corresponds to a first voltage value and the second write sequence corresponds to a second voltage value, and wherein the first voltage value is an upper voltage value and the second voltage value is a down voltage value.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
comparing a logic value of each bit of the new user data with a corresponding bit of the previous user data, wherein counting the one or more first quantities of the first logic value and the one or more second quantities of the second logic value is based at least in part on comparing the logic value of each bit of the new user data with the corresponding bit of the previous user data.

### Claim 6 (depends on 2)

The method of claim 2, further comprising:
identifying one or more memory cells that are not programmed to a first logic state or a second logic state; and
applying an additional programming pulse to each of the one or more memory cells that are not programmed to the first logic state or the second logic state.

### Claim 7 (depends on 2)

The method of claim 2, wherein the error correction operation further comprises:
computing an ECC parity corresponding to the new user data.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
counting a quantity of the memory cells to be switched in logic value during the applying of the programming pulse; and
applying the programming pulse to the memory cells using at least ECC feedback, wherein the ECC feedback is based at least in part on comparing the quantity of programmed memory cells to the threshold quantity of programmed memory cells having the first logic value or the second logic value.

### Claim 9 (depends on 2)

The method of claim 2, wherein the threshold quantity of programmed memory cells is less than the quantity of bits stored in the first counter, or the second counter, or both.

### Claim 10 (depends on 2)

The method of claim 2, wherein initiating the write sequence programming sequence comprises initiating a first write sequence or a second write sequence.

### Claim 11

An apparatus, comprising:
a controller associated with a memory device, wherein the controller is configured to cause the apparatus to:
receive a previous user data and a new user data;
determine mask register information based at least in part on receiving the previous user data and the new user data;
count one or more first quantities of a first logic value and one or more second quantities of a second logic value to be written based at least in part on the mask register information and the new user data;
store a quantity of bits having the first logic value into a first counter and storing a quantity of bits having the second logic value into a second counter;
apply a programming pulse to memory cells of the memory device according to the mask register information based at least in part on initiating a write sequence programming sequence using a first write sequence or a second write sequence; and
perform an error correction operation based at least in part on comparing a quantity of programmed memory cells to a threshold quantity of programmed memory cells having the first logic value or the second logic value.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein determining the mask register information is configured to cause the apparatus to:
write the new user data into the memory cells;
merge the new user data with the previous user data into write registers; and
generate the mask register information, wherein the mask register information identifies which bits of the previous user data stored in the memory cells match bits of the new user data.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein:
the first write sequence corresponds to a first voltage value and the second write sequence corresponds to a second voltage value, and
the first voltage value is an upper voltage value and the second voltage value is a down voltage value.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the controller is further configured to cause the apparatus to:
compare a logic value of each bit of the new user data with a corresponding bit of the previous user data, wherein counting the one or more first quantities of the first logic value and the one or more second quantities of the second logic value is based at least in part on comparing the logic value of each bit of the new user data with the corresponding bit of the previous user data.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the controller is further configured to cause the apparatus to:
identify one or more memory cells that are not programmed to a first logic state or a second logic state; and
apply an additional programming pulse to each of the one or more memory cells that are not programmed to the first logic state or the second logic state.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein the error correction operation is further configured to cause the apparatus to:
compute an ECC parity corresponding to the new user data.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the controller is further configured to cause the apparatus to:
count a quantity of the memory cells to be switched in logic value during the applying of the programming pulse; and
apply the programming pulse to the memory cells using at least ECC feedback, wherein the ECC feedback is based at least in part on comparing the quantity of programmed memory cells to the threshold quantity of programmed memory cells having the first logic value or the second logic value.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the threshold quantity of programmed memory cells is less than the quantity of bits stored in the first counter, or the second counter, or both.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein initiating the write sequence programming sequence comprises initiating a first write sequence or a second write sequence.

### Claim 20

A memory device comprising:
an array of memory cells;
at least one codeword stored in the array of memory cells including a previous user data;
a memory controller configured to execute instructions for accessing the memory cells; and
a circuit for accessing the memory cells, the circuit being operatively coupled with the array of memory cells and configured to:
receive a new user data;
determine mask register information based at least in part on receiving the new user data;
count quantities of a first logic value and quantities of a second logic value to be written based at least in part on the mask register information and the new user data;
store a first quantity of bits having the first logic value into a first counter and storing a second quantity of bits having the second logic value into a second counter;
apply a programming pulse to the memory cells according to the mask register information based at least in part on initiating a programming sequence using a first write sequence or a second write sequence; and
perform an error correction procedure based at least in part on comparing a quantity of programmed memory cells to a threshold quantity of programmed memory cells having the first logic value or the second logic value.

### Claim 21 (depends on 20)

The memory device of claim 20, wherein the circuit for accessing the memory cells is further configured to:
write the new user data and merging the new user data with the previous user data into write registers; and
generate the mask register information, wherein the mask register information identifies which bits of the previous user data stored in the memory cells match logic values of the new user data.
