# US 2015/0103593 A1 · Method of Writing Data in Non-Volatile Memory and Non-Volatile Storage Device Using the Same

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

- Number: US 2015/0103593 A1
- Document ID: US20150103593A1
- Status: Published application
- Kind: A1
- Application number: 14/142,927
- Filed: 2013-12-30
- Published: 2015-04-16
- Earliest claimed: 2013-10-14
- Assignees: Skymedi Corporation
- Applicants: Skymedi Corporation
- Inventors: Chien-Chang Su
- Web page: https://patentgrep.com/patent/US20150103593A1

## CPC

- G11C 16/3422: {Circuits or methods to evaluate read or write disturbance in nonvolatile memory, without steps to mitigate the problem}
- G11C 16/349: {Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A method of writing data in a non-volatile memory includes writing data from a first memory unit to a second memory unit of the non-volatile memory; checking a health of the second memory unit to generate a health result; and reserving the data in the first memory unit and mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is unhealthy.

## Claims

### Claim 1

A method of writing data in a non-volatile memory, comprising:
writing data from a first memory unit to a second memory unit of the non-volatile memory;
checking a health of the second memory unit to generate a health result; and
reserving the data in the first memory unit and mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is unhealthy.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
discarding the data in the first memory unit or the mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is healthy.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of checking the health of the second memory unit to generate the health result comprises:
determining whether an error rate of the second memory unit is greater than a threshold.

### Claim 4 (depends on 3)

The method of claim 3, wherein the error rate of the second memory unit is a number of error bit in the second memory unit or an iteration number of an error correction for the data written into the second memory unit.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
recording the health result of the second memory unit.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
applying a writing strategy to the second memory unit according to the recorded health result.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
writing the data from the first memory unit to a third memory unit of the non-volatile memory when the second memory unit is unhealthy and the first memory unit is outside the non-volatile memory.

### Claim 8

A non-volatile storage device, comprising:
a non-volatile memory; and
a memory controller, coupled to the non-volatile memory, for writing data in the non-volatile memory by executing the following steps:
writing data from a first memory unit to a second memory unit of the non-volatile memory;
checking a health of the second memory unit to generate a health result; and
reserving the data in the first memory unit and mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is unhealthy.

### Claim 9 (depends on 8)

The non-volatile storage device of claim 8, wherein the memory controller further executes the following step to write data in the non-volatile memory:
discarding the data in the first memory unit or the mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is healthy.

### Claim 10 (depends on 8)

The non-volatile storage device of claim 8, wherein the step of checking the health of the second memory unit to generate the health result comprises:
determining whether an error rate of the second memory unit is greater than a threshold.

### Claim 11 (depends on 10)

The non-volatile storage device of claim 10, wherein the error rate of the second memory unit is a number of error bit in the second memory unit or an iteration number of an error correction for the data written into the second memory unit.

### Claim 12 (depends on 8)

The non-volatile storage device of claim 8, wherein the memory controller further executes the following step to write data in the non-volatile memory:
recording the health result of the second memory unit.

### Claim 13 (depends on 12)

The non-volatile storage device of claim 12, wherein the memory controller further executes the following step to write data in the non-volatile memory:
applying a writing strategy to the second memory unit according to the recorded health result.

### Claim 14 (depends on 8)

The non-volatile storage device of claim 8, wherein the memory controller further executes the following step to write data in the non-volatile memory:
writing the data from the first memory unit to a third memory unit of the non-volatile memory when the second memory unit is unhealthy and the first memory unit is outside the non-volatile memory.

### Claim 15

A method of writing data in a non-volatile memory, comprising:
writing data from a first memory unit to a second memory unit of the non-volatile memory according to a writing strategy;
checking a health of the second memory unit to generate a health result;
reserving the data in the first memory unit and mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is unhealthy; and
modifying the writing strategy according to the health result.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
discarding the data in the first memory unit or the mapping information corresponding to the first memory unit when the health result indicates that the second memory unit is healthy.

### Claim 17 (depends on 15)

The method of claim 15, wherein the step of checking the health of the second memory unit to generate the health result comprises:
determining whether an error rate of the second memory unit is greater than a threshold.

### Claim 18 (depends on 17)

The method of claim 17, wherein the error rate of the second memory unit is a number of error bit in the second memory unit or an iteration number of an error correction for the data written into the second memory unit.

### Claim 19 (depends on 15)

The method of claim 15, wherein the step of modifying the writing strategy according to the health result comprises:
reducing a level number of a multi-level cell configuration of the second memory unit.

### Claim 20 (depends on 15)

The method of claim 15, wherein the step of modifying the writing strategy according to the health result comprises:
programming dummy data in at least one page of the second memory unit.
