# US 2015/0149863 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 2015/0149863 A1
- Document ID: US20150149863A1
- Status: Published application
- Kind: A1
- Application number: 14/613,090
- Filed: 2015-02-03
- Published: 2015-05-28
- Earliest claimed: 2011-12-16
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Daisuke HASHIMOTO
- Web page: https://patentgrep.com/patent/US20150149863A1

## 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 at position 1

1-20. (canceled)

### Claim 21

A semiconductor storage device comprising:
a semiconductor memory comprising blocks, the blocks including memory cells; and
a memory controller,
wherein
the semiconductor memory stores a program for causing the memory controller to operate in at least one of a first mode and a second mode; and
the memory controller
writes substantial data and redundant data in the semiconductor memory,
reads substantial data and corresponding redundant data from the semiconductor memory, and corrects an error, if any, in the read substantial data based on the read redundant data,
reads the program when power is supplied, and enters the first or second mode based on the read program,
in the first mode, for each of the blocks, erases data, writes data, and reads the written data, corrects errors of the read data, and determines that the block or the semiconductor storage device is defective when the read data is uncorrectable, and
in the second mode, when error correction of substantial data read from the semiconductor memory using a first read level fails, reads the substantial data which failed in the error correction using a second read level, the second read level being shifted from the first read level.

### Claim 22 (depends on 21)

The device of claim 21, wherein
the second read level is higher than the first read level, and
the memory controller, when error correction of the substantial data read from the semiconductor memory using the second read level fails, reads the substantial data using a third read level, the third read level is lower than the first read level.

### Claim 23 (depends on 21)

The device of claim 21, wherein
the memory controller, when error correction of the substantial data read from the semiconductor memory using the second read level succeeds, refreshes a memory cell including the substantial data, and
the memory controller, when error correction of the substantial data read from the semiconductor memory by using the second read level fails, registers a block including the substantial data as a bad block.

### Claim 24 (depends on 21)

The device of claim 21, wherein in the first mode the memory controller reads data before the data erase, and then determines that the block or the semiconductor storage device is defective when the read data is uncorrectable.

### Claim 25 (depends on 21)

The device of claim 21, wherein the memory controller determines that the read data is uncorrectable when a count of errors in the read data exceeds a threshold.

### Claim 26 (depends on 21)

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

### Claim 27 (depends on 26)

The device of claim 26, 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 the fourth 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 the fourth read level.

### Claim 28 (depends on 27)

The device of claim 27, wherein
the first area includes at least one of a firmware area and a management information area, and
the second area includes a user data area.

### Claim 29 (depends on 21)

The device of claim 21, 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 30 (depends on 21)

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

### Claim 31

A method of controlling a semiconductor memory, the semiconductor memory comprising blocks including memory cells, the semiconductor memory storing a program used to operate in a first mode or a second mode, the method comprising:
reading the program from the semiconductor memory;
entering the first or second mode based on the read program;
in a first mode,
for each of the blocks, erasing data, writing data, reading the written data, correcting errors of the read data, and determining that the block or the semiconductor memory is defective when the read data is uncorrectable; and
in a second mode,
writing substantial data and redundant data in the semiconductor memory,
reading substantial data and corresponding redundant data from the semiconductor memory, correcting an error, if any, in the read substantial data based on the read redundant data,
when error correction of substantial data read from the semiconductor memory using a first read level fails, reading the substantial data which failed in the error correction using a second read level, the second read level being shifted from the first read level.

### Claim 32 (depends on 31)

The method of claim 31, wherein
the second read level is higher than the first read level,
the method further comprises reading, when error correction of the substantial data read from the semiconductor memory using the second read level fails, the substantial data using a third read level, and
the third read level is lower than the first read level.

### Claim 33 (depends on 31)

The method of claim 31, further comprising:
refreshing, when error correction of the substantial data read from the semiconductor memory using the second read level succeeds, a memory cell, the memory cell storing the substantial data; and
registering, when error correction of the substantial data read from the semiconductor memory by using the second read level fails, a block including the substantial data as a bad block

### Claim 34 (depends on 31)

The method of claim 31, further comprising:
in the first mode,
reading data before the data erase; and
determining that the block or the semiconductor memory is defective when the read data is uncorrectable.

### Claim 35 (depends on 31)

The method of claim 31, further comprising determining that read data is uncorrectable when a count of errors in the read data exceeds a threshold.

### Claim 36 (depends on 31)

The method of claim 31, further comprising:
in the first mode,
reading data in the blocks using a third read level; and
reading, when error correction of the read data fails, data which failed in the error correction using a fourth read level,
wherein the fourth read level is shifted from the third read level.

### Claim 37 (depends on 36)

The method of claim 36, further comprising:
in the first mode,
reading, when correction of errors in data read from a first area of the semiconductor memory fails, the data which failed in the error correction using the fourth read level, and
not reading, when correction of errors in data read from a second area of the semiconductor memory fails, the data which failed in the error correction using the fourth read level.

### Claim 38 (depends on 37)

The method of claim 37, wherein
the first area includes at least one of a firmware area and a management information area, and
the second area includes a user data area.

### Claim 39 (depends on 31)

The method of claim 31, wherein whether the semiconductor memory enters the first or second mode after cut off of power and the following resupply of the power to the semiconductor memory is switched by a received command.

### Claim 40 (depends on 31)

The method of claim 31, further comprising entering the first mode after a temperature measured by a temperature sensor exceeds a threshold.
