# US 2022/0283950 A1 · Mapping for Multi-State Programming of Memory Devices

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

- Number: US 2022/0283950 A1
- Document ID: US20220283950A1
- Status: Published application
- Kind: A1
- Application number: 17/746,849
- Filed: 2022-05-17
- Published: 2022-09-08
- Earliest claimed: 2018-12-14
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Bernie RUB; Mostafa EL GAMAL; Niranjay RAVINDRAN; Richard David BARNDT; Henry CHIN; Ravi J. KUMAR; James FITZPATRICK
- Web page: https://patentgrep.com/patent/US20220283950A1

## CPC

- G06F 12/0873: Mapping of cache memory to specific storage devices or parts thereof
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0871: Allocation or management of cache space
- G11C 8/10: Decoders
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 16/10: Programming or data input circuits
- G06F 2212/1024: Latency reduction
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/214: Solid state disk
- G06F 2212/283: Plural cache memories
- G06F 2212/313: In storage device
- G06F 2212/403: Error protection encoding, e.g. using parity or ECC codes
- G06F 2212/608: Details relating to cache mapping
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G11C 2211/5641: Multilevel memory having cells with different number of storage levels
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Storage device programming methods, systems and devices are described. A method may generate a mapping of data based on a set of data, the mapping of data including a first mapped data and a second mapped data. The method may include performing a first programming operation to write, in a first mode, the first mapped data to the memory device. The method may include storing the second mapped data to a cache. The method may include generating a second set of data, based on an inverse mapping of the mapping of data including the second mapped data from the cache and the first mapped data from the memory device, for writing, in a second mode, to the memory device, wherein the second set of data includes the set of data, and the first mode and the second mode correspond to different modes of writing to the memory device.

## Claims

### Claim 1

A method for a data storage system, the method implemented using one or more controllers, the method comprising:
generating, based on a first set of data, a first mapped data and a second mapped data based on a Gray code encoding;
writing to a first memory, in a first mode, the first mapped data;
generating a second set of data, based on the first mapped data and the second mapped data; and
writing to the first memory, in a second mode, data based on the second set of data,
wherein:
the first mapped data is representable in first rows and one or more columns;
the second mapped data is representable in second rows and at least one column;
the at least one column of the second mapped data includes more transitions than any one of the one or more columns of the first mapped data; and
each transition corresponds to a change between neighboring data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one column of the second mapped data includes more transitions than all of the one or more columns of the first mapped data.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
generating the second set of data comprises generating the second set of data, represented by a set of balanced Gray codes, based on a combination of the first mapped data and the second mapped data; and
the set of balanced Gray codes includes a sum of transitions that is not greater than a maximum number of read levels for writing in the second mode to the first memory.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the first mode and the second mode correspond to different modes of writing to the first memory; and
generating the second set of data comprises generating the second set of data based on an inverse mapping of the first mapped data and the second mapped data.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the first mapped data comprises a first plurality of data represented by a plurality of balanced Gray codes; and
the second mapped data comprises a second plurality of data.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
the plurality of balanced Gray codes include a sum of transitions for each of the one or more columns;
a total of the sums of the transitions for all of the one or more columns is not greater than a maximum number of read levels for writing in the first mode to the first memory; and
a sum of the transitions for one of the one or more columns and a sum of the transitions for a next one of the one or more columns are same or differ by not more than one.

### Claim 7 (depends on 1)

The method of claim 1, wherein:
the second set of data comprises the first set of data; and
an amount of the first mapped data is greater than an amount of the second mapped data.

### Claim 8

A data storage system, comprising:
a first memory; and
one or more controllers configured to cause:
generating, based on a first set of data, a first mapped data and a second mapped data based on a Gray code encoding;
writing to the first memory, in a first mode, the first mapped data;
generating a second set of data, based on the first mapped data and the second mapped data; and
writing to the first memory, in a second mode, data based on the second set of data,
wherein:
the first mapped data is representable in first rows and one or more columns;
the second mapped data is representable in second rows and at least one column;
the at least one column of the second mapped data includes more transitions than any one of the one or more columns of the first mapped data; and
each transition corresponds to a change between neighboring data.

### Claim 9 (depends on 8)

The data storage system of claim 8, wherein the at least one column of the second mapped data includes more transitions than all of the one or more columns of the first mapped data.

### Claim 10 (depends on 8)

The data storage system of claim 8, wherein:
generating the second set of data comprises generating the second set of data, represented by a set of balanced Gray codes, based on a combination of the first mapped data and the second mapped data; and
the set of balanced Gray codes includes a sum of transitions that is not greater than a maximum number of read levels for writing in the second mode to the first memory.

### Claim 11 (depends on 8)

The data storage system of claim 8, wherein:
the first mode and the second mode correspond to different modes of writing to the first memory; and
generating the second set of data comprises generating the second set of data based on an inverse mapping of the first mapped data and the second mapped data.

### Claim 12 (depends on 8)

The data storage system of claim 8, wherein:
the first mapped data comprises a first plurality of data represented by a plurality of balanced Gray codes; and
the second mapped data comprises a second plurality of data.

### Claim 13 (depends on 12)

The data storage system of claim 12, wherein:
the plurality of balanced Gray codes include a sum of transitions for each of the one or more columns;
a total of the sums of the transitions for all of the one or more columns is not greater than a maximum number of read levels for writing in the first mode to the first memory; and
a sum of the transitions for one of the one or more columns and a sum of the transitions for a next one of the one or more columns are same or differ by not more than one.

### Claim 14 (depends on 8)

The data storage system of claim 8, wherein data in every two rows of the second mapped data are an identical pair.

### Claim 15 (depends on 8)

The data storage system of claim 8, wherein:
a number of transitions for the first mapped data comprises seven transitions; and
a number of transitions for the second mapped data comprises eight transitions.

### Claim 16 (depends on 8)

The data storage system of claim 8, wherein:
the second set of data comprises the first set of data; and
an amount of the first mapped data is greater than an amount of the second mapped data.

### Claim 17 (depends on 8)

The data storage system of claim 8, wherein the one or more controllers are configured to cause storing the second mapped data into a cache that is different from the first memory.

### Claim 18

An apparatus, comprising:
a first memory;
means for generating, based on a first set of data, a first mapped data and a second mapped data based on a Gray code encoding;
means for writing to the first memory, in a first mode, the first mapped data;
means for generating a second set of data, based on the first mapped data and the second mapped data; and
means for writing to the first memory, in a second mode, data based on the second set of data,
wherein:
the first mapped data is representable in first rows and one or more columns;
the second mapped data is representable in second rows and at least one column;
the at least one column of the second mapped data includes more transitions than any one of the one or more columns of the first mapped data; and
each transition corresponds to a change between neighboring data.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the at least one column of the second mapped data includes more transitions than all of the one or more columns of the first mapped data.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein:
the means for generating the second set of data comprises means for generating the second set of data, represented by a set of balanced Gray codes, based on a combination of the first mapped data and the second mapped data; and
the set of balanced Gray codes includes a sum of transitions that is not greater than a maximum number of read levels for writing in the second mode to the first memory.
