# US 2012/0236658 A1 · Systems and methods for refreshing non-volatile memory

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

- Number: US 2012/0236658 A1
- Document ID: US20120236658A1
- Status: Published application
- Kind: A1
- Application number: 13/419,567
- Filed: 2012-03-14
- Published: 2012-09-20
- Earliest claimed: 2010-03-24
- Assignees: Apple Inc.
- Inventors: Matthew Byom; Daniel J. Post; Vadim Khmelnitsky
- Web page: https://patentgrep.com/patent/US20120236658A1

## CPC

- G11C 16/10: Programming or data input circuits
- 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: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Systems and methods are disclosed for managing a non-volatile memory (“NVM”), such as a flash memory. To prevent data errors due to leakage effects, the NVM may be refreshed. For example, a reserved portion of the NVM may be selected, and a predetermined pattern can be stored into the reserved portion. The reserved portion can then be monitored for storage deterioration over time. After determining that storage deterioration of the reserved portion has occurred, the NVM can be refreshed. In some embodiments, a controller can attempt to distinguish data errors due to leakage effects from data errors due to disturb issues.

## Claims

### Claim at position 1

-32. (canceled)

### Claim 33

A method for distinguishing data errors in a non-volatile memory (“NVM”), the method comprising:
determining whether an uncorrectable event has occurred for first data stored on a portion of the NVM;
in response to determining that the uncorrectable event has occurred, searching for other portions of the NVM comprising second data of the NVM that are older than the first data;
determining whether there are data errors in the second data; and
in response to determining that there are data errors in the second data, classifying the uncorrectable event as being caused by leakage effects.

### Claim 34 (depends on 33)

The method of claim 33, wherein classifying the uncorrectable event as being caused by leakage effects further comprises refreshing the NVM.

### Claim 35 (depends on 33)

The method of claim 33, wherein in response to determining that the uncorrectable event has not occurred, continuing to monitor for the uncorrectable event for the first data.

### Claim 36 (depends on 33)

The method of claim 33, wherein in response to determining that there are no data errors in the second data, classifying the uncorrectable event has being caused by disturb issues.

### Claim 37 (depends on 33)

The method of claim 33, wherein in response to determining that there are no data errors in the second data, classifying the uncorrectable event as being caused by disturb issues.

### Claim 38

A system comprising:
a non-volatile memory (“NVM”) comprising at least one die with a plurality of portions; and
a controller for refreshing the NVM, wherein the controller is operative to:
determine that an uncorrectable event has occurred for data stored on a portion of the plurality of portions;
search for at least one first portion that is expected to suffer from leakage effects;
determine whether there is at least one data error in the at least one first portion; and
in response to determining that there is at least one data error in the at least one first portion, refresh the NVM.

### Claim 39 (depends on 38)

The system of claim 38, wherein the at least one first portion comprises one of at least one page of the NVM and at least one block of the NVM comprising user data.

### Claim 40 (depends on 38)

The system of claim 38, wherein the at least one first portion comprises at least one reserved portion of the NVM.

### Claim 41 (depends on 38)

The system of claim 38, wherein the at least one first portion comprises data that are older than the data stored on the portion of the plurality of portions.

### Claim 42 (depends on 38)

The system of claim 38, wherein the controller is operative to classify the uncorrectable event as being caused by leakage effects.

### Claim 43 (depends on 38)

The system of claim 38, wherein the controller is operative to:
monitor at least one second portion of the NVM for storage deterioration over time;
determine that storage deterioration has occurred in the at least one second portion;
reprogram data stored in a first block of the NVM to a second block of the NVM; and
erase the data stored in the first block.

### Claim 44 (depends on 43)

The system of claim 43, wherein the at least one second portion is a reserved portion of the NVM.

### Claim 45 (depends on 43)

The system of claim 43, wherein the at least one second portion is a portion comprising data that have deteriorated.

### Claim 46 (depends on 38)

The system of claim 38, wherein in response to determining that there is not at least one data error in the at least one first portion, the controller is operative to classify the uncorrectable event as being caused by disturb issues.

### Claim 47 (depends on 46)

The system of claim 46, wherein the disturb issues comprises at least one of read, program, and erase disturb issues.
