# US 2021/0175907 A1 · Memory controller, memory system, and memory control method

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

- Number: US 2021/0175907 A1
- Document ID: US20210175907A1
- Status: Published application
- Kind: A1
- Application number: 17/178,604
- Filed: 2021-02-18
- Published: 2021-06-10
- Earliest claimed: 2014-03-06
- Assignees: Toshiba Memory Corporation
- Applicants: Toshiba Memory Corporation
- Inventors: Riki SUZUKI; Toshikatsu HIDA; Osamu TORII; Hiroshi YAO; Kiyotaka IWASAKI
- Web page: https://patentgrep.com/patent/US20210175907A1

## CPC

- H03M 13/35: Unequal or adaptive error protection, e.g. by providing a different level of protection according to significance of source information or by adapting the coding according to the change of transmission channel characteristics
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- 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 11/1008: {in individual solid state devices (G06F11/1004 takes precedence)}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- H03M 13/29: combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/2957: {Turbo codes and decoding}
- G11B 20/1833: {by adding special lists or symbols to the coded information (G11B20/1806, G11B20/1866 take precedence)}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 2029/0411: {Online error correction}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

According to one embodiment, a nonvolatile memory includes a plurality of memory areas and controller circuit including an error correction code encoder. The error correction code encoder encodes a first data to generate a first parity in a first operation and encodes a second data to generate a second parity in a second operation. The controller circuit writes the first data and the first parity into a first memory area among the plurality of memory areas and writes the second data and the second parity into a second memory area among the plurality of memory areas. The size of the second data is smaller than the size of the first data and the size of the second parity is equal to the size of the first parity.

## Claims

### Claim 1

A memory system comprising:
a nonvolatile memory that includes a plurality of memory areas including a first memory area and a second memory area, a size of each of the plurality of memory areas being a first size; and
a controller configured to write data and parity into the nonvolatile memory in either a first mode or a second mode into each of the plurality of memory areas, the parity being for correcting an error in the data, wherein the controller is configured to:
in a case where a level of wear of the first memory area is lower than a first threshold, write first data and first parity into the first memory area in the first mode, a sum of a size of the first data and a size of the first parity being the first size; and
in a case where a level of wear of the second memory area is higher than the first threshold, write second data and second parity into the second memory area in the second mode, a size of the second data being smaller than the size of the first data, a size of the second parity being larger than the size of the first parity, a sum of the size of the second data and the size of the second parity being the first size, wherein
an error correction capability for the second data using the second parity is higher than an error correction capability for the first data using the first parity.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein
the first data comprises a plurality of first data clusters and the first parity comprises a plurality of third parities, the plurality of third parities being for correcting an error in the plurality of first data clusters respectively, and
the second data comprises a plurality of second data clusters and the second parity comprises a plurality of fourth parities, the plurality of fourth parities being for correcting an error in the plurality of second data clusters respectively,
a size of each of the plurality of second data clusters being equal to a size of each of the plurality of first data clusters, a size of each of the plurality of fourth parities being larger than a size of each of the plurality of third parities.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein
the first data comprises a plurality of first data clusters and the first parity comprises a plurality of third parities, the plurality of third parities being for correcting an error in the plurality of first data clusters respectively, and
the second data comprises a plurality of second data clusters and the second parity comprises a plurality of fourth parities, the plurality of fourth parities being for correcting an error in the plurality of second data clusters respectively,
a size of each of the plurality of second data clusters being smaller than a size of each of the plurality of first data clusters, a size of each of the plurality of fourth parities being equal to a size of each of the plurality of third parities.

### Claim 4 (depends on 1)

The memory system according to claim 1, wherein
the level of wear of the first memory area comprises the number of write-and-erase cycles performed on the first memory area, and
the level of wear of the second memory area comprises the number of write-and-erase cycles performed on the second memory area.

### Claim 5 (depends on 1)

The memory system according to claim 1, wherein
the level of wear of the first memory area comprises a bit error ratio of data read from the first memory area, and
the level of wear of the second memory area comprises a bit error ratio of data read from the second memory area.

### Claim 6 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to write data and parity in the second mode into each of the plurality of memory areas in a case where a total size of parities to be stored is less than a second threshold.

### Claim 7 (depends on 6)

The memory system according to claim 6, wherein
the second threshold is determined so that a write performance of the memory system satisfies a predetermined performance.

### Claim 8 (depends on 7)

The memory system according to claim 7, wherein
the second threshold is further determined so that a write amplification of the memory system satisfies a third threshold.

### Claim 9 (depends on 1)

The memory system according to claim 1, wherein
each of the plurality of memory areas comprises a unit of a data write operation to the nonvolatile memory.

### Claim 10 (depends on 1)

The memory system according to claim 1, wherein
each of the plurality of memory areas comprises a memory chip.

### Claim 11

A memory system comprising:
a nonvolatile memory that includes a plurality of memory areas including a first memory area and a second memory area, a size of each of the plurality of memory areas being a first size; and
a controller configured to control the nonvolatile memory in a first mode and a second mode, wherein the controller is configured to:
in a case where a level of wear of the first memory area is lower than a first threshold, write a first number of first data clusters and a second number of first parities into the first memory area in the first mode, a sum of a total size of the first number of first data clusters and a total size of the second number of first parities being the first size; and
in a case where a level of wear of the second memory area is higher than the first threshold, write a third number of second data clusters and a fourth number of second parities into the second memory area in the second mode, a sum of a total size of the third number of second data clusters and a total size of the fourth number of second parities being the first size,
the total size of the third number of second data clusters being smaller than the total size of the first number of first data clusters, the total size of the fourth number of second parities being larger than the total size of second number of first parities , wherein
an error correction capability for the second data clusters using the second parities is higher than an error correction capability for the first data clusters using the first parities.

### Claim 12 (depends on 11)

The memory system according to claim 11, wherein
a size of each of the third number of second data clusters being equal to a size of each of the first number of first data clusters, a size of each of the fourth number of second parities being larger than a size of each of the second number of first parities.

### Claim 13 (depends on 11)

The memory system according to claim 11, wherein
a size of each of the third number of second data clusters being smaller than a size of each of the first number of first data clusters, a size of each of the fourth number of second parities being equal to a size of each of the second number of first parities.

### Claim 14 (depends on 11)

The memory system according to claim 11, wherein
the level of wear of the first memory area comprises the number of write-and-erase cycles performed on the first memory area, and
the level of wear of the second memory area comprises the number of write-and-erase cycles performed on the second memory area.

### Claim 15 (depends on 11)

The memory system according to claim 11, wherein
the level of wear of the first memory area comprises a bit error ratio of data read from the first memory area, and
the level of wear of the second memory area comprises a bit error ratio of data read from the second memory area.

### Claim 16 (depends on 11)

The memory system according to claim 11, wherein
the controller is further configured to control the nonvolatile memory in the second mode in a case where a total size of parities to be stored in the second memory area is less than a second threshold.

### Claim 17 (depends on 16)

The memory system according to claim 16, wherein
the second threshold is determined so that a write performance of the memory system satisfies a predetermined performance.

### Claim 18 (depends on 17)

The memory system according to claim 17, wherein
the second threshold is further determined so that a write amplification of the memory system satisfies a third threshold.

### Claim 19 (depends on 11)

The memory system according to claim 11, wherein
each of the plurality of memory areas comprises a unit of a data write operation to the nonvolatile memory.

### Claim 20 (depends on 11)

The memory system according to claim 11, wherein
each of the plurality of memory areas comprises a memory chip.
