IP Library › Granted Patent US 12,118,241
Granted Patent B2
US 12,118,241 · App. 17/233,210 · Granted Oct 15, 2024

Memory controller, memory system, and operating method thereof

Inventor: Do Hun Kim (Icheon, KR)
Assignee: SK hynix Inc.
G06F3/0659G06F3/0604G06F3/068G06F11/1048G06F11/1068G06F12/10G06F2212/1008G06F2212/608G06F2212/657G11C2029/0411G11C29/52
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,118,241
App. No.
17/233,210
Granted
Oct 15, 2024
Kind
B2
Abstract

A memory controller includes a cache memory, a host control circuit, and a flash translation layer. The host control circuit receives a read command and a logical address from a host, reads out mapping information corresponding to the logical address from a buffer memory device, and caches the mapping information in the cache memory. The flash translation layer reads a physical address corresponding to the logical address from the mapping information cached in the cache memory.

Claims (49)

1. A memory controller, comprising:

a cache memory;

a buffer memory device storing logical-physical address mapping information loaded from a nonvolatile memory device;

a host control circuit configured to receive a read command and a logical address from a host, issue a first command, in response to the read command, to read out mapping information corresponding to the logical address, from the buffer memory device when the mapping information corresponding to the logical address is cache-missed in the cache memory, and cache the mapping information from the buffer memory device in the cache memory; and

a flash translation layer configured to receive the logical address from the host control circuit, and issue a second command to read a physical address corresponding to the logical address from the mapping information cached in the cache memory.

2. The memory controller of claim 1 , further comprising:

a flash control circuit configured to read data corresponding to the read command from the nonvolatile memory device based on the physical address.

3. The memory controller of claim 1 , further comprising an error correction circuit coupled between the buffer memory device and the cache memory,

wherein the error correction circuit is configured to perform an ECC decoding operation on the mapping information output from the buffer memory device and to generate ECC decoded mapping information, and

wherein the cache memory caches the ECC-decoded mapping information.

4. The memory controller of claim 2 , wherein the buffer memory device is configured to buffer the data read from the nonvolatile memory device.

5. The memory controller of claim 2 , wherein when the host control circuit receives a write command, a write logical address, and write data from the host, the flash translation layer maps a write physical address to the write logical address, and updates mapping information stored in the buffer memory device with the write physical address mapped to the write logical address, and the flash control circuit programs the write data in the nonvolatile memory device based on the write physical address.

6. The memory controller of claim 5 , wherein the flash translation layer updates the mapping information stored in the buffer memory device by reading chunk data corresponding to the write logical address from the buffer memory device, modifying section data corresponding to the write physical address that is included in the chunk data, and writing modified chunk data including the modified section data to the buffer memory device.

7. A method of operating a memory system, the method comprising:

receiving, by a host control circuit, a read command and a logical address from a host;

searching a cache memory for mapping information corresponding to the logical address;

issuing a first command, in response to the read command, by the host control circuit when the mapping information corresponding to the logical address is cache-missed in the cache memory;

reading the mapping information corresponding to the logical address, from a buffer memory device storing logical-physical address mapping information loaded from a nonvolatile memory device;

caching the mapping information from the buffer memory device in the cache memory, in response to the first command, by the host control circuit;

transferring the logical address from the host control circuit to a flash translation layer;

issuing a second command, by the flash translation layer; and

reading, by the flash translation layer, a physical address corresponding to the logical address from the mapping information cached in the cache memory, in response to the second command.

8. The method of claim 7 , wherein the caching comprises:

executing an ECC decoding operation on the mapping information to generate ECC decoded mapping information; and

caching the ECC-decoded mapping information in the cache memory.

9. The method of claim 7 , further comprising:

receiving a write command, a write logical address, and write data from the host;

mapping a write physical address to the write logical address;

updating mapping information stored in the buffer memory device with the write physical address; and

programming the write data in the nonvolatile memory device based on the write physical address.

10. The method of claim 9 , wherein updating the mapping information comprises:

reading chunk data corresponding to the write logical address from the buffer memory device;

modifying section data corresponding to the write physical address that is included in the chunk data; and

writing modified chunk data including the modified section data to the buffer memory device.

11. A memory system, comprising:

a nonvolatile memory device;

a buffer memory device configured to store logical-physical address mapping information loaded from the nonvolatile memory device; and

a memory controller configured to control operations of the nonvolatile memory device and the buffer memory device,

wherein the memory controller comprises:

a cache memory;

a host control circuit configured to receive a read command and a logical address from a host, issue a first command, in response to the read command, to read out mapping information corresponding to the logical address from the buffer memory device when the mapping information corresponding to the logical address is cache-missed in the cache memory, and cache the mapping information from the buffer memory device in the cache memory; and

a flash translation layer configured to receive the logical address from the host control circuit, and issue a second command to read a physical address corresponding to the logical address from the mapping information cached in the cache memory.

12. The memory system of claim 11 , wherein the memory controller further comprises a flash control circuit configured to read data corresponding to the read command from the nonvolatile memory device based on the physical address.

13. The memory system of claim 11 , wherein the memory controller further comprises an error correction circuit coupled between the buffer memory device and the cache memory,

wherein the error correction circuit is configured to perform an ECC decoding operation on the mapping information output from the buffer memory device and to generate ECC decoded mapping information, and

wherein the cache memory caches the ECC-decoded mapping information.

14. The memory system of claim 12 , wherein the buffer memory device is configured to buffer the data read from the nonvolatile memory device.

15. The memory system of claim 12 , wherein when the host control circuit receives a write command, a write logical address, and write data from the host, the flash translation layer maps a write physical address to the write logical address, and updates the logical-physical address mapping information stored in the buffer memory device with the write physical address mapped to the write logical address, and the flash control circuit programs the write data in the nonvolatile memory device based on the write physical address.

16. The memory system of claim 15 , wherein the flash translation layer updates the logical-physical address mapping information stored in the buffer memory device by reading chunk data corresponding to the write logical address from the buffer memory device, modifying section data corresponding to the write physical address that is included in the chunk data, and writing modified chunk data including the modified section data to the buffer memory device.

Priority Claims (3)
KR 10-2017-0141380 · Oct 27, 2017 · national
KR 10-2018-0000363 · Jan 2, 2018 · national
KR 10-2019-0023135 · Feb 27, 2019 · national
Continuity (5)
Continuation In Part 16871775 · May 11, 2020
Continuation In Part 16781309 · Feb 4, 2020
Continuation In Part 16111044 · Aug 23, 2018
Continuation 15976651 · May 10, 2018
Related Publication 20210232343A1 · Jul 29, 2021