# US 2025/0165341 A1 · Nonvolatile memory device, operating method of nonvolatile memory device, and operating method of storage device

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

- Number: US 2025/0165341 A1
- Document ID: US20250165341A1
- Status: Published application
- Kind: A1
- Application number: 18/952,294
- Filed: 2024-11-19
- Published: 2025-05-22
- Earliest claimed: 2023-11-22
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Seungjun OH; Kyungduk LEE; Sangsoon KIM
- Web page: https://patentgrep.com/patent/US20250165341A1

## CPC

- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/10: Programming or data input circuits
- 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 2211/5642: Multilevel memory with buffers, latches, registers at input or output
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

An operating method of a storage device including a nonvolatile memory device and a storage controller includes transmitting, by the storage controller, a set-feature command including error detection activation information to the nonvolatile memory device, transmitting, by the storage controller, a program command and write data to the nonvolatile memory device, performing, by the nonvolatile memory device, an error detection operation on the write data of a page buffer circuit before programming the write data to memory cells, in response to the program command, transmitting, by the nonvolatile memory device, the write data as error data to the storage controller when an error is detected in the write data, and programming, by the nonvolatile memory device, the write data to the memory cells when an error is not detected in the write data.

## Claims

### Claim 1

An operating method of a storage device including a nonvolatile memory device and a storage controller, the operating method comprising:
transmitting, by the storage controller, error detection activation information to the nonvolatile memory device;
transmitting, by the storage controller, a program command and write data to the nonvolatile memory device;
performing, by the nonvolatile memory device, an error detection operation on the write data in a page buffer circuit based on the error detection activation information;
transmitting, by the nonvolatile memory device, the write data as error data to the storage controller based on an error being detected in the write data; and
programming, by the nonvolatile memory device, the write data to memory cells in the nonvolatile memory device based on an error not being detected in the write data.

### Claim 2 (depends on 1)

The operating method of claim 1, wherein the performing of the error detection operation comprises detecting whether a same pattern repeats in the write data.

### Claim 3 (depends on 1)

The operating method of claim 1, wherein the program command comprises an address indicating an area of the memory cells in the nonvolatile memory device storing 1-bit data.

### Claim 4 (depends on 1)

The operating method of claim 1, further comprising:
performing, by the storage controller, one of:
an error correction operation on the error data based on the error data, and an input/output adjustment operation based on the error data being an uncorrectable error; and
transmitting, by the storage controller, a resume command to program the write data based on the error being corrected.

### Claim 5 (depends on 4)

The operating method of claim 4, wherein the performing of the input/output adjustment operation comprises adjusting a power supply voltage or an input/output voltage input to the nonvolatile memory device.

### Claim 6 (depends on 4)

The operating method of claim 4, further comprising:
determining, by the storage controller, whether a program count, which is a number of times a program command is transmitted for a same address, is equal to or greater than a threshold value after performing the input/output adjustment operation;
based on a determination that the program count is equal to or greater than the threshold value, determining, by the storage controller, a program failure and storing information about the program failure; and
based on a determination that the program count is less than the threshold value, retransmitting, by the storage controller, the program command and the write data to the nonvolatile memory device.

### Claim 7 (depends on 1)

The operating method of claim 1, wherein the performing of the error detection operation comprises:
performing a first error detection operation based on a first policy to determine whether an error has occurred in the write data; and
based on an error not being detected in the write data based on the first policy, performing a second error detection operation based on a second policy to determine whether an error has occurred in the write data, the second policy being different from the first policy.

### Claim 8 (depends on 7)

The operating method of claim 7, wherein the first error detection operation comprises:
counting a first value in the write data as a first count and counting a second value in the write data as a second count; determining whether a difference between the first count and the second count is greater than a threshold value;
determining that the error has occurred in the write data based on the difference between the first count and the second count being greater than the threshold value; and
determining that the error has not occurred based on the difference between the first count and the second count being equal to or less than the threshold value.

### Claim 9 (depends on 7)

The operating method of claim 7, wherein the first error detection operation comprises:
aligning the write data based on a physical column address;
dividing the aligned write data into a plurality of groups; and
counting a first value in each of the plurality of groups as a first count and counting a second value in each of the plurality of groups as a second count, and
determining, for the plurality of groups, whether a difference between the first count and the second count for each of the plurality of groups is greater than a threshold value;
determining that the error has occurred based on the difference between the first count and the second count in one or more of the plurality of groups being greater than the threshold value; and
determining that the error has not occurred based on the difference between the first count and the second count for each of the plurality of groups being equal to or less than the threshold value.

