# US 2017/0293513 A1 · Memory controller, memory system, and memory controller control method

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

- Number: US 2017/0293513 A1
- Document ID: US20170293513A1
- Status: Published application
- Kind: A1
- Application number: 15/507,413
- Filed: 2015-07-22
- Published: 2017-10-12
- Earliest claimed: 2014-10-24
- Assignees: Sony Corporation
- Applicants: Sony Corporation
- Inventors: Tatsuo Shinbashi; Keiichi Tsutsui; Hideaki Okubo; Lui Sakai; Kenichi Nakanishi; Yasushi Fujinami
- Web page: https://patentgrep.com/patent/US20170293513A1

## CPC

- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 12/16: Protection against loss of memory contents {(contains no material, see G06F11/00)}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 13/00: Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C 16/3418: {Disturbance prevention or evaluation; Refreshing of disturbed memory data}
- G11C 16/3427: {Circuits or methods to prevent or reduce disturbance of the state of a memory cell when neighbouring cells are read or written}
- G11C 16/3431: {Circuits or methods to detect disturbed nonvolatile memory cells, e.g. which still read as programmed but with threshold less than the program verify threshold or read as erased but with threshold greater than the erase verify threshold, and to reverse the disturbance via a refreshing programming or erasing step}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

[Object] To sufficiently reduce frequency of error occurrence in memory cells. [Solution] A reading unit reads read data from a memory cell, the read data including an information bit and reversal information for determining whether or not the information bit has been reversed. In addition, an error detection/correction unit detects the presence or absence of an error in the information bit and corrects the error. A data reversing unit reverses the information bit that has the error corrected and the reversal information. Furthermore, a writing unit writes the reversed information bit and the reversed reversal information in the memory cell.

## Claims

### Claim 1

A memory controller comprising:
a reading unit configured to read read data from a memory cell, the read data including an information bit and reversal information for determining whether or not the information bit has been reversed;
an error detection/correction unit configured to detect presence or absence of an error in the information bit and correct the error;
a data reversing unit configured to reverse the information bit that has the error corrected and the reversal information; and
a writing unit configured to write the reversed information bit and the reversed reversal information in the memory cell.

### Claim 2 (depends on 1)

The memory controller according to claim 1, further comprising:
a reversed read data error detection/correction unit configured to detect presence or absence of an error in reversed read data obtained by reversing the read data and correct the error,
wherein the reversal information is a redundant bit for detecting the presence or absence of the error and correcting the error,
when only correction of an error in the read data succeeds, the data reversing unit reverses the read data that has the error corrected and supplies the read data as write data, and when only correction of the error in the reversed read data succeeds, the data reversing unit reverses the reversed read data that has the error corrected and supplies the reversed read data as the write data, and
the writing unit writes the write data in the memory cell.

### Claim 3 (depends on 2)

The memory controller according to claim 2,
wherein the writing unit writes, in the memory cell, the read data that has the error corrected before the write data is written when only the correction of the error in the read data succeeds, and additionally writes the reversed read data that has the error corrected before the write data is written when only the correction of the error in the reversed read data succeeds.

### Claim 4 (depends on 1)

The memory controller according to claim 1,
wherein the reversal information is a reversal bit indicating whether or not the information bit has been reversed,
the read data further includes a redundant bit for detecting and correcting the error, and
the error detection/correction unit detects the presence or absence of the error and corrects the error using the redundant bit.

### Claim 5 (depends on 4)

The memory controller according to claim 4, further comprising:
a re-encoding unit configured to generating a new redundant bit for detecting and correcting an error in the reversed information bit and the reversed reversal bit,
wherein the error detection/correction unit detects presence or absence of an error in the information bit and the reversal information and corrects the error,
the information bit that has the error corrected and the reversal information that has the error corrected are reversed, and
the writing unit writes a code word including the reversed information bit, the reversed reversal information, and the new redundant bit in the memory cell as write data.

### Claim 6 (depends on 5)

The memory controller according to claim 5,
wherein the writing unit writes, in the memory cell, the read data that has the error corrected before the write data is written.

### Claim 7 (depends on 4)

The memory controller according to claim 4, further comprising:
a re-encoding unit configured to generate a new redundant bit for detecting and correcting an error in the reversed information bit,
wherein the writing unit writes data including a code word including the reversed information bit and the new redundant bit and the reversed reversal information in the memory cell as write data.

### Claim 8 (depends on 7)

The memory controller according to claim 7,
wherein the writing unit writes, in the memory cell, the read data that has the error corrected before the write data is written.

### Claim 9

A memory system comprising:
a memory cell;
a reading unit configured to read, from the memory cell, read data including an information bit and reversal information for determining whether or not the information bit has been reversed;
an error detection/correction unit configured to detect presence or absence of an error in the information bit and correct the error;
a data reversing unit configured to reverse the information bit that has the error corrected and the reversal information; and
a writing unit configured to write the reversed information bit and the reversed reversal information in the memory cell.

### Claim 10

A memory controller control method comprising:
a reading procedure of reading, by a reading unit, read data from a memory cell, the read data including an information bit and reversal information for determining whether or not the information bit has been reversed;
an error detection/correction procedure of detecting, by an error detection/correction unit, presence or absence of an error in the information bit and correcting the error;
a data reversing procedure of reversing, by a data reversing unit, the information bit that has the error corrected and the reversal information; and
a writing procedure of writing, by a writing unit, the reversed information bit and the reversed reversal information in the memory cell.
