# US 2015/0149838 A1 · Rearranging programming data to avoid hard errors

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

- Number: US 2015/0149838 A1
- Document ID: US20150149838A1
- Status: Published application
- Kind: A1
- Application number: 14/612,103
- Filed: 2015-02-02
- Published: 2015-05-28
- Earliest claimed: 2013-02-27
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Aswin Thiruvengadam; Angelo Visconti; Mauro Bonanomi; Richard E. Fackenthal; William Melton
- Web page: https://patentgrep.com/patent/US20150149838A1

## CPC

- G06F 11/1008: {in individual solid state devices (G06F11/1004 takes precedence)}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1666: {where the redundant component is memory or memory area}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 7/1012: {Data reordering during input/output, e.g. crossbars, layers of multiplexers, shifting or rotating}
- G11C 13/0004: {comprising amorphous/crystalline phase transition cells}
- G11C 13/0069: {Writing or programming circuits or methods}
- G11C 16/10: Programming or data input circuits
- G11C 19/00: Digital stores in which the information is moved stepwise, e.g. shift registers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

This disclosure relates to avoiding a hard error in memory during write time by shifting data to be programmed to memory to mask the hard error. In one implementation, a method of programming data to a memory array includes obtaining error data corresponding to a selected memory cell, shifting a data pattern such that a value to be stored by the selected memory cell matches a value associated with a hard error, and programming the shifted data pattern to memory array such that the value programmed to the selected memory cell matches the value associated with the hard error.

## Claims

### Claim 1

(canceled)

### Claim 2

An electronically-implemented method of programming data to a memory array, the method comprising:
rearranging a data pattern to be programmed to the memory array to generate a rearranged data pattern that is different than the data pattern, wherein rearranging is based at least partly on data associated with a hard error corresponding to a selected memory cell of the memory array; and
programming the rearranged data pattern to the memory array such that a value programmed to the selected memory cell matches a value of the hard error corresponding to the selected memory cell.

### Claim 3 (depends on 2)

The method of claim 2, wherein rearranging the data pattern comprises circularly shifting the data pattern.

### Claim 4 (depends on 2)

The method of claim 2, wherein rearranging comprises rearranging the data pattern such that such that a value programmed to another selected memory cell of the memory array matches a value of another hard error associated with the another selected memory cell.

### Claim 5 (depends on 2)

The method of claim 2, wherein rearranging the data pattern comprises non-circularly rearranging the data pattern.

### Claim 6 (depends on 5)

The method of claim 5, wherein non-circularly rearranging the data pattern comprises scrambling the data pattern according to a pre-defined pattern.

### Claim 7 (depends on 5)

The method of claim 5, wherein non-circularly rearranging comprises swapping positions of data digits.

### Claim 8 (depends on 2)

The method of claim 2, further comprising detecting whether a number of hard errors associated with programming the data pattern to the memory array satisfies a threshold number of errors, wherein said rearranging is performed in response to said detecting.

### Claim 9 (depends on 2)

The method of claim 2, wherein the memory array comprises phase change memory elements.

### Claim 10 (depends on 2)

The method of claim 2, wherein the data pattern comprises a codeword, and wherein the method further comprises padding the codeword with padded data digits that each have the same value.

### Claim 11 (depends on 10)

The method of claim 10, wherein padding the codeword comprises adding at least one of leading or trailing digits to the codeword.

### Claim 12 (depends on 10)

The method of claim 10, wherein rearranging comprising circularly shifting the codeword until the first digit of rearranged data proximate the padded data digits has a different value than the value of the padded data digits.

### Claim 13 (depends on 2)

The method of claim 2, further comprising storing shift data to the memory array, the shift data identifying an amount by which the rearranged data pattern is shifted relative to the data pattern.

### Claim 14 (depends on 2)

The method of claim 2, further comprising storing shift data to another memory array, the shift data identifying an amount by which the rearranged data pattern is shifted relative to the data pattern.

### Claim 15

An apparatus comprising:
a memory array comprising memory cells configured to store data;
a shift circuit configured to rearrange a string of data;
a shift control circuit configured to cause the string of data to be rearranged by the shift circuit based at least partly on data indicative of a hard error corresponding to a selected memory cell of the memory array, such that a value of a digit in the string of data rearranged by the shift circuit corresponding to the selected memory cell matches with a value associated with the hard error corresponding to the selected memory cell; and
a write circuit configured to program data rearranged by the shift circuit to the memory array such that a digit in the string of rearranged data is programmed to the selected memory cell.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the shift circuit is configured to non-circularly rearrange the string of data.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the rearranged data string comprises a codeword with padded data digits that each have the same value, the padded data digits comprising at least one of leading data digits or trailing data digits.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein the shift control circuit is configured to generate shift data indicative of an amount by which the shift circuit shifted the string of data.

### Claim 19

A system comprising:
a first die comprising a first memory configured to store at least a portion of a codeword; and
a second die comprising a second memory configured to store shift data indicative of an amount by which the portion of the codeword is shifted in the first memory, the shift data being protected by error correction codes; and
a read shift circuit configured to shift the portion of the codeword read from the first memory based at least partly on shift data.

### Claim 20 (depends on 19)

The system of claim 19, wherein the second die further comprises an on-die error correction code decoder configured to correct an error in the shift data.

### Claim 21 (depends on 19)

The system of claim 19, wherein the codeword comprises padded data digits that each have the same value, the padded data digits comprising at least one of leading data digits or trailing data digits.
