# US 2013/0159785 A1 · Semiconductor storage device, method for controlling the same and control program

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

- Number: US 2013/0159785 A1
- Document ID: US20130159785A1
- Status: Published application
- Kind: A1
- Application number: 13/713,442
- Filed: 2012-12-13
- Published: 2013-06-20
- Earliest claimed: 2011-12-16
- Assignees: Kabushiki Kaisha Toshiba
- Inventors: Daisuke HASHIMOTO
- Web page: https://patentgrep.com/patent/US20130159785A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G11C 16/3404: {Convergence or correction of memory cell threshold voltages; Repair or recovery of overerased or overprogrammed cells}
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 2029/0409: {Online test}
- G11C 2029/0411: {Online error correction}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

According to one embodiment, a semiconductor memory stores a program for causing a memory controller to operate in at least one of first and second modes. In the first mode, for each of the blocks, the memory controller autonomously erases and writes data and reads the written data, and determines that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or a threshold. In the second mode, when error correction of read substantial data fails, the memory controller reads the substantial data which failed in the error correction using a read level shifted from the present read level.

## Claims

### Claim 1

A semiconductor storage device comprising:
a semiconductor memory comprising blocks including memory cells and a memory controller, wherein
the semiconductor memory:
writes data in the memory cells, reads data from the memory cells, and erases data in the memory cells, and shifts a read level for data read in accordance with control by the memory controller, and
stores a program for causing the memory controller to operate in at least one of a first mode and a second mode;
the memory controller:
writes substantial data and redundant data for correcting an error in the substantial data in the semiconductor memory,
reads substantial data and corresponding redundant data from the semiconductor memory, and corrects an error in the read substantial data in accordance with the read redundant data,
reads the program to enter the first or second mode when power is supplied to the semiconductor storage device,
in the first mode, for each of the blocks, autonomously erases data, writes data, and reads the written data, and determines that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or a threshold of the memory controller,
in the second mode, when error correction of substantial data read from the semiconductor memory fails, reads the substantial data which failed in the error correction using a read level shifted from the present read level.

### Claim 2 (depends on 1)

The device of claim 1, wherein in the first mode when correcting errors in read data fails, read of the data which failed in the error correction using a read level shifted from the present read level is not executed.

### Claim 3 (depends on 1)

The device of claim 1, wherein in the first mode the memory controller autonomously reads data before the data erase, and then determines that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or the threshold of the memory controller.

### Claim 4 (depends on 1)

The device of claim 1, wherein in the first mode the memory controller autonomously reads data in the blocks, and when error correction of the read data fails, the memory controller reads the data which failed in the error correction using a read level shifted from the present read level.

### Claim 5 (depends on 4)

The device of claim 4, wherein in the first mode the memory controller:
when correction of errors in data read from a first area of the semiconductor memory fails, reads the data which failed in the error correction using a read level shifted from the present read level, and
when correction of errors in data read from a second area of the semiconductor memory fails, does not read the data which failed in the error correction using a read level shifted from the present read level.

### Claim 6 (depends on 1)

The device of claim 1, wherein whether the program causes the semiconductor storage device to operate in the first or second mode after cut off of power and the following resupply of the power to the semiconductor storage device is switched by a received command.

### Claim 7 (depends on 1)

The device of claim 1, further comprising a temperature sensor, wherein the memory controller enters the first mode after a temperature measured by the temperature sensor exceeds a second threshold.

### Claim 8

A method of controlling a semiconductor storage device comprising a semiconductor memory comprising blocks including memory cells, and a memory controller, the method comprising:
in a first mode, for each of the blocks, autonomously erasing data, writing data, and reading the written data to determine that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or a threshold of the memory controller;
in a second mode,
writing substantial data and redundant data for correcting an error in the substantial data in the semiconductor memory,
reading substantial data and corresponding redundant data from the semiconductor memory, correcting an error in the read substantial data in accordance with the read redundant data,
when error correction of substantial data read from the semiconductor memory fails, reading the substantial data which failed in the error correction using a read level shifted from the present read level; and
writing in the semiconductor memory a program which causes the memory controller to operate in the first mode or a program which causes the memory controller to operate in the second mode, or writing in the semiconductor memory a program which causes the memory controller to operate in a selected one of the first and second modes.

### Claim 9 (depends on 8)

The method of claim 8, wherein in the first mode when correcting errors in read data fails, read of the data which failed in the error correction using a read level shifted from the present read level is not executed.

### Claim 10 (depends on 8)

The method of claim 8, wherein in the first mode data is autonomously read before the data erase, and it is determined that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or the threshold of the memory controller.

### Claim 11 (depends on 8)

The method of claim 8, wherein in the first mode, data is autonomously read for the blocks, and when error correction of the read data fails, the data which failed in the error correction is read using a read level shifted from the present read level.

### Claim 12 (depends on 8)

The method of claim 8, wherein in the first mode:
when correction of errors in data read from a first area of the semiconductor memory fails, the data which failed in the error correction is read using a read level shifted from the present read level, and
when correction of errors in data read from a second area of the semiconductor memory fails, read of the data which failed in the error correction using a read level shifted from the present read level is not executed.

### Claim 13 (depends on 8)

The method of claim 8, wherein the first mode is entered after a temperature measured by a temperature sensor in the semiconductor storage device exceeds a second threshold.

### Claim 14

A control program for a memory controller in a semiconductor storage device which comprises a semiconductor memory comprising blocks including memory cells and the memory controller, the program causing the memory controller to cause the semiconductor memory to:
write substantial data and redundant data for correcting an error in the substantial data in the semiconductor memory,
read substantial data and corresponding redundant data from the semiconductor memory, and
correct an error in the read substantial data in accordance with the read redundant data,
when error correction of substantial data read from the semiconductor memory fails, read the substantial data which failed in the error correction using a read level shifted from the present read level,
wherein when written in the semiconductor storage device, the program causes the memory controller to enter a first mode in which the memory controller, for each of the blocks, autonomously erases data, writes data, and read the written data, and determines that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or a threshold of the memory controller.

### Claim 15 (depends on 14)

The program of claim 14, wherein the program does not cause the memory controller in the first mode to, when correcting errors in read data fails, read the data which failed in the error correction using a read level shifted from the present read level.

### Claim 16 (depends on 14)

The program of claim 14, wherein the program causes the memory controller in the first mode to autonomously read data before the data erase, and then determine that the block or the semiconductor storage device is defective when a count of errors in the read data exceeds a correction capability or the threshold of the memory controller.

### Claim 17 (depends on 14)

The program of claim 14, wherein the program causes the memory controller in the first mode to autonomously read data in the blocks, and, when error correction of the read data fails, to read the data which failed in the error correction using a read level shifted from the present read level.

### Claim 18 (depends on 14)

The program of claim 14, wherein:
when correction of errors in data read from a first area of the semiconductor memory fails, the program causes the memory controller in the first mode to read the data which failed in the error correction using a read level shifted from the present read level, and
when correction of errors in data read from a second area of the semiconductor memory fails, the program does not cause the memory controller in the first mode to read the data which failed in the error correction using a read level shifted from the present read level.

### Claim 19 (depends on 14)

The program of claim 14, wherein the program causes the memory controller to enter the first mode after a temperature measured by a temperature sensor in the semiconductor storage device exceeds a second threshold.

### Claim 20 (depends on 15)

The program of claim 15, wherein the program causes the memory controller to, when correcting errors in read data using a read level shifted from the present level is successful, refresh the read data, and
the program does not cause the memory controller in the first mode to, when correcting errors in read data fails, refresh the read data.
