# US 2015/0089325 A1 · Method and device for write abort protection

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

- Number: US 2015/0089325 A1
- Document ID: US20150089325A1
- Status: Published application
- Kind: A1
- Application number: 14/288,604
- Filed: 2014-05-28
- Published: 2015-03-26
- Earliest claimed: 2013-09-24
- Assignees: SanDisk Technologies LLC
- Applicants: Sandisk Technologies Inc.
- Inventors: UDAY CHANDRASEKHAR; JIANMIN HUANG; STEVEN SPROUSE; NIAN NILES YANG; XINDE HU
- Web page: https://patentgrep.com/patent/US20150089325A1

## CPC

- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 11/1072: {in multilevel memories}
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 16/22: Safety or protection circuits preventing unauthorised or accidental access to memory cells
- G11C 29/78: {using programmable devices}
- H03M 13/11: using multiple parity bits
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/2927: {Decoding strategies}
- H03M 13/098: {using single parity bit}
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/2957: {Turbo codes and decoding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A data storage device includes a non-volatile memory that includes a three-dimensional (3D) memory. A method includes receiving first data and second data from a host device. A first error-correcting code (ECC) codeword associated with the first data is written to a first word line of the non-volatile memory, and a second ECC codeword associated with the second data is written to a second word line of the non-volatile memory. The first ECC codeword includes a first bit and a second bit, and the second ECC codeword includes a third bit and a fourth bit. The method further includes writing parity information to a parity storage portion of the non-volatile memory that is distinct from the first word line and from the second word line. The parity information includes a parity bit that is based on the first bit, the second bit, the third bit, and the fourth bit.

## Claims

### Claim 1

A method comprising:
in a data storage device including a non-volatile memory including a three-dimensional (3D) memory and a controller associated with operation of memory cells of the 3D memory, performing by the controller:
receiving first data and second data from a host device;
writing a first error-correcting code (ECC) codeword associated with the first data to a first word line of the non-volatile memory, wherein the first ECC codeword includes a first bit and a second bit;
writing a second ECC codeword associated with the second data to a second word line of the non-volatile memory, wherein the second ECC codeword includes a third bit and a fourth bit; and
writing parity information to a parity storage portion of the non-volatile memory that is distinct from the first word line and from the second word line,
wherein the parity information includes a parity bit that is based on the first bit, the second bit, the third bit, and the fourth bit.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first ECC codeword corresponds to lower page data written to a multi-level cell (MLC) portion of the non-volatile memory, and wherein the parity storage portion corresponds to a single-level cell (SLC) portion of the non-volatile memory.

### Claim 3 (depends on 1)

The method of claim 1, further comprising, in response to occurrence of a write abort event:
reading the first bit using a first threshold to generate a first estimate of the first bit; and
reading the first bit using a second threshold to generate a second estimate of the first bit.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining whether the first estimate matches the second estimate; and
in response to determining that the first estimate matches the second estimate, determining that the first bit is likely to be uncorrupted by the write abort event.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
reading the second bit using the first threshold to generate a third estimate of the second bit and reading the second bit using the second threshold to generate a fourth estimate of the second bit; and
determining whether the third estimate matches the fourth estimate.

### Claim 6 (depends on 5)

The method of claim 5, further comprising in response to determining that the first estimate does not match the second estimate, recovering the first bit using the parity bit in response to determining that the third estimate matches the fourth estimate.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first bit is recovered using the parity bit, the second bit, the third bit, and the fourth bit.

### Claim 8 (depends on 5)

The method of claim 5, further comprising sending the first ECC codeword to an ECC engine in response to determining that the first estimate does not match the second estimate and that the third estimate does not match the fourth estimate.

### Claim 9 (depends on 1)

The method of claim 1, wherein the parity bit is further based on a first result of a first operation based on the first bit and the second bit and is further based on a second result of a second operation based on the third bit and the fourth bit.

### Claim 10 (depends on 9)

The method of claim 9, wherein the parity bit is generated based on a third operation based on the first result and the second result, and wherein the first operation, the second operation, and the third operation correspond to an exclusive-or (XOR) operation.

### Claim 11 (depends on 1)

The method of claim 1, wherein the second bit is selected based on an offset between a first storage element of the first word line that stores the first bit and a second storage element of the first word line that stores the second bit.

### Claim 12 (depends on 11)

The method of claim 11, wherein L indicates a number of storage elements of the first word line, wherein L is an integer that is greater than one, and wherein the offset corresponds to L/2.

### Claim 13 (depends on 1)

The method of claim 1, wherein the data storage device is embedded within the host device.

### Claim 14

A data storage device comprising:
a non-volatile memory that includes a three-dimensional (3D) memory; and
a controller coupled to the non-volatile memory, wherein the controller is associated with operation of memory cells of the 3D memory and is configured to:
receive first data and second data from a host device;
write a first error-correcting code (ECC) codeword associated with the first data to a first word line of the non-volatile memory, wherein the first ECC codeword includes a first bit and a second bit;
write a second ECC codeword associated with the second data to a second word line of the non-volatile memory, wherein the second ECC codeword includes a third bit and a fourth bit; and
write parity information to a parity storage portion of the non-volatile memory, wherein the parity storage portion is distinct from the first word line and from the second word line, and wherein the parity information includes a parity bit that is based on the first bit, the second bit, the third bit, and the fourth bit.

### Claim 15 (depends on 14)

The data storage device of claim 14, wherein the first ECC codeword corresponds to lower page data written to a multi-level cell (MLC) portion of the non-volatile memory, and wherein the parity storage portion corresponds to a single-level cell (SLC) portion of the non-volatile memory.

### Claim 16 (depends on 14)

The data storage device of claim 14, wherein the controller is further configured to read the first bit using a first threshold to generate a first estimate of the first bit and to read the first bit using a second threshold to generate a second estimate of the first bit in response to occurrence of a write abort event.

### Claim 17 (depends on 16)

The data storage device of claim 16, wherein the controller is further configured to determine whether the first estimate matches the second estimate and to determine that the first bit is likely to be uncorrupted by the write abort event in response to the first estimate matching the second estimate.

### Claim 18 (depends on 16)

The data storage device of claim 16, wherein the controller is further configured to read the second bit using the first threshold to generate a third estimate of the second bit and to read the second bit using the second threshold to generate a fourth estimate of the second bit.

### Claim 19 (depends on 18)

The data storage device of claim 18, wherein the controller is further configured to recover the first bit using the parity bit in response to determining that the third estimate matches the fourth estimate and in response to determining that the first estimate does not match the second estimate.

### Claim 20 (depends on 19)

The data storage device of claim 19, wherein the controller further includes an ECC engine, and wherein the controller is further configured to send the first ECC codeword to the ECC engine in response to determining that the first estimate does not match the second estimate and that the third estimate does not match the fourth estimate.