### Claim 10 (depends on 7)

The operating method of claim 7, wherein the second error detection operation comprises determining whether all pieces of consecutive column data in the write data have a same value.

### Claim 11 (depends on 7)

The operating method of claim 7, wherein the second error detection operation comprises:
aligning the write data based on a physical column address; and
determining whether all pieces of consecutive column data in the aligned write data have a same value.

### Claim 12 (depends on 1)

The operating method of claim 1, further comprising transmitting, by the storage controller, error detection deactivation information to the nonvolatile memory device after the program command is completed.

### Claim 13

An operating method of a nonvolatile memory device, the operating method comprising:
receiving error detection activation information from a storage controller;
receiving a program command and write data from the storage controller;
performing, based on error detection activation information, an error detection operation by detecting whether a same pattern repeats in the write data of a page buffer circuit;
based on an error being detected in the write data, transmitting the write data as error data to the storage controller; and
based on an error being not detected in the write data, programming the write data to memory cells in nonvolatile memory device.

### Claim 14 (depends on 13)

The operating method of claim 13, wherein the receiving of the program command and the write data from the storage controller comprises receiving a program command comprising an address indicating an area of the memory cells in the nonvolatile memory device storing 1-bit data.

### Claim 15 (depends on 13)

The operating method of claim 13, wherein the performing of the error detection operation comprises:
counting a first value in the write data as a first count and counting a second value in the write data as a second count;
determining whether a difference between the first count and the second count is greater than a threshold value;
determining that the error has occurred in the write data based on the difference between the first count and the second count being greater than the threshold value; and
determining that the error has not occurred in the write data based on the difference between the first count and the second count being equal to or less than the threshold value.

### Claim 16 (depends on 13)

The operating method of claim 13, wherein the performing of the error detection operation comprises:
aligning the write data based on a physical column address;
dividing the aligned write data into a plurality of groups;
counting a first value in each of the plurality of groups as a first count and counting a second value in each of the plurality of groups as a second count;
determining, for the plurality of groups, whether a difference between the first count and the second count for each of the plurality of groups is greater than a threshold value;
determining that the error has occurred based on the difference between the first count and the second count in one or more of the plurality of groups being greater than the threshold value; and
determining that the error has not occurred based on the difference between the first count and the second count for each of the plurality of groups being equal to or less than the threshold value.

### Claim 17 (depends on 13)

The operating method of claim 13, wherein the performing of the error detection operation comprises determining whether all pieces of consecutive column data in the write data have a same value.

### Claim 18

A nonvolatile memory device comprising:
a memory cell array comprising a plurality of memory cells;
an input/output circuit configured to receive write data from a storage controller;
a page buffer circuit connected to the memory cell array and configured to temporarily store the write data from the input/output circuit; and
an error detection circuit configured to:
receive error detection activation information from the storage controller,
perform, based on error detection activation information, an error detection operation by detecting whether a same pattern in the write data repeats before programming the write data to the memory cell array,
based on an error being detected in the write data, transmit the write data as error data to the storage controller, and
based on an error being not detected in the write data, program the write data to the memory cells.

### Claim 19 (depends on 18)

The nonvolatile memory device of claim 18, wherein the error detection circuit is further configured to:
count a first value in the write data as a first count and count a second value in the write data as a second count,
determine whether a difference between the first count and the second count is greater than a threshold value,
determine that the error has occurred based on the difference between the first count and the second count being greater than the threshold value, and
determine that the error has not occurred based on the difference between the first count and the second count being equal to or less than the threshold value.

### Claim 20 (depends on 18)

The nonvolatile memory device of claim 18, wherein the error detection circuit is further configured to:
align the write data based on a physical column address,
divide the aligned write data into a plurality of groups,
count a first value in each of the plurality of groups as a first count and count a second value in each of the plurality of groups as a second count,
determine, for the plurality of groups, whether a difference between the first count and the second count is greater than a threshold value,
determine that the error has occurred based on the difference between the first count and the second count in one or more of the plurality of groups being greater than the threshold value, and
determine that the error has not occurred based on the difference between the first count and the second count for each of the plurality of groups being equal to or less than the threshold value.
