# US 2017/0293527 A1 · Data recovery in memory having multiple failure modes

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

- Number: US 2017/0293527 A1
- Document ID: US20170293527A1
- Status: Published application
- Kind: A1
- Application number: 15/096,303
- Filed: 2016-04-12
- Published: 2017-10-12
- Earliest claimed: 2016-04-12
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Assaf Shappir; Etai Zaltsman; Guy Ben-Yehuda
- Web page: https://patentgrep.com/patent/US20170293527A1

## CPC

- G06F 11/1072: {in multilevel memories}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- 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

A controller includes an interface and a processor. The interface is configured to communicate with a memory including multiple memory cells organized in at least two sections each including multiple sets of word lines (WLs), wherein in a first failure mode multiple WLs fail in a single section, and in a second failure mode a WL fails in multiple sections. The processor is configured to assign multiple cell-groups of the memory cells to a parity-group, such that (i) no two cell-groups in the parity-group belong to a same WL, and (ii) no two cell-groups in the parity-group belong to adjacent WLs in a same section, and, upon detecting a failure to access a cell-group in the parity-group, due to either the first or second failure modes but not both failure modes occurring simultaneously, to recover the data stored in the cell-group using one or more remaining cell-groups in the parity-group.

## Claims

### Claim 1

A controller, comprising:
an interface, which is configured to communicate with a memory comprising multiple memory cells organized in at least two sections each comprising multiple sets of word lines (WLs), wherein in a first failure mode multiple WLs fail but only in a single section, and wherein in a second failure mode a WL fails in multiple sections; and
a processor, which is configured to assign multiple cell-groups of the memory cells to a parity-group, such that (i) no two cell-groups in the parity-group belong to a same WL, and (ii) no two cell-groups in the parity-group belong to adjacent WLs in a same section, wherein:
the processor is further configured to, upon detecting a failure to access a cell-group in the parity-group due to either the first failure mode or the second failure mode but not both the first and second failure modes simultaneously, recover the data stored in the cell-group using one or more remaining cell-groups in the parity-group.

### Claim 2 (depends on 1)

The controller according to claim 1, wherein the first failure mode occurs because of a WL-to-WL short, and the second failure mode occurs due to a leakage from the WL to a substrate on which the memory cells are disposed or due to a device selection failure.

### Claim 3 (depends on 1)

The controller according to claim 1, wherein the at least two sections comprise first and second memory planes on a same semiconductor die, wherein failing WLs in the first and second planes belong to different respective sets of WLs.

### Claim 4 (depends on 1)

The controller according to claim 1, wherein the parity-group comprises a stripe in a redundant array of independent disks (RAID) storage scheme, wherein the processor is configured to recover the data in accordance with the RAID storage scheme.

### Claim 5 (depends on 1)

The controller according to claim 1, wherein the memory cells comprise multi-level cells (MLC) storing multiple bits per cell, wherein each of the multiple cell-groups stores multiple data pages of different respective bit-significance, wherein the processor is configured to assign the data pages of the different bit-significance to different respective parity-groups.

### Claim 6 (depends on 1)

The controller according to claim 1, wherein the data stored in a given cell-group of the parity-group is protected using an Error Correction Code (ECC), and wherein the processor is configured to detect the failure by identifying a failure to decode the ECC.

### Claim 7 (depends on 1)

The controller according to claim 1, wherein the processor is configured to assign first and second cell-groups in corresponding blocks of the at least two sections, having a same block-index.

### Claim 8 (depends on 1)

The controller according to claim 1, wherein the memory cells belong to multiple semiconductor dies, and wherein the processor is configured to assign the multiple cell-groups in different respective semiconductor dies.

### Claim 9 (depends on 8)

The controller according to claim 8, wherein the processor is configured to assign the multiple cell-groups in accordance with a die-specific assignment pattern of cell-groups to parity-groups.

### Claim 10 (depends on 1)

The controller according to claim 1, wherein the memory cells are organized in a three-dimensional (3D) configuration in which each WL comprises memory cells of multiple different strings, and wherein the processor is configured to assign data pages of different strings to different respective parity-groups.

### Claim 11 (depends on 1)

The controller according to claim 1, wherein the sets of WLs comprise memory blocks, wherein the first failure mode causes the failure in all the WLs of a memory block in the single section, and wherein the processor is configured to recover the entire memory block using data stored in one or more blocks of one or more other sections.

### Claim 12

A method, comprising:
storing data in a memory comprising multiple memory cells organized in at least two sections each comprising multiple sets of word lines (WLs), wherein in a first failure mode multiple WLs fail but only in a single section, and wherein in a second failure mode a WL fails in multiple sections;
assigning multiple cell-groups of the memory cells to a parity-group, such that (i) no two cell-groups in the parity-group belong to a same WL, and (ii) no two cell-groups in the parity-group belong to adjacent WLs in a same section; and
upon detecting a failure to access a cell-group in the parity-group, due to either the first failure mode or the second failure mode but not both the first and second failure modes simultaneously, recovering the data stored in the cell-group using one or more remaining cell-groups in the parity-group.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the first failure mode occurs because of a WL-to-WL short, and the second failure mode occurs due to a leakage from the WL to a substrate on which the memory cells are disposed or due to a device selection failure.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the at least two sections comprise first and second memory planes on a same semiconductor die, and wherein failing WLs in the first and second planes belong to different respective sets of WLs.

### Claim 15 (depends on 12)

The method according to claim 12, wherein the parity-group comprises a stripe in a redundant array of independent disks (RAID) storage scheme, and wherein recovering the data comprises recovering the data in accordance with the RAID storage scheme.

### Claim 16 (depends on 12)

The method according to claim 12, wherein the memory cells comprise multi-level cells (MLC) storing multiple bits per cell, wherein each of the multiple cell-groups stores multiple data pages of different respective bit-significance, and wherein assigning the data pages of the different bit-significance to different respective parity-groups.

### Claim 17 (depends on 12)

The method according to claim 12, wherein the data stored in a given cell-group of the parity-group is protected using an Error Correction Code (ECC), and wherein detecting the failure comprises identifying a failure to decode the ECC.

### Claim 18 (depends on 12)

The method according to claim 12, wherein assigning the multiple cell-groups comprises assigning first and second cell-groups in corresponding blocks of the at least two sections, having a same block-index.

### Claim 19 (depends on 12)

The method according to claim 12, wherein the memory cells belong to multiple semiconductor dies, and wherein assigning the multiple cell-groups comprises assigning the multiple cell-groups in different respective semiconductor dies.

### Claim 20

A storage system, comprising:
a memory comprising multiple memory cells organized in at least two sections each comprising multiple sets of word lines (WLs), wherein in a first failure mode multiple WLs fail but only in a single section, and wherein in a second failure mode a WL fails in multiple sections; and
a controller, which is configured to assign multiple cell-groups of the memory cells to a parity-group, such that (i) no two cell-groups in the parity-group belong to a same WL, and (ii) no two cell-groups in the parity-group belong to adjacent WLs in a same section, and, upon detecting a failure to access a cell-group in the parity-group, due to either the first failure mode or the second failure mode but not both the first and second failure modes simultaneously, to recover the data stored in the cell-group using one or more remaining cell-groups in the parity-group.
