# US 2021/0279132 A1 · Memory controller and method of 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 2021/0279132 A1
- Document ID: US20210279132A1
- Status: Published application
- Kind: A1
- Application number: 16/945,068
- Filed: 2020-07-31
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Ki Young KIM
- Web page: https://patentgrep.com/patent/US20210279132A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/073: {in a memory management context, e.g. virtual memory or cache management (memory management G06F12/00; testing of static memory units G11C29/00)}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/1666: {where the redundant component is memory or memory area}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0882: Page mode
- G11C 16/10: Programming or data input circuits
- G11C 16/3495: {Circuits or methods to detect or delay wearout of nonvolatile EPROM or EEPROM memory devices, e.g. by counting numbers of erase or reprogram cycles, by using multiple memory areas serially or cyclically}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

The present technology relates to an electronic device. A memory controller controls a memory device such that a life of the memory device is increased. The memory controller that controls the memory device includes a flash translation layer configured to generate a device health descriptor based on device information received from the memory device, and a bad block controller configured to generate a bad block table based on bad block information received from the memory device, and generate recycling information for recycling pages in bad blocks recorded in the bad block table based on the device health descriptor.

## Claims

### Claim 1

A memory controller that controls a memory device, the memory controller comprising:
a flash translation layer configured to generate a device health descriptor based on device information received from the memory device; and
a bad block controller configured to generate a bad block table based on bad block information received from the memory device, and generate recycling information for recycling pages in bad blocks recorded in the bad block table based on the device health descriptor.

### Claim 2 (depends on 1)

The memory controller of claim 1, wherein the device health descriptor includes information related to a life of the memory device determined based on the number of reserved blocks in the memory device.

### Claim 3 (depends on 2)

The memory controller of claim 2, wherein the device health descriptor further includes at least one of information related to a size of the device health descriptor, information related to a life of the memory device determined based on program and erase operations performed on the memory device, or information related to a number of times a refresh operation is performed on the memory device.

### Claim 4 (depends on 2)

The memory controller of claim 2, wherein the information related to the life of the memory device determined based on the number of reserved blocks is determined based on a number of remaining reserved blocks, except reserved blocks used to replace the bad blocks, among the reserved blocks in the memory device.

### Claim 5 (depends on 4)

The memory controller of claim 4, wherein the information related to the life of the memory device determined based on the number of reserved blocks indicates any one of a first value indicating that the life of the memory device has at the normal level state if the number of remaining reserved blocks is greater than a first threshold value, a second value indicating that the life of the memory device has at a warning level state if the number of remaining reserved blocks is greater than a second threshold value and less than the first threshold value, and a third value indicating that the life of the memory device has at a critical level state if the number of remaining reserved blocks is less than the second threshold value.

### Claim 6 (depends on 5)

The memory controller of claim 5, wherein if the information related to the life of the memory device determined based on the number of reserved blocks indicates the third value, the bad block controller generates the recycling information.

### Claim 7 (depends on 1)

The memory controller of claim 1, wherein the recycling information includes information on pages, except for a failed page in which an operation failed and pages adjacent to the failed page, among the pages in the bad blocks recorded in the bad block table.

### Claim 8 (depends on 7)

The memory controller of claim 7, wherein the pages adjacent to the failed page includes pages of planes adjacent to a plane to which the failed page belongs.

### Claim 9 (depends on 3)

The memory controller of claim 3, wherein when the bad block recorded in the bad block table is classified as a erase fail bad block due to failure of the erase operations, the bad block controller generates the recycling information for the bad blocks recorded in the bad block table, except for memory blocks within a group to which the erase fail bad block belongs.

### Claim 10 (depends on 1)

The memory controller of claim 1, wherein the memory controller instructs that a program operation be performed on pages based on the recycling information.

### Claim 11

A method of operating a memory controller that controls a memory device, the method comprising:
receiving device information from the memory device;
generating a device health descriptor based on the device information; and
determining whether to recycle pages in bad blocks in the memory device based on the device health descriptor.

### Claim 12 (depends on 11)

The method of claim 11, wherein the device health descriptor includes information related to a life of the memory device determined based on the number of reserved blocks in the memory device.

### Claim 13 (depends on 12)

The method of claim 12, wherein the device health descriptor further includes at least one of information related to a size of the device health descriptor, information related to a life of the memory device determined based on program and erase operations performed on the memory device or information related to a number of times a refresh operation is performed on the memory device.

### Claim 14 (depends on 12)

The method of claim 12, wherein the information related to the life of the memory device determined based on the number of reserved blocks is determined based on a number of remaining reserved blocks, except reserved blocks used to replace the bad blocks, among the reserved blocks in the memory device.

### Claim 15 (depends on 14)

The method of claim 14, wherein the information related to the life of the memory device determined based on the number of reserved blocks indicates any one of a first value indicating that the life of the memory device has a normal level state if the number of remaining reserved blocks is greater than a first threshold value, a second value indicating that the life of the memory device has a warning level state if the number of remaining reserved blocks is greater than a second threshold value and less than the first threshold value, and a third value indicating that the life of the memory device has a critical level state if the number of remaining reserved blocks is less than a second threshold value.

### Claim 16 (depends on 15)

The method of claim 15, wherein the determining whether to the recycle pages in the bad blocks in the memory device based on the device health descriptor comprises recycling pages in the bad blocks in response to third value of the information related to the life of the memory device determined based on the number of reserved blocks.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
generating recycling information for recycling pages in the bad blocks when it is determined to recycle pages in the bad blocks.

### Claim 18 (depends on 17)

The method of claim 17, wherein the generating of the recycling information includes generating information on pages, except for a failed page in which an operation failed and pages adjacent to the failed page, among the pages in the bad blocks.

### Claim 19 (depends on 17)

The method of claim 17, wherein in generating the recycling information, the recycling information is generated for the bad blocks recorded in the bad block table, except for memory blocks of a group to which bad blocks due to failure of the erase operations belong.

### Claim 20 (depends on 17)

The method of claim 17, further comprising:
instructing that a program operation be performed on pages based on the recycling information.
