# US 2025/0165343 A1 · Memory device that changes type of codeword stored in memory area and method for operating the same

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

- Number: US 2025/0165343 A1
- Document ID: US20250165343A1
- Status: Published application
- Kind: A1
- Application number: 18/653,742
- Filed: 2024-05-02
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Hyeong Ju NA; Dong Sop LEE
- Web page: https://patentgrep.com/patent/US20250165343A1

## CPC

- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/1016: {Error in accessing a memory location, i.e. addressing error}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory device may include a memory media including a plurality of memory units and a controller configured to set a plurality of memory areas each including one or more of the plurality of memory units. The controller may be configured to store one or more first codewords of a first type in a target memory area among the plurality of memory areas, search for a fail memory unit among the memory units included in the target memory area, and when the fail memory unit is searched, convert one or more of the first codewords into a second codeword having a second type and write the converted second codeword to the memory media.

## Claims

### Claim 1

A memory device comprising:
a memory media including a plurality of memory units; and
a controller configured to:
set a plurality of memory areas, each including one or more of the plurality of memory units,
store one or more first codewords of a first type in a target memory area among the plurality of memory areas,
search for a fail memory unit among the memory units included in the target memory area, and
when the fail memory unit is searched, convert one or more of the first codewords into a second codeword having a second type and write the converted second codeword to the memory media.

### Claim 2 (depends on 1)

The memory device according to claim 1,
wherein the controller is configured to determine a memory unit, from among the memory units included in the target memory area, having a row address fail count equal to or greater than a first threshold and a column address fail count equal to or greater than a second threshold as the fail memory unit.

### Claim 3 (depends on 1)

The memory device according to claim 1,
wherein the controller is configured to merge a K number of the first codewords stored in the target memory area and to convert the K number of the first codewords into a second codeword, and
wherein K is a natural number greater than or equal to 2.

### Claim 4 (depends on 3)

The memory device according to claim 3,
wherein a size of the second codeword is a K number of times a size of the first codewords.

### Claim 5 (depends on 3)

The memory device according to claim 3,
wherein the controller is configured to overwrite the converted second codeword to a location where the merged K number of first codewords are stored in the target memory area.

### Claim 6 (depends on 1)

The memory device according to claim 1,
Wherein the controller is configured to convert one or more of the first codewords stored in the target memory area into the second codeword by executing at least one of an operation to allow an increase in total number of symbols by reducing size per symbol, an operation to remove cyclic redundancy check (CRC), and an operation to increase size of parity.

### Claim 7 (depends on 1)

The memory device according to claim 1, further comprising:
a first error detection and correction circuit for detecting error bit position and executing error correction for the first type of codeword, and
a second error detection and correction circuit for detecting error bit position and executing error correction for the second type of codeword,
wherein the controller is configured to:
determine a type of codeword stored in the target memory area,
when the type of the codeword stored in the target memory area is the first type, execute error correction for the codeword through the first error detection and correction circuit, and
when the type of the codeword stored in the target memory area is the second type, execute error correction for the codeword through the second error detection and correction circuit.

### Claim 8 (depends on 7)

The memory device according to claim 7,
wherein the controller further comprises a storage unit that stores mapping information indicating the type of codeword mapped to each of the plurality of memory areas,
wherein the controller is configured to search, using an identifier corresponding to the target memory area, for the type of codeword mapped to the identifier in the mapping information, and
wherein the searched type of codeword is applied as the type of codeword stored in the target memory area.

### Claim 9

An operating method of a memory device comprising:
setting a plurality of memory areas each including one or more of a plurality of memory units included in a memory media;
storing one or more first codewords of a first type in a target memory area among the plurality of memory areas;
searching for a fail memory unit among the plurality of memory units included in the target memory area; and
when the fail memory unit is searched, converting one or more of the first codewords into a second codeword having a second type and writing the converted second codeword to the memory media.

### Claim 10 (depends on 9)

The method according to claim 9,
wherein the searching for the fail memory unit includes identifying a memory unit, from among the plurality of memory units included in the target memory area, having a row address fail count equal to or greater than a first threshold and a column address fail count equal to or greater than a second threshold as the fail memory unit.

### Claim 11 (depends on 9)

The method according to claim 9,
wherein the converting one or more of the first codewords and writing the second codeword to the memory media merges a K number of the first codewords stored in the target memory area and converts the K number of the first codewords into the second codeword,
wherein K is a natural number greater than or equal to 2.

### Claim 12 (depends on 11)

The method according to claim 11,
wherein a size of the second codeword is a K number of times a size of the first codewords.

### Claim 13 (depends on 11)

The method according to claim 11,
wherein the converting one or more of the first codewords and writing the second codeword to the memory media overwrites the converted second codeword to a location where the merged K number of first codewords are stored.

### Claim 14 (depends on 9)

The method according to claim 9,
wherein the converting one or more of the first codewords and writing the second codeword to the memory media converts one or more of the first codewords stored in the target memory area into the second codeword by executing at least one of an operation to allow an increase in a total number of symbols by reducing size per symbol, an operation to remove cyclic redundancy check (CRC), and an operation to increase size of parity.

### Claim 15 (depends on 9)

The method according to claim 9, further comprising:
determining a type of codeword stored in the target memory area; and
when the type of the codeword stored in the target memory area is the first type, using a first error detection and correction circuit for detecting error bit position and executing error correction for the codeword, and when the type of the codeword stored in the target memory area is the second type, using a second error detection and correction circuit for detecting error bit position and executing error correction for the codeword.

### Claim 16 (depends on 15)

The method according to claim 15,
wherein the determining type of codeword stored in the target memory area comprises:
receiving an identifier corresponding to the target memory area;
searching for the type of codeword mapped to the identifier in mapping information that maps the type of codeword to each of the plurality of memory areas; and
applying the searched type of codeword as the type of codeword stored in the target memory area.

### Claim 17

A memory device comprising:
a memory media including a plurality of memory units; and
a controller including a first error detection and correction circuit for detecting error bit position and executing error correction for a codeword of a first type and a second error detection and correction circuit for detecting error bit position and executing error correction for a codeword of a second type;
wherein the controller is configured to:
set a plurality of memory areas each including one or more of the plurality of memory units,
store one or more first codewords of the first type in a first memory area among the plurality of memory areas,
store one or more second codewords of the second type in a second memory area among the plurality of memory areas,
execute error correction for the first codewords through the first error detection and correction circuit,
execute error correction for the second codewords through the second error detection and correction circuit, and
determine one or more memory units included in the second memory area as fail memory unit.
