KR20220169642A - Controller and operation method thereof - Google Patents
Controller and operation method thereof Download PDFInfo
- Publication number
- KR20220169642A KR20220169642A KR1020210079965A KR20210079965A KR20220169642A KR 20220169642 A KR20220169642 A KR 20220169642A KR 1020210079965 A KR1020210079965 A KR 1020210079965A KR 20210079965 A KR20210079965 A KR 20210079965A KR 20220169642 A KR20220169642 A KR 20220169642A
- Authority
- KR
- South Korea
- Prior art keywords
- data chunk
- backup
- program
- memory
- data
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000015654 memory Effects 0.000 claims abstract description 235
- 239000000872 buffer Substances 0.000 claims abstract description 156
- 230000003139 buffering effect Effects 0.000 claims abstract description 15
- 238000004519 manufacturing process Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 17
- 238000003860 storage Methods 0.000 description 10
- 238000012937 correction Methods 0.000 description 7
- 238000009826 distribution Methods 0.000 description 7
- 238000011017 operating method Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 7
- 238000013500 data storage Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 101150013423 dsl-1 gene Proteins 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 102100031885 General transcription and DNA repair factor IIH helicase subunit XPB Human genes 0.000 description 1
- 101000920748 Homo sapiens General transcription and DNA repair factor IIH helicase subunit XPB Proteins 0.000 description 1
- 101000934888 Homo sapiens Succinate dehydrogenase cytochrome b560 subunit, mitochondrial Proteins 0.000 description 1
- 101100049574 Human herpesvirus 6A (strain Uganda-1102) U5 gene Proteins 0.000 description 1
- 102100025393 Succinate dehydrogenase cytochrome b560 subunit, mitochondrial Human genes 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000005291 magnetic effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 101150064834 ssl1 gene Proteins 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 238000004809 thin layer chromatography Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/065—Replication mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0658—Controller construction arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/56—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
- G11C11/5671—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency using charge trapping in an insulator
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/04—Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
- G11C16/0483—Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells having several storage transistors connected in series
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/08—Address circuits; Decoders; Word-line control circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C2211/00—Indexing scheme relating to digital stores characterized by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C2211/56—Indexing scheme relating to G11C11/56 and sub-groups for features not covered by these groups
- G11C2211/564—Miscellaneous aspects
- G11C2211/5642—Multilevel memory with buffers, latches, registers at input or output
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C2211/00—Indexing scheme relating to digital stores characterized by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C2211/56—Indexing scheme relating to G11C11/56 and sub-groups for features not covered by these groups
- G11C2211/564—Miscellaneous aspects
- G11C2211/5648—Multilevel memory programming, reading or erasing operations wherein the order or sequence of the operations is relevant
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
Description
본 발명은 컨트롤러 및 컨트롤러의 동작 방법에 관한 것이다.The present invention relates to a controller and a method of operating the controller.
최근 컴퓨터 환경에 대한 패러다임(paradigm)이 언제, 어디서나 컴퓨터 시스템을 사용할 수 있도록 하는 유비쿼터스 컴퓨팅(ubiquitous computing)으로 전환되고 있다. 이로 인해 휴대폰, 디지털 카메라, 노트북 컴퓨터 등과 같은 휴대용 전자 장치의 사용이 급증하고 있다. 이와 같은 휴대용 전자 장치는 일반적으로 메모리 장치를 이용하는 메모리 시스템, 다시 말해 데이터 저장 장치를 사용한다. 데이터 저장 장치는 휴대용 전자 장치의 주 기억 장치 또는 보조 기억 장치로 사용된다.Recently, a paradigm for a computer environment is shifting to ubiquitous computing that allows a computer system to be used anytime and anywhere. As a result, the use of portable electronic devices such as mobile phones, digital cameras, and notebook computers is rapidly increasing. Such a portable electronic device generally uses a memory system using a memory device, that is, a data storage device. Data storage devices are used as main storage devices or auxiliary storage devices in portable electronic devices.
비휘발성 메모리 장치를 이용한 데이터 저장 장치는 하드 디스크와 달리 기계적인 구동부가 없어서 안정성 및 내구성이 뛰어나며, 또한 정보의 액세스 속도가 매우 빠르고 전력 소모가 적다는 장점이 있다. 이러한 장점을 갖는 메모리 시스템의 일 예로 데이터 저장 장치는, USB(Universal Serial Bus) 메모리 장치, 다양한 인터페이스를 갖는 메모리 카드, 솔리드 스테이트 드라이브(SSD: Solid State Drive) 등을 포함한다.A data storage device using a non-volatile memory device, unlike a hard disk, has excellent stability and durability because it does not have a mechanical driving unit, and also has advantages such as very fast information access speed and low power consumption. As an example of a memory system having such an advantage, the data storage device includes a universal serial bus (USB) memory device, a memory card having various interfaces, a solid state drive (SSD), and the like.
본 발명은 메모리 시스템의 성능 및 신뢰성을 유지하면서 메모리 시스템의 제조비용을 절감할 수 있는 컨트롤러 및 컨트롤러의 동작 방법을 제공하고자 한다.SUMMARY OF THE INVENTION An object of the present invention is to provide a controller and an operating method of the controller capable of reducing manufacturing costs of a memory system while maintaining performance and reliability of the memory system.
본 발명의 실시 예에 따르면, 제1 및 제2 프로그램스텝을 거쳐 프로그램되는 멀티 레벨 셀들을 포함하는 메모리 장치를 제어하는 컨트롤러의 동작 방법은, 프로그램될 데이터청크들을 라이트 버퍼에 버퍼링하는 단계; 상기 데이터청크들을 선택적으로 백업 메모리에 백업하는 단계; 상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하되, 상기 데이터청크들 중 논백업 데이터청크는 제2 프로그램스텝에서 프로그램되도록 상기 프로그램 순서를 결정하는 단계; 및 상기 메모리 장치가 제1 물리 페이지에 제1 프로그램스텝을 수행하고, 상기 제1 물리 페이지에 후속하는 제2 물리 페이지에 제1 프로그램스텝을 수행한 후 상기 제1 물리 페이지에 제2 프로그램스텝을 수행함으로써 상기 데이터청크들을 프로그램하도록 상기 메모리 장치를 제어하는 단계를 포함한다.According to an embodiment of the present invention, a method of operating a controller for controlling a memory device including multi-level cells programmed through first and second program steps includes buffering data chunks to be programmed in a write buffer; selectively backing up the data chunks to a backup memory; determining a program order of each of the data chunks buffered in the write buffer so that a non-backup data chunk among the data chunks is programmed in a second program step; and the memory device executes a first program step on a first physical page, performs a first program step on a second physical page subsequent to the first physical page, and then executes a second program step on the first physical page. and controlling the memory device to program the data chunks by performing.
또한, 상기 데이터청크들 각각의 프로그램 순서를 결정하는 단계는 상기 데이터청크들 중 노멀 데이터청크는 제1 또는 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정하는 단계를 포함하고, 상기 노멀 데이터청크는 라이트 버퍼에 버퍼링된 데이터청크들 중, 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크일 수 있다.The determining of the program order of each of the data chunks may include determining a program order such that a normal data chunk among the data chunks is programmed in a first or second program step, and the normal data chunk is written Among the data chunks buffered in the buffer, a corresponding backup data chunk may be a data chunk backed up in the backup memory.
또한, 상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하는 단계는 상기 메모리 장치가 제1 프로그램스텝을 수행할 차례에 상기 데이터청크들 중 노멀 데이터청크가 프로그램되도록 상기 프로그램 순서를 결정하는 단계; 상기 메모리 장치가 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 논백업 데이터청크가 버퍼링된 경우 상기 논백업 데이터청크가 프로그램되도록 상기 프로그램 순서를 결정하는 단계; 및 상기 메모리 장치가 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 노멀 데이터청크만이 버퍼링된 경우 상기 노멀 데이터청크가 프로그램되도록 상기 프로그램 순서를 결정하는 단계를 포함할 수 있다.The determining of the program order of each of the data chunks buffered in the write buffer may include determining the program order so that a normal data chunk among the data chunks is programmed when the memory device performs the first program step. step; determining the program order so that the non-backup data chunk is programmed when the non-backup data chunk is buffered in the write buffer when it is the turn of the memory device to perform the second program step; and determining the program order so that the normal data chunk is programmed when only the normal data chunk is buffered in the write buffer when the memory device is to perform the second program step.
또한, 상기 동작 방법은 논백업 데이터청크를 상기 메모리 장치로 제공하는 단계; 및 상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 논백업 데이터청크를 상기 라이트 버퍼에서 제거하는 단계를 더 포함할 수 있다.In addition, the operating method may include providing a non-backup data chunk to the memory device; and removing the non-backup data chunk from the write buffer when a program operation of a physical page associated with the non-backup data chunk is successfully completed.
또한, 상기 동작 방법은 상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 라이트 버퍼에 버퍼링된 상기 논백업 데이터청크를 상기 메모리 장치로 다시 제공하는 단계를 더 포함할 수 있다.The operating method may further include providing the non-backup data chunk buffered in the write buffer to the memory device again, if the program operation of the physical page associated with the non-backup data chunk fails.
또한, 상기 동작 방법은 노멀 데이터청크를 상기 메모리 장치로 제공하는 단계; 및 상기 노멀 데이터청크를 상기 메모리 장치로 제공한 후 상기 노멀 데이터청크를 상기 라이트 버퍼에서 제거하는 단계를 더 포함하고, 상기 노멀 데이터청크는 상기 라이트 버퍼에 버퍼링된 데이터청크들 중, 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크일 수 있다.The operating method may further include providing a normal data chunk to the memory device; and removing the normal data chunk from the write buffer after providing the normal data chunk to the memory device, wherein the normal data chunk is the corresponding backup data among data chunks buffered in the write buffer. A chunk may be a data chunk backed up in the backup memory.
또한, 상기 동작 방법은 상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 노멀 데이터청크에 대응하는 백업 데이터청크를 상기 백업 메모리에서 제거하는 단계를 더 포함할 수 있다.The operation method may further include removing a backup data chunk corresponding to the normal data chunk from the backup memory when a program operation of a physical page associated with the normal data chunk is successfully completed.
또한, 상기 동작 방법은 상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 백업 메모리에 백업된 상기 백업 데이터청크를 상기 메모리 장치로 제공하는 단계를 더 포함할 수 있다.The operating method may further include providing the backup data chunk backed up in the backup memory to the memory device when a program operation of the physical page associated with the normal data chunk fails.
또한, 상기 데이터청크들을 선택적으로 상기 백업 메모리에 백업하는 단계는 호스트로부터 수신된 데이터청크가 상기 백업 메모리로 백업되는 데이터패스에서 병목이 발생하지 않도록 상기 데이터청크를 폐기하거나 상기 백업 메모리에 백업하는 단계를 포함하고, 상기 라이트 버퍼는 상기 백업 메모리보다 고속으로 동작하는 메모리일 수 있다.The step of selectively backing up the data chunks to the backup memory may include discarding the data chunks or backing them up to the backup memory so that a bottleneck does not occur in a data path where the data chunks received from the host are backed up to the backup memory. Including, the write buffer may be a memory that operates at a higher speed than the backup memory.
또한, 상기 데이터청크들을 선택적으로 상기 백업 메모리에 백업하는 단계는 상기 호스트로부터 수신된 데이터청크가 경유하는 임시 버퍼에 여유공간이 있는 경우 상기 데이터청크를 상기 임시 버퍼에 버퍼링하고, 상기 임시 버퍼에 버퍼링된 데이터청크를 백업 메모리에 백업하는 단계; 및 상기 임시 버퍼에 여유공간이 없는 경우 상기 데이터청크를 임시 버퍼에 버퍼링하지 않고 폐기하는 단계를 포함할 수 있다.In addition, the step of selectively backing up the data chunks in the backup memory may include buffering the data chunks in the temporary buffer if there is free space in the temporary buffer through which the data chunks received from the host pass through, and buffering the data chunks in the temporary buffer. backing up the data chunk to a backup memory; and discarding the data chunk without buffering it in the temporary buffer when there is no free space in the temporary buffer.
본 발명의 실시 예에 따르면, 제1 및 제2 프로그램스텝을 거쳐 프로그램되는 멀티 레벨 셀들을 포함하는 메모리 장치를 제어하는 컨트롤러는, 프로그램될 데이터청크들을 버퍼링하는 라이트 버퍼; 상기 데이터청크들을 선택적으로 백업하는 백업 메모리; 상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하되, 상기 데이터청크들 중 논백업 데이터청크는 제2 프로그램스텝에서 프로그램되도록 상기 프로그램 순서를 결정하는 프로세서를 포함하고, 상기 프로세서는 상기 메모리 장치가 제1 물리 페이지에 제1 프로그램스텝을 수행하고, 상기 제1 물리 페이지에 후속하는 제2 물리 페이지에 제1 프로그램스텝을 수행한 후 상기 제1 물리 페이지에 제2 프로그램스텝을 수행함으로써 상기 데이터청크들을 프로그램하도록 상기 메모리 장치를 제어한다.According to an embodiment of the present invention, a controller controlling a memory device including multi-level cells programmed through first and second program steps includes a write buffer buffering data chunks to be programmed; a backup memory that selectively backs up the data chunks; and a processor configured to determine a program order of each of the data chunks buffered in the write buffer, such that a non-backup data chunk among the data chunks is programmed in a second program step, wherein the processor determines the program order. The device executes a first program step on a first physical page, performs a first program step on a second physical page subsequent to the first physical page, and then performs a second program step on the first physical page. Controls the memory device to program data chunks.
또한, 상기 프로세서는 상기 데이터청크들 중 노멀 데이터청크는 제1 또는 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정하고, 상기 노멀 데이터청크는 라이트 버퍼에 버퍼링된 데이터청크들 중, 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크인 컨트롤러가 제공될 수 있다.Also, the processor determines a program sequence such that a normal data chunk among the data chunks is programmed in a first or second program step, and the normal data chunk is a corresponding backup data chunk among data chunks buffered in the write buffer. A controller is a data chunk backed up to the backup memory.
또한, 상기 프로세서는 상기 메모리 장치가 제1 프로그램스텝을 수행할 차례에 상기 데이터청크들 중 노멀 데이터청크를 프로그램하고, 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 논백업 데이터청크가 버퍼링된 경우 상기 논백업 데이터청크를 프로그램하고, 상기 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 노멀 데이터청크만이 버퍼링된 경우 상기 노멀 데이터청크를 프로그램하도록 상기 프로그램 순서를 결정할 수 있다.In addition, the processor programs a normal data chunk among the data chunks when the memory device performs the first program step, and the non-backup data chunk is buffered in the write buffer when the second program step is performed. In this case, the non-backup data chunk is programmed, and when only the normal data chunk is buffered in the write buffer at the turn of performing the second program step, the program sequence may be determined to program the normal data chunk.
또한, 상기 프로세서는 논백업 데이터청크를 상기 메모리 장치로 제공하고, 상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 논백업 데이터청크를 상기 라이트 버퍼에서 제거할 수 있다.Also, the processor may provide a non-backup data chunk to the memory device, and may remove the non-backup data chunk from the write buffer when a program operation of a physical page associated with the non-backup data chunk is successfully completed.
또한, 상기 프로세서는 상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 라이트 버퍼에 버퍼링된 상기 논백업 데이터청크를 상기 메모리 장치로 다시 제공할 수 있다.Also, if a program operation of a physical page associated with the non-backup data chunk fails, the processor may provide the non-backup data chunk buffered in the write buffer to the memory device again.
또한, 상기 프로세서는 노멀 데이터청크를 메모리 장치로 제공하고, 상기 노멀 데이터청크를 상기 라이트 버퍼에서 제거하고, 상기 노멀 데이터청크는 상기 라이트 버퍼에 버퍼링된 데이터청크들 중 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크일 수 있다.In addition, the processor provides a normal data chunk to a memory device, removes the normal data chunk from the write buffer, and the normal data chunk is a corresponding backup data chunk among data chunks buffered in the write buffer. It can be a chunk of data backed up in memory.
또한, 상기 프로세서는 상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 노멀 데이터청크에 대응하는 백업 데이터청크를 상기 백업 메모리에서 제거할 수 있다.Also, the processor may remove a backup data chunk corresponding to the normal data chunk from the backup memory when a program operation of a physical page associated with the normal data chunk is successfully completed.
또한, 상기 프로세서는 상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 백업 메모리에 백업된 상기 백업 데이터청크를 상기 메모리 장치로 제공할 수 있다.Also, when a program operation of a physical page associated with the normal data chunk fails, the processor may provide the backup data chunk backed up in the backup memory to the memory device.
또한, 상기 백업 메모리는 호스트로부터 수신된 데이터청크가 상기 백업 메모리로 백업되는 데이터패스에서 병목이 발생하지 않도록 상기 데이터청크를 선택적으로 상기 백업 메모리에 백업하고, 상기 라이트 버퍼는 상기 백업 메모리보다 고속으로 동작하는 메모리일 수 있다.In addition, the backup memory selectively backs up data chunks received from the host to the backup memory so that a bottleneck does not occur in a data path backed up to the backup memory, and the write buffer operates at a higher speed than the backup memory. It can be a working memory.
또한, 상기 컨트롤러는 상기 호스트로부터 수신된 데이터청크가 경유하는 임시 버퍼를 더 포함하고, 상기 임시 버퍼는 내부에 여유공간이 있는 경우 상기 데이터청크를 버퍼링한 후 상기 버퍼링된 데이터청크를 상기 백업 메모리로 제공하고, 내부에 여유공간이 없는 경우 상기 데이터청크를 버퍼링하지 않고 폐기할 수 있다.In addition, the controller further includes a temporary buffer through which the data chunk received from the host passes, and the temporary buffer buffers the data chunk when there is free space therein and transfers the buffered data chunk to the backup memory. provided, and if there is no free space inside, the data chunk may be discarded without buffering.
본 발명은 메모리 시스템의 성능 및 신뢰성을 유지하면서 메모리 시스템의 제조비용을 절감할 수 있는 컨트롤러 및 컨트롤러의 동작 방법을 제공할 수 있다.The present invention may provide a controller and an operating method of the controller capable of reducing manufacturing costs of a memory system while maintaining performance and reliability of the memory system.
도 1은 본 발명의 실시 예에 따른 메모리 시스템(110)을 포함하는 데이터 처리 시스템(100)의 일 예를 개략적으로 도시한 도면이다.
도 2는 본 발명의 실시 예에 따른 메모리 시스템(110)을 상세히 설명하는 도면이다.
도 3은 호스트(102)로부터 수신된 데이터의 데이터패스를 설명하기 위한 도면이다.
도 4는 메모리 장치(150)의 3차원 메모리 셀 어레이를 나타내는 도면이다.
도 5는 메모리 장치(150)의 멀티스텝 프로그램 동작을 설명하기 위한 도면이다.
도 6은 멀티스텝 프로그램 동작을 수행하는 메모리 장치(150)의 프로그램 순서를 설명하는 도면이다.
도 7은 본 발명의 실시 예에 따라 라이트 동작을 수행하기 위한 컨트롤러(130) 및 메모리 장치(150)의 상호작용(transaction)을 나타낸다.
도 8은 단계 S706의 세부 동작을 예시하는 도면이다.
도 9a 및 도 9b는 본 발명의 실시 예에 따른 컨트롤러(130)의 동작을 구체적인 예를 들어 설명하는 도면이다.1 is a diagram schematically illustrating an example of a
2 is a diagram illustrating a
FIG. 3 is a diagram for explaining a data path of data received from the
4 is a diagram illustrating a 3D memory cell array of the
5 is a diagram for explaining a multi-step program operation of the
6 is a diagram illustrating a program sequence of the
7 illustrates a transaction between the
8 is a diagram illustrating the detailed operation of step S706.
9A and 9B are diagrams illustrating the operation of the
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
그러나, 본 발명은 이하에서 개시되는 실시예에 한정되는 것이 아니라 서로 다른 다양한 형태로 구성될 수 있으며, 단지 본 실시예는 본 발명의 개시가 완전하도록 하며 통상의 지식을 가진 자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이다.However, the present invention is not limited to the embodiments disclosed below and may be configured in various different forms, but only the present embodiments are intended to complete the disclosure of the present invention and to those skilled in the art within the scope of the present invention. It is provided to fully inform you.
도 1은 본 발명의 실시 예에 따른 메모리 시스템을 포함하는 데이터 처리 시스템의 일 예를 개략적으로 도시한 도면이다.1 is a diagram schematically illustrating an example of a data processing system including a memory system according to an embodiment of the present invention.
도 1을 참조하면, 데이터 처리 시스템(100)은, 호스트(102) 및 메모리 시스템(110)을 포함한다.Referring to FIG. 1 , a
호스트(102)는 전자 장치, 예를 들어 휴대폰, MP3 플레이어, 랩탑 컴퓨터 등과 같은 휴대용 전자 장치들, 또는 데스크탑 컴퓨터, 게임기, TV, 프로젝터 등과 같은 전자 장치들을 포함할 수 있다.The
호스트(102)는 적어도 하나의 운영 시스템(OS: operating system)을 포함할 수 있다. 운영 시스템은 호스트(102)의 기능 및 동작을 전반적으로 관리 및 제어하고, 데이터 처리 시스템(100) 또는 메모리 시스템(110)을 사용하는 사용자와 호스트(102) 간에 상호 동작을 제공한다. 운영 시스템은 사용자의 사용 목적 및 용도에 상응한 기능 및 동작을 지원하며, 호스트(102)의 이동성(mobility)에 따라 일반 운영 시스템과 모바일 운용 시스템으로 구분할 수 있다. 운영 시스템에서의 일반 운영 시스템 시스템은, 사용자의 사용 환경에 따라 개인용 운영 시스템과 기업용 운영 시스템으로 구분할 수 있다.The
메모리 시스템(110)은 호스트(102)의 요청에 응하여 호스트(102)의 데이터를 저장하기 위해 동작할 수 있다. 예를 들어, 메모리 시스템(110)은 솔리드 스테이트 드라이브(SSD: Solid State Drive), MMC, eMMC(embedded MMC), RS-MMC(Reduced Size MMC), micro-MMC 형태의 멀티 미디어 카드(MMC: Multi Media Card), SD, mini-SD, micro-SD 형태의 시큐어 디지털(SD: Secure Digital) 카드, USB(Universal Serial Bus) 저장 장치, UFS(Universal Flash Storage) 장치, CF(Compact Flash) 카드, 스마트 미디어(Smart Media) 카드, 메모리 스틱(Memory Stick) 등과 같은 다양한 종류의 저장 장치들 중 어느 하나로 구현될 수 있다.The
메모리 시스템(110)은 다양한 종류의 저장 장치에 의해 구현될 수 있다. 예를 들어, 상기 저장 장치는 DRAM(Dynamic Random Access Memory), SRAM(Static RAM) 등과 같은 휘발성 메모리 장치와, ROM(Read Only Memory), MROM(Mask ROM), PROM(Programmable ROM), EPROM(Erasable ROM), EEPROM(Electrically Erasable ROM), FRAM(Ferromagnetic ROM), PRAM(Phase change RAM), MRAM(Magnetic RAM), RRAM(Resistive RAM), 플래시 메모리 등과 같은 비휘발성 메모리 장치를 포함할 수 있다.The
메모리 시스템(110)은 메모리 장치(150) 및 컨트롤러(130)를 포함할 수 있다. 메모리 장치(150)는 호스트(102)를 위한 데이터를 저장할 수 있으며, 컨트롤러(130)는 메모리 장치(150)로의 데이터 저장을 제어할 수 있다.The
컨트롤러(130) 및 메모리 장치(150)는 하나의 반도체 장치로 집적될 수 있다. 일 예로, 컨트롤러(130) 및 메모리 장치(150)는 하나의 반도체 장치로 집적되어 SSD를 구성할 수 있다. 메모리 시스템(110)이 SSD로 사용되면, 메모리 시스템(110)에 연결된 호스트(102)의 동작 속도는 향상될 수 있다. 게다가, 컨트롤러(130) 및 메모리 장치(150)는, 하나의 반도체 장치로 집적되어 메모리 카드를 구성할 수도 있다. 예를 들어, 컨트롤러(130) 및 메모리 장치(150)는 PC 카드(PCMCIA: Personal Computer Memory Card International Association), 컴팩트 플래시 카드(CF), 스마트 미디어 카드(SM, SMC), 메모리 스틱, 멀티미디어 카드(MMC, RS-MMC, MMCmicro), SD 카드(SD, miniSD, microSD, SDHC), 유니버설 플래시 기억 장치(UFS) 등과 같은 메모리 카드를 구성할 수 있다.The
다른 일 예로, 메모리 시스템(110)은, 컴퓨터, UMPC(Ultra Mobile PC), 워크스테이션, 넷북(net-book), PDA(Personal Digital Assistants), 포터블(portable) 컴퓨터, 웹 타블렛(web tablet), 태블릿 컴퓨터(tablet computer), 무선 전화기(wireless phone), 모바일 폰(mobile phone), 스마트폰(smart phone), e-북(e-book), PMP(portable multimedia player), 휴대용 게임기, 네비게이션(navigation) 장치, 블랙박스(black box), 디지털 카메라(digital camera), DMB(Digital Multimedia Broadcasting) 재생기, 3차원 텔레비전(3-dimensional television), 스마트 텔레비전(smart television), 디지털 음성 녹음기(digital audio recorder), 디지털 음성 재생기(digital audio player), 디지털 영상 녹화기(digital picture recorder), 디지털 영상 재생기(digital picture player), 디지털 동영상 녹화기(digital video recorder), 디지털 동영상 재생기(digital video player), 데이터 센터를 구성하는 스토리지, 정보를 무선 환경에서 송수신할 수 있는 장치, 홈 네트워크를 구성하는 다양한 전자 장치들 중 하나, 컴퓨터 네트워크를 구성하는 다양한 전자 장치들 중 하나, 텔레매틱스 네트워크를 구성하는 다양한 전자 장치들 중 하나, RFID(radio frequency identification) 장치, 또는 컴퓨팅 시스템을 구성하는 다양한 구성 요소들 중 하나 등을 구성할 수 있다.As another example, the
메모리 장치(150)는 비휘발성 메모리 장치일 수 있으며, 전원이 공급되지 않아도 저장된 데이터를 유지할 수 있다. 메모리 장치(150)는 프로그램 동작을 통해 호스트(102)로부터 제공된 데이터를 저장할 수 있고, 리드 동작을 통해 호스트(102)로 메모리 장치(150)에 저장된 데이터를 제공할 수 있다. 메모리 장치(150)는 복수의 메모리 블록들을 포함하며, 메모리 블록들 각각은 복수의 페이지들을 포함하며, 상기 페이지들 각각은 워드라인에 연결된 복수의 메모리 셀들을 포함할 수 있다. 일 실시예에서, 메모리 장치(150)는 플래시 메모리가 될 수 있다. 상기 플래시 메모리는 3차원 스택 구조를 가질 수 있다.The
컨트롤러(130)는 호스트(102)로부터의 요청에 응하여 메모리 장치(150)를 제어할 수 있다. 예를 들어, 컨트롤러(130)는 메모리 장치(150)로부터 리드된 데이터를 호스트(102)로 제공하고, 호스트(102)로부터 제공된 데이터를 메모리 장치(150)에 저장할 수 있다. 이러한 동작을 위해, 컨트롤러(130)는 메모리 장치(150)의 리드(read), 프로그램(program), 이레이즈(erase) 등의 동작을 제어할 수 있다.The
컨트롤러(130)는 라이트 버퍼(146)를 포함할 수 있다. 컨트롤러(130)는 메모리 장치(150)에 프로그램될 데이터, 예를 들어 호스트(102)로부터 라이트 요청과 함께 수신된 데이터를 라이트 버퍼(146)에 버퍼링할 수 있다. 컨트롤러(130)는 라이트 버퍼(146)에 버퍼링된 데이터를 메모리 장치(150)로 제공하면서 메모리 장치(150)가 상기 데이터를 프로그램하도록 제어할 수 있다.The
컨트롤러(130)는 메모리 장치(150)의 프로그램 동작이 실패할 경우에 대비하여, 상기 데이터를 메모리 장치(150)로 제공한 후에도 상기 프로그램 동작이 성공적으로 완료될 때까지 상기 데이터를 컨트롤러(130) 내부에 유지할 수 있다.In case the program operation of the
라이트 버퍼(146)는 라이트 요청을 신속하게 처리하기 위해 SRAM과 같은 고속 메모리로 구현될 수 있다. 고속 메모리는 DRAM과 같은 일반 메모리에 비해 액세스 속도가 빠르지만, 집적도가 낮고 제조비용이 높을 수 있다. 만약 컨트롤러(130)가 메모리 장치(150)에 프로그램될 모든 데이터를 프로그램 동작이 성공적으로 완료될 때까지 라이트 버퍼(146)에 유지해야 한다면 고용량의 라이트 버퍼(146)가 요구될 수 있다. 메모리 시스템(110)에 고용량의 라이트 버퍼(146)를 포함시키는 경우 메모리 시스템(110)의 회로 면적이 증가하고 제조비용이 상승할 수 있다.Write
컨트롤러(130)는 프로그램 동작이 성공적으로 완료될 때까지 프로그램될 데이터를 유지하기 위한 백업 메모리(148)를 포함할 수 있다. 컨트롤러(130)는 호스트(102)로부터의 데이터를 라이트 버퍼(146)에 버퍼링하고, 백업 메모리(148)에 동일한 데이터를 백업할 수 있다. 백업 메모리(148)에 상기 버퍼링된 데이터와 동일한 데이터가 백업된 경우, 컨트롤러(130)는 라이트 버퍼(146)에 버퍼링된 데이터를 메모리 장치(150)로 제공한 후에 상기 데이터를 라이트 버퍼(146)에서 제거할 수 있다. The
백업 메모리(148)는 DRAM과 같은 일반 메모리로 구현될 수 있으며, 상기 일반 메모리는 상기 고속 메모리에 비해 집적도가 높고 제조비용이 낮을 수 있다. 컨트롤러(130)가 백업 메모리(148)를 이용하면 메모리 장치(150)에 프로그램될 데이터가 컨트롤러(130)에 유지될 수 있으므로 메모리 장치(150)의 프로그램동작이 실패하더라도 메모리 시스템(110)의 신뢰성이 유지될 수 있을뿐만 아니라, 메모리 시스템(110)의 회로 면적 및 제조비용이 절감될 수 있다.The
한편, 백업 메모리(148)에 백업된 데이터가 제거되는 속도보다 백업 메모리(148)에 새로운 데이터가 백업되는 속도가 빠른 경우 백업 메모리(148)에서 병목이 발생할 수 있다. 만약 컨트롤러(130)가 라이트 버퍼(146)에 버퍼링되는 데이터를 모두 백업 메모리(148)에 백업해야 한다면, 백업 메모리(148)에서 병목이 발생했을 때는 라이트 버퍼(146)에도 데이터를 버퍼링하지 못할 수 있다. 백업 메모리(148)에서 병목이 발생하면 라이트 버퍼(146)가 충분한 데이터 전송 속도를 제공할 수 있음에도 불구하고 메모리 시스템(110)의 라이트 성능이 저하될 수 있다. Meanwhile, when new data is backed up in the
본 발명의 실시 예에 따르면, 컨트롤러(130)는 백업 메모리(148)에서 병목이 발생하지 않도록 라이트 버퍼(146)에 버퍼링되는 데이터 중 일부는 백업하지 않고 폐기(discard)할 수 있다. 도 1을 참조하면, 라이트 버퍼(146)는 복수의 데이터청크(data chunk)들을 버퍼링할 수 있다. 라이트 버퍼(146)에 버퍼링된 복수의 데이터청크들 중 어떤 데이터청크들은 백업 메모리(148)에 백업될 수 있고, 나머지 데이터청크들은 백업 메모리(148)에 백업되지 않을 수 있다. According to an embodiment of the present invention, the
백업 메모리(148)에 백업된 데이터청크는 백업 데이터청크로 지칭될 수 있으며, 백업 데이터청크는 도 1에서 음영이 표시된 사각형으로 도시된다. 라이트 버퍼(146)에 버퍼링된 데이터청크들 중 대응하는 백업 데이터청크를 갖는 데이터청크는 노멀 데이터청크로 지칭될 수 있으며, 도 1에서 도트 패턴이 표시된 사각형으로 도시된다. 라이트 버퍼(146)에 버퍼링된 데이터청크가 백업 데이터청크를 갖는다는 것은 상기 데이터청크와 동일한 값을 갖는 데이터청크가 백업 메모리(148)에 저장된다는 것을 가리킬 수 있다. 라이트 버퍼(146)에 버퍼링된 데이터청크들 중 백업 데이터청크를 갖지 않는 데이터청크는 논백업 데이터청크로 지칭될 수 있으며, 도 1에서 빗금 패턴이 표시된 사각형으로 도시된다. 도 1에서 파선으로 연결된 노멀 데이터청크와 백업 데이터청크는 서로 동일한 값을 갖는 데이터청크를 나타낼 수 있다.A data chunk backed up in the
컨트롤러(130)는 노멀 데이터청크를 메모리 장치(150)로 제공한 즉시 상기 노멀 데이터청크를 라이트 버퍼(146)로부터 제거하더라도 상기 노멀 데이터청크와 동일한 데이터를 백업 메모리(148)에 유지할 수 있다. 반면에, 컨트롤러(130)는 논백업 데이터청크를 컨트롤러(130)에 유지하기 위해서, 상기 논백업 데이터청크가 성공적으로 프로그램 완료될 때까지 상기 논백업 데이터청크를 라이트 버퍼(146)에 유지할 수 있다.Even if the
본 발명의 실시 예에 따르면, 컨트롤러(130)는 라이트 버퍼(146)에 요구되는 용량을 최소화하기 위해 논백업 데이터청크들이 라이트 버퍼(146)에서 적체되는 시간을 줄이고자 한다. 이하에서, 컨트롤러(130)가 데이터청크들이 성공적으로 프로그램될 때까지 상기 데이터청크들을 컨트롤러(130)에 유지하면서도 논백업 데이터청크를 라이트 버퍼(146)에서 신속하게 제거함으로써 논백업 데이터청크들이 라이트 버퍼(146)에서 적체되지 않도록 하는 방법이 도 2 내지 도 9B를 참조하여 상세히 설명된다. According to an embodiment of the present invention, the
도 2는 본 발명의 실시 예에 따른 메모리 시스템(110)을 상세히 설명하는 도면이다.2 is a diagram illustrating a
메모리 시스템(110)은 컨트롤러(130) 및 메모리 장치(150)를 포함할 수 있다. 도 2에 도시된 컨트롤러(130) 및 메모리 장치(150)는 도 1을 참조하여 설명된 것과 대응한다.The
컨트롤러(130)는 서로 내부 버스를 통해 동작 가능하도록 연결된 호스트 인터페이스(132), 프로세서(134), ECC(error correction code, 138), 파워 관리 유닛(140), 메모리 인터페이스(142) 및 메모리(144)를 포함할 수 있다.The
호스트 인터페이스(132)는 호스트(102)의 커맨드(command) 및 데이터를 처리하며, USB(Universal Serial Bus), MMC(Multi-Media Card), PCI-E(Peripheral Component Interconnect-Express), SAS(Serial-attached SCSI), SATA(Serial Advanced Technology Attachment), PATA(Parallel Advanced Technology Attachment), SCSI(Small Computer System Interface), ESDI(Enhanced Small Disk Interface), IDE(Integrated Drive Electronics), MIPI(Mobile Industry Processor Interface) 등과 같은 다양한 인터페이스 프로토콜들 중 적어도 하나를 통해 호스트(102)와 통신하도록 구성될 수 있다.The
호스트 인터페이스(132)는 호스트(102)와 데이터를 주고받기 위해 호스트 인터페이스 계층(HIL: Host Interface Layer)이라 불리는 펌웨어(firmware)를 구동할 수 있다.The
ECC(138)는 메모리 장치(150)로부터 독출되는 데이터에 포함된 에러를 검출 및 정정할 수 있다. 즉, ECC(138)는 ECC 인코딩 프로세스에서 사용된 ECC 코드를 통해 메모리 장치(150)로부터 독출된 데이터에 에러 정정 디코딩 프로세스를 수행할 수 있다. 에러 정정 디코딩 프로세스의 결과에 따라, ECC(138)는 예를 들어 에러 정정 성공/실패 신호와 같은 신호를 출력할 수 있다. 에러 비트의 수가 정정 가능한 에러 비트의 임계치를 초과하면, ECC(138)는 에러 비트를 정정하지 못하고, 에러 정정 실패 신호를 출력할 수 있다.The
ECC(138)는 LDPC(low density parity check) 코드(code), BCH(Bose, Chaudhuri, Hocquenghem) 코드, 터보 코드(turbo code), 리드-솔로몬 코드(Reed-Solomon code), 컨벌루션 코드(convolution code), RSC(recursive systematic code), TCM(trellis-coded modulation), BCM(Block coded modulation) 등의 코디드 모듈레이션(coded modulation)을 사용하여 에러 정정을 수행할 수 있다. 그러나, ECC(138)는 특정한 구조로 한정되는 것은 아니다. ECC(138)는 오류 정정을 위한 회로, 모듈, 시스템, 또는 장치를 모두 포함할 수 있다.
메모리 인터페이스(142)는 컨트롤러(130)가 호스트(102)로부터의 요청에 응답하여 메모리 장치(150)를 제어하도록, 컨트롤러(130)와 메모리 장치(150) 간의 인터페이싱을 위한 메모리/스토리지(storage) 인터페이스로서의 역할을 할 수 있다. 메모리 장치(150)가 플래시 메모리, 특히 NAND 플래시 메모리인 경우, 메모리 인터페이스(142)는 메모리 장치(150)를 위한 제어 신호를 생성하고, 프로세서(134)의 제어 하에 메모리 장치(150)로 제공되는 데이터를 처리할 수 있다. 메모리 인터페이스(142)는 컨트롤러(130)와 메모리 장치(150) 사이의 커맨드 및 데이터를 처리하기 위한 인터페이스, 예를 들어 NAND 플래시 인터페이스로서 동작할 수 있다.The
메모리 인터페이스(142)는 플래시 인터페이스 계층(FIL: Flash Interface Layer)이라 불리는 펌웨어(firmware)를 구동할 수 있다.The
프로세서(134)는 메모리 시스템(110)의 전체적인 동작을 제어할 수 있다. 프로세서(134)는 메모리 시스템(110)의 전반적인 동작을 제어하기 위해 펌웨어를 구동할 수 있다. 상기 펌웨어는 플래시 변환 계층(FTL: Flash Translation Layer)으로 불릴 수 있다. 그리고, 프로세서(134)는 마이크로프로세서 또는 중앙 처리 장치(CPU) 등으로 구현될 수 있다.The
프로세서(134)는 플래시 변환 계층을 구동하여 호스트(102)로부터 수신된 요청에 대응하는 포그라운드 동작(foreground operation)을 수행할 수 있다. 예를 들어, 프로세서(134)는 호스트로부터의 라이트 요청에 응하여 메모리 장치(150)의 라이트 동작을 제어하고, 리드 요청에 응하여 메모리 장치(150)의 리드 동작을 제어할 수 있다.The
또한, 컨트롤러(130)는 마이크로프로세서 또는 중앙 처리 장치(CPU) 등으로 구현된 프로세서(134)를 통해 메모리 장치(150)에 대한 백그라운드 동작(background operation)을 수행할 수도 있다. 예를 들어, 메모리 장치(150)에 대한 백그라운드 동작은 가비지 컬렉션(GC: Garbage Collection) 동작, 웨어 레벨링(WL: Wear Leveling) 동작, 맵 플러시(map flush) 동작, 배드 블록 관리(bad block management) 동작 등을 포함할 수 있다.Also, the
메모리(144)는 메모리 시스템(110) 및 컨트롤러(130)의 동작 메모리로서의 역할을 수행할 수 있으며, 메모리 시스템(110) 및 컨트롤러(130)의 구동을 위한 데이터를 저장할 수 있다. 컨트롤러(130)는 호스트(102)로부터의 요청에 응하여 메모리 장치(150)가 리드, 프로그램, 이레이즈 동작을 수행하도록 메모리 장치(150)를 제어할 수 있다. 컨트롤러(130)는 메모리 장치(150)로부터 독출되는 데이터를 호스트(102)로 제공할 수 있으며, 호스트(102)로부터 제공되는 데이터를 메모리 장치(150)에 저장할 수 있다. 메모리(144)는 컨트롤러(130)와 메모리 장치(150)가 이러한 동작을 수행하는 데 필요한 데이터를 저장할 수 있다.The
메모리(144)는 휘발성 메모리로 구현될 수 있다. 예를 들어, 메모리(144)는 정적 랜덤 액세스 메모리(SRAM: Static Random Access Memory), 또는 동적 랜덤 액세스 메모리(DRAM: Dynamic Random Access Memory) 등으로 구현될 수 있다. 메모리(144)는 컨트롤러(130) 내부 또는 외부에 배치될 수 있다. 도 1은 컨트롤러(130) 내부에 배치된 메모리(144)를 예시한다. 일 실시예에서, 메모리(144)는 외부 휘발성 메모리 장치로 구현될 수 있으며, 상기 메모리(144)는 컨트롤러(130)와 데이터를 입출력하기 위한 메모리 인터페이스를 가질 수 있다.
메모리(144)는 도 1을 참조하여 설명된 라이트 버퍼(146) 및 백업 메모리(148)를 포함할 수 있다. 컨트롤러(130)가 호스트(102)로부터 수신된 데이터청크를 라이트 버퍼(146)에 버퍼링하고, 데이터청크를 선택적으로 백업 메모리(148)에 백업하는 데이터패스(data path)에 대해 도 3을 참조하여 상세히 설명된다.The
도 3은 호스트(102)로부터 수신된 데이터의 데이터패스를 설명하기 위한 도면이다.FIG. 3 is a diagram for explaining a data path of data received from the
도 3은 도 1 및 도 2를 참조하여 설명된 컨트롤러(130)의 구성들 중 일부를 도시한다. 구체적으로, 도 3은 호스트 인터페이스(132), 라이트 버퍼(146) 및 백업 메모리(148)를 도시한다.FIG. 3 shows some of the configurations of the
도 3은 메인 데이터패스(302) 및 백업 데이터패스(304)를 도시한다. 메인 데이터패스(302)는 호스트(102)로부터 수신된 데이터청크가 라이트 버퍼(146)에 버퍼링되기까지의 경로를 지칭할 수 있다. 백업 데이터패스(304)는 호스트(102)로부터의 데이터청크가 백업 메모리(148)에 백업되기까지의 경로를 지칭할 수 있다.3 shows a main datapath 302 and a
컨트롤러(130)는 임시 버퍼(140)를 더 포함할 수 있다. 호스트(102)로부터의 데이터청크는 호스트 인터페이스(132)를 통해 수신되고, 임시 버퍼(140)를 경유하여 백업 메모리(148)에 백업될 수 있다. 임시 버퍼(140)는 메모리(144)에 포함될 수 있다.The
컨트롤러(130)는 메모리 시스템(110)의 라이트 동작 성능을 유지하기 위해, 호스트(102)로부터의 데이터청크를 선택적으로 백업하거나 폐기함으로써 백업 데이터패스(304)에서 병목이 발생하지 않도록 할 수 있다.The
도 3의 예에서, 호스트 인터페이스(132)는 호스트(102)로부터 제1 내지 제4 데이터청크(D1 - D4)를 수신하고, 상기 데이터청크들을 메인 데이터패스(302) 및 백업 데이터패스(304)로 제공할 수 있다. 라이트 버퍼(146)는 메인 데이터패스(302)를 통해 수신된 제1 내지 제4 데이터청크(D1 - D4)를 모두 버퍼링할 수 있다. 임시 버퍼(140)는 내부에 데이터청크를 버퍼링할 수 있는 여유공간이 있는지 여부에 따라 백업 데이터패스(304)를 통해 수신된 데이터청크를 선택적으로 버퍼링할 수 있다. 예를 들어, 임시 버퍼(140)는 제1 내지 제3 데이터청크(D1 - D3)를 버퍼링하고, 더 이상의 여유공간이 없는 경우 제4 데이터청크(D4)를 버퍼링하지 않고 폐기할 수 있다. 임시 버퍼(140)는 버퍼링된 제1 내지 제3 데이터청크(D1 - D3)를 백업 메모리(148)에 백업할 수 있다. In the example of FIG. 3 , the
도 3의 예에서, 라이트 버퍼(146)에 버퍼링된 데이터청크들 중 제1 내지 제3 데이터청크(D1 - D3)는 노멀 데이터청크에 해당하고, 제4 데이터청크(D4)는 논백업 데이터청크에 해당할 수 있다. 백업 메모리(148)에 백업된 제1 내지 제3 데이터청크(D1 - D3)는 백업 데이터청크에 해당할 수 있다.In the example of FIG. 3 , among the data chunks buffered in the
프로세서(134)는 제1 내지 제4 데이터청크(D1 - D4)를 메모리 장치(150)로 제공하면서 메모리 장치(150)의 프로그램 동작을 제어할 수 있다. 프로세서(134)는 노멀 데이터청크들인 제1 내지 제3 데이터청크(D1 - D3)는 메모리 장치(150)로 제공된 후 라이트 버퍼(146)에서 제거할 수 있다. 만약 노멀 데이터청크에 대한 프로그램 동작이 실패한 경우, 프로세서(134)는 상기 노멀 데이터청크에 대응하는 백업 데이터청크를 백업 메모리(148)로부터 메모리 인터페이스(142)를 통해 메모리 장치(150)로 다시 제공할 수 있다. The
반면에, 프로세서(134)는 논백업 데이터청크인 제4 데이터청크(D4)는 메모리 장치(150)로 제공된 후에도 라이트 버퍼(146)에서 제거하지 않고 유지할 수 있다. 만약 논백업 데이터청크에 대한 프로그램 동작이 실패한 경우, 프로세서(134)는 상기 논백업 데이터청크를 라이트 버퍼(146)로부터 메모리 인터페이스(142)를 통해 메모리 장치(150)로 제공할 수 있다. 프로세서(134)는 메모리 장치(150)의 프로그램 동작이 성공적으로 완료되면 백업 데이터청크를 백업 메모리(148)로부터 제거하고, 논백업 데이터청크를 라이트 버퍼(146)에서 제거할 수 있다.On the other hand, the
본 발명의 실시 예에 따르면, 컨트롤러(130)는 데이터청크들이 메모리 장치(150)에 프로그램되는 순서를 조정함으로써 논백업 데이터청크에 대한 프로그램 동작이 신속하게 완료될 수 있도록 하고, 논백업 데이터청크를 라이트 버퍼(146)로부터 신속하게 제거하고자 한다. 본 발명의 실시 예에 따르면, 논백업 데이터청크가 메모리 장치(150)의 프로그램 동작이 성공적으로 완료될 때까지 라이트 버퍼(146)에 유지되면서도 논백업 데이터청크가 라이트 버퍼(146)에 적체되는 일이 방지될 수 있다.According to an embodiment of the present invention, the
메모리 장치(150)에서 데이터가 프로그램되는 순서가 도 4 내지 도 6을 참조하여 상세히 설명된다.A sequence of programming data in the
도 4는 메모리 장치(150)의 3차원 메모리 셀 어레이를 나타내는 도면이다.4 is a diagram illustrating a 3D memory cell array of the
도 4를 참조하면, 메모리 장치(150)는 다수의 메모리 블록들(MB1~MBk)을 포함할 수 있다. 메모리 블록은 다수의 스트링들(ST11~ST1m, ST21~ST2m)을 포함할 수 있다. 실시 예로서, 다수의 스트링들(ST11~ST1m, ST21~ST2m) 각각은 'U'자형으로 형성될 수 있다. 제1 메모리 블록(MB1) 내에서, 행 방향(X 방향)으로 m개의 스트링들이 배열될 수 있다. 도 6에서, 열 방향(Y 방향)으로 2개의 스트링들이 배열되는 것으로 도시되었으나, 이는 설명의 편의를 위한 것으로서 열 방향(Y 방향)으로 3개 이상의 스트링들이 배열될 수 있다.Referring to FIG. 4 , the
다수의 스트링들(ST11~ST1m, ST21~ST2m) 각각은 적어도 하나의 소스 셀렉트 트랜지스터(SST), 제1 내지 제n 메모리 셀들(MC1~MCn), 파이프 트랜지스터(PT) 및 적어도 하나의 드레인 셀렉트 트랜지스터(DST)를 포함할 수 있다.Each of the plurality of strings ST11 to ST1m and ST21 to ST2m includes at least one source select transistor SST, first to nth memory cells MC1 to MCn, a pipe transistor PT, and at least one drain select transistor. (DST).
소스 및 드레인 셀렉트 트랜지스터들(SST 및 DST)과 메모리 셀들(MC1~MCn)은 서로 유사한 구조를 가질 수 있다. 예를 들면, 소스 및 드레인 셀렉트 트랜지스터들(SST 및 DST)과 메모리 셀들(MC1~MCn) 각각은 채널막, 터널 절연막, 전하 트랩막 및 블로킹 절연막을 포함할 수 있다. 예를 들면, 채널막을 제공하기 위한 필라(pillar)가 각 스트링에 제공될 수 있다. 예를 들면, 채널막, 터널 절연막, 전하 트랩막 및 블로킹 절연막 중 적어도 하나를 제공하기 위한 필라가 각 스트링에 제공될 수 있다.The source and drain select transistors SST and DST and the memory cells MC1 to MCn may have structures similar to each other. For example, each of the source and drain select transistors SST and DST and the memory cells MC1 to MCn may include a channel layer, a tunnel insulating layer, a charge trap layer, and a blocking insulating layer. For example, a pillar for providing a channel film may be provided in each string. For example, a pillar for providing at least one of a channel layer, a tunnel insulating layer, a charge trap layer, and a blocking insulating layer may be provided in each string.
각 스트링의 소스 셀렉트 트랜지스터(SST)는 소스 라인(SL)과 메모리 셀들(MC1~MCp) 사이에 연결될 수 있다.The source select transistor SST of each string may be connected between the source line SL and the memory cells MC1 to MCp.
실시 예로서, 동일한 행에 배열된 스트링들의 소스 셀렉트 트랜지스터들은 행 방향으로 연장되는 소스 셀렉트 라인에 연결될 수 있고, 상이한 행에 배열된 스트링들의 소스 셀렉트 트랜지스터들은 상이한 소스 셀렉트 라인들에 연결될 수 있다. 도 4에서, 제1 행의 스트링들(ST11~ST1m)의 소스 셀렉트 트랜지스터들은 제1 소스 셀렉트 라인(SSL1)에 연결될 수 있다. 제2 행의 스트링들(ST21~ST2m)의 소스 셀렉트 트랜지스터들은 제2 소스 셀렉트 라인(SSL2)에 연결될 수 있다.As an embodiment, source select transistors of strings arranged in the same row may be connected to source select lines extending in a row direction, and source select transistors of strings arranged in different rows may be connected to different source select lines. In FIG. 4 , the source select transistors of the strings ST11 to ST1m in the first row may be connected to the first source select line SSL1 . The source select transistors of the strings ST21 to ST2m in the second row may be connected to the second source select line SSL2.
다른 실시 예로서, 스트링들(ST11~ST1m, ST21~ST2m)의 소스 셀렉트 트랜지스터들은 하나의 소스 셀렉트 라인에 공통으로 연결될 수 있다.As another embodiment, the source select transistors of the strings ST11 to ST1m and ST21 to ST2m may be connected in common to one source select line.
각 스트링의 제1 내지 제n 메모리 셀들(MC1~MCn)은 소스 셀렉트 트랜지스터(SST)와 드레인 셀렉트 트랜지스터(DST) 사이에 연결될 수 있다.The first to nth memory cells MC1 to MCn of each string may be connected between the source select transistor SST and the drain select transistor DST.
제1 내지 제n 메모리 셀들(MC1~MCn)은 제1 내지 제p 메모리 셀들(MC1~MCp)과 제p+1 내지 제n 메모리 셀들(MCp+1~MCn)로 구분될 수 있다. 제1 내지 제p 메모리 셀들(MC1~MCp)은 수직 방향(Z 방향)으로 순차적으로 배열될 수 있으며, 소스 셀렉트 트랜지스터(SST)와 파이프 트랜지스터(PT) 사이에서 서로 직렬로 연결될 수 있다. 제p+1 내지 제n 메모리 셀들(MCp+1~MCn)은 수직 방향(Z 방향)으로 순차적으로 배열될 수 있으며, 파이프 트랜지스터(PT)와 드레인 셀렉트 트랜지스터(DST) 사이에서 서로 직렬로 연결될 수 있다. 제1 내지 제p 메모리 셀들(MC1~MCp)과 제p+1 내지 제n 메모리 셀들(MCp+1~MCn)은 파이프 트랜지스터(PT)를 통해 서로 연결될 수 있다. 각 스트링의 제1 내지 제n 메모리 셀들(MC1~MCn)의 게이트들은 각각 제1 내지 제n 워드 라인들(WL1~WLn)에 연결될 수 있다.The first to nth memory cells MC1 to MCn may be divided into first to pth memory cells MC1 to MCp and p+1 to nth memory cells MCp+1 to MCn. The first to pth memory cells MC1 to MCp may be sequentially arranged in a vertical direction (Z direction) and may be serially connected to each other between the source select transistor SST and the pipe transistor PT. The p+1th to nth memory cells MCp+1 to MCn may be sequentially arranged in a vertical direction (Z direction) and may be serially connected to each other between the pipe transistor PT and the drain select transistor DST. there is. The first to pth memory cells MC1 to MCp and the p+1 to nth memory cells MCp+1 to MCn may be connected to each other through the pipe transistor PT. Gates of the first to nth memory cells MC1 to MCn of each string may be connected to the first to nth word lines WL1 to WLn, respectively.
실시 예로서, 제1 내지 제n 메모리 셀들(MC1~MCn) 중 적어도 하나는 더미 메모리 셀로써 이용될 수 있다. 더미 메모리 셀이 제공되는 경우, 해당 스트링의 전압 또는 전류는 안정적으로 제어될 수 있다. 각 스트링의 파이프 트랜지스터(PT)의 게이트는 파이프 라인(PL)에 연결될 수 있다.As an example embodiment, at least one of the first to n th memory cells MC1 to MCn may be used as a dummy memory cell. When a dummy memory cell is provided, a voltage or current of a corresponding string can be stably controlled. Gates of the pipe transistors PT of each string may be connected to the pipeline PL.
각 스트링의 드레인 셀렉트 트랜지스터(DST)는 비트 라인과 메모리 셀들(MCp+1~MCn) 사이에 연결될 수 있다. 행 방향으로 배열되는 스트링들은 행 방향으로 연장되는 드레인 셀렉트 라인에 연결될 수 있다. 제1 행의 스트링들(ST11~ST1m)의 드레인 셀렉트 트랜지스터들은 제1 드레인 셀렉트 라인(DSL1)에 연결될 수 있다. 제2 행의 스트링들(ST21~ST2m)의 드레인 셀렉트 트랜지스터들은 제2 드레인 셀렉트 라인(DSL2)에 연결될 수 있다.The drain select transistor DST of each string may be connected between the bit line and the memory cells MCp+1 to MCn. The strings arranged in the row direction may be connected to the drain select line extending in the row direction. Drain select transistors of the strings ST11 to ST1m in the first row may be connected to the first drain select line DSL1. The drain select transistors of the strings ST21 to ST2m in the second row may be connected to the second drain select line DSL2.
열 방향으로 배열되는 스트링들은 열 방향으로 연장되는 비트 라인들에 연결될 수 있다. 도 4에서 제1 열의 스트링들(ST11, ST21)은 제1 비트 라인(BL1)에 연결될 수 있다. 제m 열의 스트링들(ST1m, ST2m)은 제m 비트 라인(BLm)에 연결될 수 있다.Strings arranged in the column direction may be connected to bit lines extending in the column direction. In FIG. 4 , the strings ST11 and ST21 of the first column may be connected to the first bit line BL1. The strings ST1m and ST2m of the mth column may be connected to the mth bit line BLm.
행 방향으로 배열되는 스트링들 중에서 동일한 워드 라인에 연결되는 메모리 셀들은 하나의 물리 페이지를 구성할 수 있다. 예를 들면, 제1 행의 스트링들(ST11~ST1m) 중 제1 워드 라인(WL1)에 연결된 메모리 셀들은 하나의 물리 페이지를 구성할 수 있다. 제2 행의 스트링들(ST21~ST2m) 중 제1 워드 라인(WL1)에 연결된 메모리 셀들은 다른 하나의 물리 페이지를 구성할 수 있다. 드레인 셀렉트 라인들(DSL1, DSL2) 중 어느 하나가 선택됨으로써 하나의 행 방향으로 배열되는 스트링들이 선택될 것이다. 워드 라인들(WL1~WLn) 중 어느 하나가 선택됨으로써 선택된 스트링들 중 하나의 물리 페이지가 선택될 것이다. Among strings arranged in a row direction, memory cells connected to the same word line may constitute one physical page. For example, among the strings ST11 to ST1m in the first row, memory cells connected to the first word line WL1 may constitute one physical page. Among the strings ST21 to ST2m in the second row, memory cells connected to the first word line WL1 may constitute another physical page. When one of the drain select lines DSL1 and DSL2 is selected, strings arranged in one row direction are selected. When one of the word lines WL1 to WLn is selected, one physical page among the selected strings is selected.
메모리 장치(150)는 하나의 메모리 셀에 1비트 데이터를 저장하는 SLC(Single Level Cell) 메모리 블록, 하나의 메모리 셀에 복수 비트 데이터를 저장하는 MLC(Multi Level Cell) 메모리 블록 등을 포함하는 복수의 메모리 블록들을 포함할 수 있다. SLC 메모리 블록들은 하나의 메모리 셀에 한 비트 데이터를 저장하는 메모리 셀들로 구현되는 복수의 페이지들을 포함할 수 있다. SLC 메모리 블록들은 높은 내구성과 빠른 데이터 동작 성능을 가질 수 있다. 반면에, MLC 메모리 블록들은 하나의 메모리 셀에 둘 이상의 비트와 같은 복수 비트의 데이터를 저장하는 메모리 셀들로 구현되는 복수의 페이지들을 포함할 수 있다. 예를 들어, 상기 MLC 메모리 블록들은 하나의 메모리 셀에 2비트의 데이터를 저장할 수 있는 DLC(Dual Level Cell) 메모리 블록, 하나의 메모리 셀에 3비트의 데이터를 저장할 수 있는 TLC(Triple Level Cell) 메모리 블록 또는 하나의 메모리 셀에 4비트의 데이터를 저장할 수 있는 QLC(Quadruple Level Cell) 메모리 블록일 수 있다. 상기 MLC 메모리 블록들은 상기 SLC 메모리 블록들보다 큰 데이터 저장 공간을 가질 수 있다. 즉, 상기 MLC 메모리 블록들은 고집적화될 수 있다.The
메모리 장치(150)는 메모리 셀에 복수 비트 데이터를 프로그램하기 위해서 여러 단계의 프로그램 동작을 수행할 수 있다. 예를 들어, 메모리 장치(150)는 DLC를 프로그램하기 위해서 DLC의 2비트 중 LSB(Least Significant Bit)에 해당하는 데이터를 먼저 프로그램하는 제1 프로그램스텝을 수행할 수 있다. 메모리 장치(150)는 제1 프로그램스텝을 수행한 후 MSB(Most Significant Bit)에 해당하는 데이터를 프로그램하는 제2 프로그램스텝을 수행함으로써 DLC의 2비트 데이터를 모두 프로그램할 수 있다. 각 프로그램 스텝은 복수의 프로그램루프를 포함할 수 있다. 이하에서, 복수의 프로그램 스텝들을 포함하는 프로그램 동작은 멀티스텝 프로그램 동작으로 지칭된다.The
도 5는 메모리 장치(150)의 멀티스텝 프로그램 동작을 설명하기 위한 도면이다.5 is a diagram for explaining a multi-step program operation of the
도 5는 메모리 셀들의 일 예로, TLC들의 문턱전압 상태를 나타내는 분포도들을 도시한다. 각 분포도에서 가로축은 메모리 셀의 문턱전압, 세로축은 해당 문턱전압을 갖는 메모리 셀들의 수를 나타낸다.5 illustrates distribution charts showing threshold voltage states of TLCs, as an example of memory cells. In each distribution chart, the horizontal axis represents the threshold voltage of a memory cell, and the vertical axis represents the number of memory cells having the corresponding threshold voltage.
제1 분포도(502)는 이레이즈된 메모리 셀들의 문턱전압 상태를 나타낸다. 제1 분포도(502)에서, 메모리 셀들은 모두 이레이즈상태를 가질 수 있다. 도 5의 예에서, 이레이즈 상태의 메모리 셀들은 논리 '1'의 값을 가질 수 있다.A
제2 분포도(504)는 메모리 장치(150)가 제1 프로그램스텝을 수행한 후 메모리 셀들의 문턱전압 상태를 나타낸다. 메모리 장치(150)는 메모리 셀들의 비트들 중 제1 비트 데이터, 예를 들어 LSB(Least Significant Bit) 데이터를 메모리 셀들에 먼저 프로그램할 수 있다. 제1 비트 데이터를 프로그램하는 동작이 제1 프로그램스텝으로 지칭된다. 제1 프로그램 스텝을 수행하기 위해, 메모리 장치(150)는 컨트롤러(130)로부터 제1 비트 데이터를 획득할 수 있다. 메모리 장치(150)가 상기 제1 비트 데이터를 사용하여 메모리 셀들에 제1 프로그램스텝을 수행하면, 이레이즈상태를 갖는 메모리 셀들의 일부가 프로그램상태로 이동할 수 있다. 도 5의 예에서 메모리 셀들은 논리 '1' 또는 논리 '0'의 값을 가질 수 있다.The second distribution chart 504 represents threshold voltage states of memory cells after the
제3 분포도(506)는 메모리 장치(150)가 제2 프로그램스텝을 수행한 후 메모리 셀들의 문턱전압 상태를 나타낸다. 메모리 장치(150)는 제1 비트 데이터가 프로그램된 후, 상기 메모리 셀들의 비트들 중 제2 비트 데이터, 예를 들어 MSB(Most Significant Bit) 데이터 및 CSB(Central Significant Bit) 데이터를 메모리 셀들에 더 프로그램할 수 있다. 제2 비트 데이터를 더 프로그램하는 동작이 제2 프로그램스텝으로 지칭된다. 메모리 장치(150)는 상기 제1 및 제2 비트 데이터를 사용하여 메모리 셀들에 제2 프로그램스텝을 수행할 수 있다. 구현에 따라, 제2 프로그램 스텝을 수행하기 위해 메모리 장치(150)는 컨트롤러(130)로부터 제1 및 제2 비트 데이터를 획득할 수도 있고, 컨트롤러(130)로부터는 제2 비트 데이터만을 획득하고 메모리 셀들로부터 제1 비트 데이터를 획득할 수도 있다. 메모리 장치(150)가 메모리 셀들에 제2 프로그램스텝을 수행하면, MSB 데이터, CSB 데이터 및 LSB 데이터가 모두 프로그램 완료될 수 있다. 도 5의 예에서, 메모리 셀들은 '111', '101', '001', '011', '010', '110', '100', 및 '000'의 값을 가질 수 있다.A third distribution chart 506 represents threshold voltage states of memory cells after the
도 5는 TLC 메모리 블록의 경우를 예로 들어 멀티스텝 프로그램 동작을 설명하였으나, 멀티스텝 프로그램 동작은 다양한 유형의 MLC 메모리 블록에 적용될 수 있다. 예를 들어, 메모리 장치(150)가 DLC 메모리 블록에 멀티스텝 프로그램 동작을 수행하는 경우, 제1 프로그램스텝에서 2비트 데이터 중 LSB 데이터를 이용하여 2개의 문턱전압 상태를 형성할 수 있다. 그리고, 메모리 장치(150)는 제2 프로그램스텝에서 LSB 데이터 및 MSB 데이터를 이용하여 최종적으로 4개의 문턱전압 상태를 형성할 수 있다.5 illustrates the multi-step program operation by taking a TLC memory block as an example, the multi-step program operation can be applied to various types of MLC memory blocks. For example, when the
한편, 어떤 물리 페이지에 프로그램 동작을 수행하는 경우, 워드라인 커플링으로 인해 인접한 물리 페이지의 문턱전압 분포도 변하는 프로그램 디스터번스가 발생할 수 있다. 복수의 물리 페이지들을 프로그램할 때 프로그램 디스터번스의 영향을 최소화하기 위해 메모리 장치(150)의 프로그램 순서가 결정될 수 있다.Meanwhile, when a program operation is performed on a certain physical page, a program disturbance in which a threshold voltage distribution of an adjacent physical page is also changed due to word line coupling may occur. A program sequence of the
도 6은 멀티스텝 프로그램 동작을 수행하는 메모리 장치(150)의 프로그램 순서를 설명하는 도면이다.6 is a diagram illustrating a program sequence of the
메모리 장치(150)가 MLC 메모리 장치인 경우, 각 물리 페이지들은 복수의 서브 페이지들을 포함할 수 있다. 예를 들어, 메모리 장치(150)가 DLC 메모리 장치인 경우 각 물리 페이지들은 제1 비트 페이지 및 제2 비트 페이지를 포함할 수 있다. When the
도 6에 도시된 제1 테이블(600)은 하나의 메모리 블록에 포함된 서브 페이지별 프로그램 순서를 나타낸다. 제1 테이블(600)의 첫 번째 행에는 제1 내지 제8 드레인 셀렉트 라인(DSL1 - DSL8)이 표시되고, 첫 번째 열에는 제1 내지 제3 워드라인(WL1 - WL3)이 표시된다. 도 4를 참조하여 설명된 것과 같이, 하나의 메모리 블록에서 복수의 물리 페이지들은 드레인 셀렉트 라인(DSL)들과 워드 라인(WL)들에 의해 선택될 수 있다. 이하에서, X번째 워드 라인과 Y번째 드레인 셀렉트 라인에 의해 선택되는 물리 페이지는 페이지XY로 지칭될 수 있다. 예를 들어, 제1 워드라인(WL1)과 제4 드레인 셀렉트 라인(DSL4)으로 특정되는 물리 페이지는 페이지14(Page14)로 지칭될 수 있다.A first table 600 shown in FIG. 6 indicates a program order for each subpage included in one memory block. First to eighth drain select lines DSL1 to DSL8 are displayed in the first row of the first table 600 , and first to third word lines WL1 to WL3 are displayed in the first column. As described with reference to FIG. 4 , a plurality of physical pages in one memory block may be selected by drain select lines DSL and word lines WL. Hereinafter, a physical page selected by the X-th word line and the Y-th drain select line may be referred to as page XY. For example, a physical page specified by the first word line WL1 and the fourth drain select line DSL4 may be referred to as page 14 (Page14).
제1 테이블(600)의 두 번째 열에는 제1 내지 제3 워드라인(WL1 - WL3) 각각의 제1 비트 및 제2 비트가 표시된다. 제1 테이블(600)의 각 엔트리(entry)는 각 서브 페이지에 대응할 수 있으며, 제1 테이블(600)에 표시된 '1', '2', ... '40'과 같은 숫자는 각 서브 페이지의 프로그램 순서를 나타낸다. A first bit and a second bit of each of the first to third word lines WL1 to WL3 are displayed in the second column of the first table 600 . Each entry of the first table 600 may correspond to each subpage, and numbers such as '1', '2', ... '40' displayed in the first table 600 may correspond to each subpage. indicates the program sequence of
메모리 장치(150)가 N번째 워드 라인에서 제1 프로그램스텝을 수행한 뒤 상기 N번째 워드 라인에서 제2 프로그램스텝을 연속해서 수행하는 경우, 이레이즈 상태인 N+1번째 워드 라인에 연결된 메모리 셀들이 프로그램 디스터번스의 영향을 크게 받을 수 있다. 프로그램 디스터번스의 영향을 최소화하기 위해, N번째 워드 라인에서 제1 프로그램스텝을 수행하고, 상기 N+1번째 워드라인에서 제1 프로그램스텝을 수행한 후에 상기 N번째 워드라인에서 제2 프로그램스텝을 수행할 수 있다.When the
예를 들어, 제1 테이블(600)의 프로그램 순서 '1' 내지 '8'을 참조하면 메모리 장치(150)는 메모리 블록의 제1 워드 라인(WL1)에 연관된 페이지11 내지 페이지18의 제1 비트 페이지들을 순서대로 프로그램할 수 있다. 프로그램 순서 '9' 및 '10'을 참조하면, 메모리 장치(150)는 페이지11 내지 페이지18의 제1 비트 페이지들의 프로그램이 완료되면 페이지21에 해당하는 제1 비트 페이지의 프로그램을 먼저 수행하고, 페이지11에 해당하는 제2 비트 페이지의 프로그램을 수행할 수 있다. 프로그램 순서 '11' 내지 '24'를 참조하면, 페이지11 및 페이지21의 경우와 마찬가지로, 페이지12 내지 페이지18과 페이지22 내지 페이지28에서도 제2 워드 라인(WL2)에 연관된 제1 비트 페이지가 제1 워드 라인(WL1)에 연관된 제2 비트 페이지보다 먼저 프로그램될 수 있다. 마찬가지로, 프로그램 순서 '25' 내지 '40'을 참조하면, 메모리 장치(150)는 제3 워드 라인(WL3)에 연관된 제1 비트 페이지를 제2 워드 라인(WL2)에 연관된 제2 비트 페이지보다 먼저 프로그램할 수 있다.For example, referring to program sequences '1' to '8' of the first table 600, the
어떤 물리 페이지의 제1 및 제2 프로그램스텝이 모두 성공적으로 완료되어야 상기 물리 페이지의 프로그램 동작이 완료될 수 있다. 상기 제1 프로그램스텝이 성공적으로 완료되었더라도 상기 제2 프로그램스텝이 실패하면 메모리 장치(150)는 상기 물리 페이지의 프로그램 동작이 실패한 것으로 판단하고 제1 및 제2 비트 페이지를 다른 물리 페이지에 다시 프로그램할 수 있다. 메모리 시스템(110)의 신뢰성을 보장하기 위해, 컨트롤러(130)는 제2 프로그램스텝이 완료될 때까지 제1 및 제2 비트 페이지를 유지할 수 있다. When both the first and second program steps of a certain physical page are successfully completed, the program operation of the physical page can be completed. Even if the first program step is successfully completed, if the second program step fails, the
도 6의 예에서, 페이지 21의 제1 프로그램스텝은 9번째 순서로 수행되고, 제2 프로그램스텝은 26번째 순서로 수행될 수 있다. 상기 26번째 순서로 수행되는 제2 프로그램스텝이 완료되어야 페이지 21의 프로그램 동작이 완료될 수 있다. 만약 9번째 순서로 프로그램된 데이터청크는 26번째 순서로 수행되는 제2 프로그램스텝이 완료될 때까지 컨트롤러(130)에 유지될 수 있다. 만약 상기 데이터청크가 논백업 데이터청크라면, 상기 데이터청크는 26번째 순서의 제2 프로그램스텝이 완료될 때까지 라이트 버퍼(146)에 유지될 수 있다. In the example of FIG. 6 , the first program step of
만약 상기 논백업 데이터청크가 10번째 순서로 프로그램된다면, 상기 논백업 데이터청크는 페이지 12에 제2 프로그램스텝을 통해 프로그램될 수 있으며 10번째 순서의 제2 프로그램스텝이 완료되면 라이트 버퍼(146)에서 제거될 수 있다. If the non-backup data chunk is programmed in the 10th order, the non-backup data chunk can be programmed through the second program step in
본 발명의 실시 예에 따르면, 컨트롤러(130)는 데이터청크들이 메모리 장치(150)에 프로그램되는 순서를 조정하되, 논백업 데이터청크들이 제2 프로그램스텝에서 프로그램되도록 함으로써 논백업 데이터청크가 라이트 버퍼(146)로부터 신속하게 제거되도록 할 수 있다. 본 발명의 실시 예에 따른 컨트롤러(130)의 동작은 도 7 내지 도 9b를 참조하여 상세히 설명된다.According to an embodiment of the present invention, the
도 7은 본 발명의 실시 예에 따라 라이트 동작을 수행하기 위한 컨트롤러(130) 및 메모리 장치(150)의 상호작용(transaction)을 나타낸다.7 illustrates a transaction between the
단계 S702에서, 라이트 버퍼(146)는 호스트 인터페이스(132)를 통해 수신된 데이터 청크들을 버퍼링할 수 있다.In step S702 , the
단계 S704에서, 백업 메모리(148)는 호스트 인터페이스(132)를 통해 수신된 상기 데이터 청크들을 선택적으로 백업할 수 있다.In step S704 , the
단계 S702 및 단계 S704는 각각 도 3을 참조하여 설명된 메인 데이터패스(302) 및 백업 데이터패스(304)를 통해 병렬로 수행될 수 있다.Steps S702 and S704 may be performed in parallel through the main data path 302 and
단계 S706에서, 프로세서(134)는 라이트 버퍼(146)에 버퍼링된 데이터청크들이 메모리 장치(150)에 프로그램되는 순서를 결정할 수 있다. 구체적으로, 프로세서(134)는 논백업 데이터청크가 제2 비트 페이지에 프로그램될 수 있도록 프로그램 순서를 조정할 수 있다. In step S706, the
단계 S708에서, 메모리 인터페이스(142)는 제1 물리 페이지의 제1 비트 페이지에 프로그램될 데이터청크를 메모리 장치(150)로 제공할 수 있다. 이하에서, 제1 비트 페이지에 프로그램될 데이터청크는 제1 비트 데이터청크로 지칭될 수 있다. 본 발명의 실시 예에 따르면, 제1 비트 데이터청크는 항상 노멀 데이터청크일 수 있다.In step S708 , the
제1 물리 페이지의 제1 비트 데이터청크가 메모리 장치(150)로 제공된 후, 프로세서(134)는 단계 S710에서 상기 제1 비트 데이터청크를 라이트 버퍼(146)로부터 제거할 수 있다.After the first bit data chunk of the first physical page is provided to the
단계 S712에서, 메모리 장치(150)는 컨트롤러(130)로부터 수신된 제1 비트 데이터청크를 이용하여 제1 물리 페이지의 제1 프로그램스텝을 수행할 수 있다.In step S712, the
단계 S714에서, 메모리 인터페이스(142)는 제1 물리 페이지에 후속하는 제2 물리 페이지의 제1 비트 데이터청크를 메모리 장치(150)로 제공할 수 있다.In operation S714 , the
제2 물리 페이지의 제1 비트 데이터청크가 메모리 장치(150)로 제공된 후, 프로세서(134)는 단계 S716에서 상기 제1 비트 데이터청크를 라이트 버퍼(146)로부터 제거할 수 있다.After the first bit data chunk of the second physical page is provided to the
단계 S718에서, 메모리 장치(150)는 컨트롤러(130)로부터 수신된 제1 비트 데이터청크를 이용하여 제2 물리 페이지의 제1 프로그램스텝을 수행할 수 있다.In step S718, the
단계 S720에서, 메모리 인터페이스(142)는 제1 물리 페이지의 제2 비트 페이지에 프로그램될 데이터청크인 제2 비트 데이터청크를 메모리 장치(150)로 제공할 수 있다. 본 발명의 실시 예에 따르면, 제2 비트 데이터청크는 논백업 데이터청크 또는 노멀 데이터청크일 수 있다. 도 7은 제2 비트 데이터청크가 논백업 데이터청크인 경우를 예시한다. 제2 비트 데이터청크가 메모리 장치(150)로 제공된 후, 프로세서(134)는 제2 비트 데이터청크를 라이트 버퍼(146)로부터 제거하지 않고 라이트 버퍼(146)에 유지할 수 있다.In step S720 , the
단계 S722에서, 메모리 장치(150)는 컨트롤러(130)로부터 수신된 제2 비트 데이터청크를 이용하여 제1 물리 페이지의 제2 프로그램스텝을 수행할 수 있다.In step S722, the
단계 S712의 제1 프로그램스텝 및 단계 S722의 제2 프로그램스텝이 성공적으로 완료되면, 메모리 장치(150)는 단계 S724에서 제1 물리 페이지에 대한 프로그램 완료 신호를 컨트롤러(130)로 제공할 수 있다.When the first program step of step S712 and the second program step of step S722 are successfully completed, the
단계 S726에서, 프로세서(134)는 상기 프로그램 완료 신호에 응하여 제1 물리 페이지와 연관된 백업 데이터청크 및 논백업 데이터청크를 제거할 수 있다. 구체적으로, 프로세서(134)는 상기 제1 물리 페이지의 제1 비트 데이터청크에 해당하는 백업 데이터청크를 백업 메모리(148)로부터 제거할 수 있다. 그리고, 프로세서(134)는 논백업 데이터청크인 제1 물리 페이지의 제2 비트 데이터청크를 라이트 버퍼(146)로부터 제거할 수 있다.In step S726, the
이하에서, 프로세서(134)가 상기 논백업 데이터청크가 제2 프로그램스텝을 통해 프로그램될 수 있도록 프로그램 순서를 결정하는 방법의 예가 도 8을 참조하여 상세히 설명된다.Hereinafter, an example of how the
도 8은 단계 S706의 세부 동작을 예시하는 도면이다.8 is a diagram illustrating the detailed operation of step S706.
S802에서, 프로세서(134)는 메모리 장치(150)의 프로그램 순서에 따라 제1 프로그램스텝을 수행할 차례인지 여부를 판단할 수 있다. 메모리 장치(150)의 프로그램 순서의 예는 도 6을 참조하여 설명되었다.In S802, the
메모리 장치(150)가 제1 프로그램스텝을 수행할 차례인 경우(단계 S802에서, "YES"), 프로세서(134)는 단계 S804에서 라이트 버퍼(146)에 버퍼링된 데이터청크들 중 노멀 데이터청크가 상기 제1 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다. 예를 들어, 프로세서(134)는 라이트 버퍼(146)에 버퍼링된 노멀 데이터청크들 중 가장 오래된 데이터청크가 상기 제1 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다. 라이트 버퍼(146)에 버퍼링된 데이터청크들 중 가장 오래된 데이터청크가 논백업 데이터청크인 경우라도, 프로세서(134)는 상기 논백업 데이터청크가 프로그램되는 것을 보류할 수 있다.When it is the turn of the
메모리 장치(150)가 제2 프로그램스텝을 수행할 차례인 경우(단계 S802에서, "NO"), 프로세서(134)는 단계 S806에서 라이트 버퍼(146)에 논백업 데이터청크가 버퍼링되었는지 여부를 판단할 수 있다.When it is the turn of the
라이트 버퍼(146)에 논백업 데이터청크가 버퍼링된 경우(단계 S806에서, "YES"), 프로세서(134)는 단계 S808에서 상기 논백업 데이터청크가 상기 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다. 예를 들어, 컨트롤러(130)는 라이트 버퍼(146)에 버퍼링된 논백업 데이터청크들 중 가장 오래된 데이터청크가 상기 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다.If the non-backup data chunk is buffered in the write buffer 146 ("YES" in step S806), the
라이트 버퍼(146)에 노멀 데이터청크들만이 버퍼링된 경우(단계 S806에서, "NO"), 프로세서(134)는 단계 S804에서 상기 노멀 데이터청크들 중 어느 하나가 상기 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다.When only the normal data chunks are buffered in the write buffer 146 ("NO" in step S806), the
본 발명의 실시 예에 따르면, 논백업 데이터청크가 나중에 수신된 노멀 데이터청크보다 늦은 순서로 메모리 장치(150)에 프로그램되는 경우도 있다. 예를 들어, 논백업 데이터청크보다 나중에 수신된 노멀 데이터청크가 제2 물리 페이지의 제1 비트 페이지에 먼저 프로그램되고, 상기 논백업 데이터청크가 제1 물리 페이지의 제2 비트 페이지에 프로그램될 수 있다. According to an embodiment of the present invention, non-backup data chunks may be programmed into the
그러나, 제2 물리 페이지의 제1 비트 페이지에 프로그램된 데이터는 제2 물리 페이지의 제2 비트 페이지의 프로그램 동작까지 완료된 후에 컨트롤러(130)로부터 제거될 수 있는 반면에, 상기 논백업 데이터청크는 제1 물리 페이지의 제2 비트 페이지에 성공적으로 프로그램되면 곧바로 라이트 버퍼(146)로부터 제거될 수 있다. 따라서, 라이트 버퍼(146)에 버퍼링되는 논백업 데이터청크가 신속하게 제거될 수 있다.However, data programmed in the first bit page of the second physical page can be removed from the
이하에서, 본 발명의 실시 예에 따른 컨트롤러(130)의 동작이 도 9a 및 도 9b의 구체적인 예시를 참조하여 설명된다.Hereinafter, the operation of the
도 9a는 라이트 버퍼(146)에 버퍼링된 데이터청크들을 예시한다.9A illustrates data chunks buffered in the
도 9a의 예에서, 복수의 데이터청크들이 제1 내지 제24 데이터청크(D1 - D24)의 순서로 라이트 버퍼(146)에 버퍼링될 수 있다. 상기 복수의 데이터청크들 중 노멀 데이터청크는 도트 패턴이 표시된 사각형으로 도시되고, 논백업 데이터청크는 빗금 패턴이 표시된 사각형으로 도시된다. 제1 내지 제24 데이터청크(D1 - D24) 중 제4, 제7, 제11, 제15, 제18 및 제23 데이터청크(D4, D7, D11, D15, D18, D23)가 논백업 데이터청크이고, 나머지 데이터청크들이 노멀 데이터청크인 경우를 예로 들어 컨트롤러(130)의 동작이 설명된다.In the example of FIG. 9A , a plurality of data chunks may be buffered in the
도 9b는 도 9a의 예에서 라이트 버퍼(146)에 버퍼링된 데이터청크들이 프로그램되는 순서를 설명하기 위한 도면이다.FIG. 9B is a diagram for explaining an order in which data chunks buffered in the
제2 테이블(900)은 하나의 메모리 블록에 포함된 서브 페이지별 프로그램 순서 및 서브 페이지별로 프로그램되는 데이터청크를 나타낸다. 제2 테이블(900)의 첫 번째 행은 제1 내지 제8 드레인 셀렉트 라인(DSL1 - DSL8)을 나타내고, 첫 번째 열과 두 번째 열은 제1 내지 제3 워드라인(WL1 - WL3) 각각의 제1 비트 페이지 및 제2 비트 페이지를 나타낸다. 제2 테이블(900)은 각 서브 페이지별 프로그램 순서(PO) 및 본 발명의 실시 예에 따라 각 서브 페이지에 프로그램되는 데이터청크(D)를 도시한다. 제2 테이블(900)의 서브 페이지별 프로그램 순서는 도 6의 제1 테이블(600)을 참조하여 설명된 것과 동일하다.The second table 900 shows a program sequence for each subpage included in one memory block and data chunks programmed for each subpage. The first row of the second table 900 represents the first to eighth drain select lines DSL1 to DSL8, and the first and second columns represent first to third word lines WL1 to WL3 respectively. Indicates a bit page and a second bit page. The second table 900 shows the program order (PO) for each subpage and the data chunk (D) programmed in each subpage according to an embodiment of the present invention. The program order of each subpage of the second table 900 is the same as that described with reference to the first table 600 of FIG. 6 .
도 9b를 참조하면, 노멀 데이터청크인 제1 내지 제3 데이터청크(D1 - D3)는 라이트 버퍼(146)에 버퍼링된 순서대로, 프로그램 순서 '1' 내지 '3'에 해당하는 서브 페이지에 프로그램될 수 있다. Referring to FIG. 9B, the first to third data chunks D1 to D3, which are normal data chunks, are programmed into subpages corresponding to program sequences '1' to '3' in the order in which they are buffered in the
본 발명의 실시 예에 따르면, 논백업 데이터청크인 제4 데이터청크(D4)는 제2 프로그램스텝에서 프로그램될 수 있도록 프로그램 순서가 결정될 수 있다. 도 9b에서 제4 데이터청크(D4)는 프로그램 순서 '4' 내지 '9'에 해당하는 서브 페이지에는 프로그램될 수 없으며, 프로그램 순서 '10'에 해당하는 서브 페이지에 프로그램될 수 있다. 프로그램 순서 '4' 내지 '9'에 해당하는 서브 페이지에는 제4 데이터청크(D4)보다 나중에 수신된 노멀 데이터청크들이 먼저 프로그램될 수 있다. According to an embodiment of the present invention, the program sequence of the fourth data chunk D4, which is a non-backup data chunk, can be programmed in the second program step. 9B, the fourth data chunk D4 cannot be programmed in subpages corresponding to program sequences '4' to '9', but can be programmed in subpages corresponding to program sequence '10'. In subpages corresponding to program sequences '4' to '9', normal data chunks received later than the fourth data chunk D4 may be programmed first.
도 9b에서 제1 내지 제4 데이터청크(D1 - D4)뿐만 아니라, 제5 내지 제24 데이터청크(D5 - D24)에 대해서도 각 데이터 청크가 프로그램되는 순서 및 각 데이터 청크가 프로그램되는 서브 페이지가 도시된다. 도 9b에서 노멀 데이터청크가 프로그램될 서브 페이지에는 도트 패턴이 표시되고, 논백업 데이터청크가 프로그램될 서브 페이지에는 빗금 패턴이 표시된다. 패턴이 도시되지 않은 서브 페이지는 이레이즈 상태일 수 있다. In FIG. 9B, the order in which each data chunk is programmed and the subpages in which each data chunk is programmed are shown for the fifth to 24th data chunks D5 to D24 as well as the first to fourth data chunks D1 to D4. do. In FIG. 9B, a dot pattern is displayed on a subpage where a normal data chunk is to be programmed, and a hatched pattern is displayed on a subpage where a non-backup data chunk is to be programmed. A subpage in which a pattern is not shown may be in an erase state.
도 9b를 참조하면, 노멀 데이터청크들은 제1 비트 페이지에도 프로그램되고 제2 비트 페이지에도 프로그램될 수 있는 것과 달리, 논백업 데이터청크들은 모두 제2 비트 페이지에 프로그램될 수 있다.Referring to FIG. 9B , unlike the normal data chunks that can be programmed to both the first bit page and the second bit page, all of the non-backup data chunks can be programmed to the second bit page.
도 9b를 참조하면, 논백업 데이터청크가 제2 비트 페이지에 프로그램될 수 있도록 프로그램 순서가 조정되는 경우, 데이터청크들이 라이트 버퍼(146)에 버퍼링된 순서대로 메모리 장치(150)에 프로그램되는 경우보다 논백업 데이터청크가 라이트 버퍼(146)에서 신속하게 제거될 수 있다. Referring to FIG. 9B , when the program order is adjusted so that the non-backup data chunks can be programmed into the second bit page, the data chunks are programmed into the
제1 예로, 본 발명의 실시 예에 따르면 제4 데이터청크(D4)는 페이지 11의 제2 비트 페이지에 프로그램될 수 있다. 제4 데이터청크(D4)는 라이트 버퍼(146)에 4번째 순서로 버퍼링되어 10번째 순서로 메모리 장치(150)에 프로그램될 수 있다. 페이지 11의 제2 비트 페이지까지 성공적으로 프로그램 완료되면 제4 데이터청크(D4)는 라이트 버퍼(146)로부터 제거될 수 있다. 대조적으로, 만약 제4 데이터청크(D4)를 라이트 버퍼(146)에 수신된 순서와 같이 4번째 순서로 프로그램한다면 제4 데이터청크(D4)는 페이지 14의 제1 비트 페이지에 프로그램될 수 있다. 제4 데이터청크(D4)는 페이지 14의 제2 비트 페이지까지 성공적으로 프로그램 완료되어야 라이트 버퍼(146)로부터 제거될 수 있으며, 페이지 14의 제2 비트 페이지는 16번째 순서로 프로그램될 수 있다. As a first example, according to an embodiment of the present invention, the fourth data chunk D4 may be programmed in the second bit page of
제2 예로, 본 발명의 실시 예에 따르면 제23 데이터청크(D23)는 페이지 18의 제2 비트 페이지에 24번째 순서로 프로그램될 수 있다. 제23 데이터청크(D23)는 24번째 순서의 프로그램이 성공적으로 완료되면 라이트 버퍼(146)로부터 제거될 수 있다. 대조적으로, 제23 데이터청크(D23)를 23번째 순서로 프로그램한다면, 제23 데이터청크(D23)는 페이지 28의 제1 비트 페이지에 프로그램될 수 있다. 페이지 28의 제2 비트 페이지는 40번째 순서로 프로그램될 수 있으며, 제23 데이터청크(D23)는 40번째 순서의 프로그램이 성공적으로 완료되어야 라이트 버퍼(146)로부터 제거될 수 있다.As a second example, according to an embodiment of the present invention, the 23rd data chunk D23 may be programmed in the 24th order of the 2nd bit page of
제4 및 제23 데이터청크(D4, D23)뿐만 아니라, 나머지 논백업 데이터청크의 경우에도 제2 비트 페이지에 프로그램될 수 있도록 프로그램 순서가 조정되는 경우에 상기 논백업 데이터청크가 라이트 버퍼(146)에 유지되는 시간은, 버퍼링된 순서대로 메모리 장치(150)에 프로그램되는 경우에 비해 감소되거나 동일할 수 있다.When the program order is adjusted so that not only the 4th and 23rd data chunks D4 and D23 but also the remaining non-backup data chunks can be programmed in the second bit page, the non-backup data chunks are written to the
본 발명의 실시 예에 따르면, 컨트롤러(130)는 메인 데이터패스(302)를 통해 메모리 장치(150)에 프로그램할 데이터청크들을 라이트 버퍼(146)에 버퍼링하고, 백업 데이터패스(304)에 병목이 발생하지 않도록 데이터청크들을 백업 메모리(148)에 선택적으로 백업할 수 있다. 컨트롤러(130)는 상기 데이터청크들 각각의 프로그램 순서를 결정할 수 있다. 구체적으로, 컨트롤러(130)는 논백업 데이터청크가 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다. 논백업 데이터청크가 제2 비트 페이지에 프로그램 완료되는 경우 상기 제2 비트 페이지를 포함하는 물리 페이지의 프로그램 동작이 완료될 수 있으므로, 컨트롤러(130)는 상기 논백업 데이터청크를 라이트 버퍼(146)로부터 신속하게 제거할 수 있다. 논백업 데이터청크가 라이트 버퍼(146)로부터 신속하게 제거되면 라이트 버퍼(146)에서 논백업 데이터청크들이 적체되는 일이 방지될 수 있다.According to an embodiment of the present invention, the
한편, 도 5 내지 도 9b에서 메모리 장치(150)가 DLC 메모리 장치이고, 2스텝 프로그램 동작을 수행하는 경우를 예로 들어 본 발명의 실시 예가 설명되었으나, 본 발명은 도 5 내지 도 9b의 예로 제한되지 않는다.Meanwhile, in FIGS. 5 to 9B, the embodiment of the present invention has been described taking a case in which the
제1 예로, 본 발명은 메모리 장치(150)가 TLC 메모리 장치이고 제1 프로그램스텝에서 LSB 데이터를 프로그램하고, 제2 프로그램스텝에서 CSB 데이터 및 MSB 데이터를 프로그램하는 경우에도 적용될 수 있다. 컨트롤러(130)는 데이터청크들의 프로그램 순서를 결정할 때, 논백업 데이터청크가 CSB 페이지 또는 MSB 페이지에 프로그램되도록 프로그램 순서를 결정할 수 있다.As a first example, the present invention can also be applied to a case where the
제2 예로, 본 발명은 메모리 장치(150)가 3개 이상의 프로그램스텝을 수행함으로써 물리 페이지를 프로그램하는 경우에도 적용될 수 있다. 컨트롤러(130)는 데이터청크들의 프로그램 순서를 결정할 때, 논백업 데이터청크가 가장 마지막 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정할 수 있다.As a second example, the present invention may also be applied to a case in which a physical page is programmed by the
본 발명의 실시 예에 따르면, 백업 메모리(148)에 라이트 버퍼(146)의 모든 데이터청크들을 백업하는 경우와 마찬가지로 데이터 청크들은 프로그램 동작이 완료될 때까지 컨트롤러(130)에 유지될 수 있다. 그리고, 본 발명의 실시 예에 따르면 백업 메모리(148)의 병목이 방지되므로 백업 메모리(148)에 라이트 버퍼(146)의 모든 데이터청크들을 백업하는 경우에 비해 메모리 시스템(110)의 라이트 동작 속도가 향상될 수 있다. 뿐만 아니라, 본 발명의 실시 예에 따르면 라이트 버퍼(146)에서 논백업 데이터청크들이 적체되는 일이 방지되므로 고속 메모리로 구현되는 라이트 버퍼(146)에 요구되는 용량은 백업 메모리(148)에 라이트 버퍼(146)의 모든 데이터청크들을 백업하는 경우에 비해 거의 증가하지 않을 수 있다. 따라서, 메모리 시스템(110)의 성능이 향상되고, 신뢰성이 유지되면서 메모리 시스템(110)의 제조비용이나 회로면적이 증가하는 것은 방지될 수 있다.According to an embodiment of the present invention, similar to the case where all data chunks of the
이상 본 발명의 실시예에 따른 컨트롤러 및 컨트롤러의 동작 방법을 구체적인 실시 형태로서 설명하였으나, 이는 예시에 불과한 것으로서 본 발명은 이에 한정되지 않는 것이며, 본 명세서에 개시된 기초 사상에 따르는 최광의 범위를 갖는 것으로 해석되어야 한다. 당업자는 개시된 실시 형태들을 조합, 치환하여 적시되지 않은 실시 형태를 실시할 수 있으나, 이 역시 본 발명의 권리범위를 벗어나지 않는 것이다. 이외에도 당업자는 본 명세서에 기초하여 개시된 실시형태를 용이하게 변경 또는 변형할 수 있으며, 이러한 변경 또는 변형도 본 발명의 권리범위에 속함은 명백하다.Although the controller and the operating method of the controller according to the embodiment of the present invention have been described as specific embodiments, this is only an example, and the present invention is not limited thereto, and is to have the widest scope according to the basic ideas disclosed herein. should be interpreted A person skilled in the art may implement an embodiment that is not indicated by combining or substituting the disclosed embodiments, but this also does not deviate from the scope of the present invention. In addition, those skilled in the art can easily change or modify the disclosed embodiments based on this specification, and it is clear that such changes or modifications also fall within the scope of the present invention.
Claims (21)
프로그램될 데이터청크들을 라이트 버퍼에 버퍼링하는 단계;
상기 데이터청크들을 선택적으로 백업 메모리에 백업하는 단계;
상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하되, 상기 데이터청크들 중 논백업 데이터청크는 제2 프로그램스텝에서 프로그램되도록 상기 프로그램 순서를 결정하는 단계; 및
상기 메모리 장치가 제1 물리 페이지에 제1 프로그램스텝을 수행하고, 상기 제1 물리 페이지에 후속하는 제2 물리 페이지에 제1 프로그램스텝을 수행한 후 상기 제1 물리 페이지에 제2 프로그램스텝을 수행함으로써 상기 데이터청크들을 프로그램하도록 상기 메모리 장치를 제어하는 단계
를 포함하는 동작 방법.
A method of operating a controller for controlling a memory device including multi-level cells programmed through first and second program steps,
buffering data chunks to be programmed in a write buffer;
selectively backing up the data chunks to a backup memory;
determining a program order of each of the data chunks buffered in the write buffer so that a non-backup data chunk among the data chunks is programmed in a second program step; and
The memory device performs a first program step on a first physical page, performs a first program step on a second physical page subsequent to the first physical page, and then performs a second program step on the first physical page. controlling the memory device to program the data chunks by
Operation method including.
상기 데이터청크들 각각의 프로그램 순서를 결정하는 단계는
상기 데이터청크들 중 노멀 데이터청크는 제1 또는 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정하는 단계를 포함하고,
상기 노멀 데이터청크는 라이트 버퍼에 버퍼링된 데이터청크들 중, 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크인
동작 방법.
According to claim 1,
Determining the program order of each of the data chunks
determining a program sequence so that a normal data chunk among the data chunks is programmed in a first or second program step;
In the normal data chunk, among data chunks buffered in the write buffer, a corresponding backup data chunk is a data chunk backed up in the backup memory.
how it works.
상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하는 단계는
상기 메모리 장치가 제1 프로그램스텝을 수행할 차례에 상기 데이터청크들 중 노멀 데이터청크가 프로그램되도록 상기 프로그램 순서를 결정하는 단계;
상기 메모리 장치가 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 논백업 데이터청크가 버퍼링된 경우 상기 논백업 데이터청크가 프로그램되도록 상기 프로그램 순서를 결정하는 단계; 및
상기 메모리 장치가 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 노멀 데이터청크만이 버퍼링된 경우 상기 노멀 데이터청크가 프로그램되도록 상기 프로그램 순서를 결정하는 단계를 포함하는
동작 방법.
According to claim 2,
Determining the program order of each of the data chunks buffered in the write buffer
determining the program sequence such that a normal data chunk among the data chunks is programmed when it is the turn of the memory device to perform a first program step;
determining the program order so that the non-backup data chunk is programmed when the non-backup data chunk is buffered in the write buffer when it is the turn of the memory device to perform the second program step; and
Determining the program order so that the normal data chunk is programmed when only the normal data chunk is buffered in the write buffer when it is the turn of the memory device to perform the second program step.
how it works.
상기 동작 방법은
논백업 데이터청크를 상기 메모리 장치로 제공하는 단계; 및
상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 논백업 데이터청크를 상기 라이트 버퍼에서 제거하는 단계
를 더 포함하는 동작 방법.
According to claim 1,
The above operation method is
providing a non-backup data chunk to the memory device; and
removing the non-backup data chunk from the write buffer when a program operation of a physical page associated with the non-backup data chunk is successfully completed;
Operation method further comprising.
상기 동작 방법은
상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 라이트 버퍼에 버퍼링된 상기 논백업 데이터청크를 상기 메모리 장치로 다시 제공하는 단계
를 더 포함하는 동작 방법.
According to claim 4,
The above operation method is
If a program operation of a physical page associated with the non-backup data chunk fails, providing the non-backup data chunk buffered in the write buffer to the memory device again.
Operation method further comprising.
상기 동작 방법은
노멀 데이터청크를 상기 메모리 장치로 제공하는 단계; 및
상기 노멀 데이터청크를 상기 메모리 장치로 제공한 후 상기 노멀 데이터청크를 상기 라이트 버퍼에서 제거하는 단계
를 더 포함하고,
상기 노멀 데이터청크는 상기 라이트 버퍼에 버퍼링된 데이터청크들 중, 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크인
동작 방법.
According to claim 1,
The above operation method is
providing a normal data chunk to the memory device; and
removing the normal data chunk from the write buffer after providing the normal data chunk to the memory device;
Including more,
Among the data chunks buffered in the write buffer, the normal data chunk corresponds to a data chunk backed up in the backup memory.
how it works.
상기 동작 방법은
상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 노멀 데이터청크에 대응하는 백업 데이터청크를 상기 백업 메모리에서 제거하는 단계
를 더 포함하는 동작 방법.
According to claim 6,
The above operation method is
removing a backup data chunk corresponding to the normal data chunk from the backup memory when a program operation of a physical page associated with the normal data chunk is successfully completed;
Operation method further comprising.
상기 동작 방법은
상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 백업 메모리에 백업된 상기 백업 데이터청크를 상기 메모리 장치로 제공하는 단계
를 더 포함하는 동작 방법.
According to claim 7,
The above operation method is
If a program operation of a physical page associated with the normal data chunk fails, providing the backup data chunk backed up in the backup memory to the memory device.
Operation method further comprising.
상기 데이터청크들을 선택적으로 상기 백업 메모리에 백업하는 단계는
호스트로부터 수신된 데이터청크가 상기 백업 메모리로 백업되는 데이터패스에서 병목이 발생하지 않도록 상기 데이터청크를 폐기하거나 상기 백업 메모리에 백업하는 단계를 포함하고,
상기 라이트 버퍼는 상기 백업 메모리보다 고속으로 동작하는 메모리인
동작 방법.
According to claim 1,
The step of selectively backing up the data chunks to the backup memory
Discarding the data chunk received from the host or backing it up to the backup memory so that a bottleneck does not occur in a data path where the data chunk is backed up to the backup memory;
The write buffer is a memory that operates at a higher speed than the backup memory.
how it works.
상기 데이터청크들을 선택적으로 상기 백업 메모리에 백업하는 단계는
상기 호스트로부터 수신된 데이터청크가 경유하는 임시 버퍼에 여유공간이 있는 경우 상기 데이터청크를 상기 임시 버퍼에 버퍼링하고, 상기 임시 버퍼에 버퍼링된 데이터청크를 백업 메모리에 백업하는 단계; 및
상기 임시 버퍼에 여유공간이 없는 경우 상기 데이터청크를 임시 버퍼에 버퍼링하지 않고 폐기하는 단계를 포함하는
동작 방법.
According to claim 9,
The step of selectively backing up the data chunks to the backup memory
buffering the data chunk in the temporary buffer and backing up the data chunk buffered in the temporary buffer to a backup memory when there is free space in the temporary buffer through which the data chunk received from the host passes; and
Discarding the data chunk without buffering it in the temporary buffer when there is no free space in the temporary buffer.
how it works.
프로그램될 데이터청크들을 버퍼링하는 라이트 버퍼;
상기 데이터청크들을 선택적으로 백업하는 백업 메모리;
상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하되, 상기 데이터청크들 중 논백업 데이터청크는 제2 프로그램스텝에서 프로그램되도록 상기 프로그램 순서를 결정하는 프로세서를 포함하고,
상기 프로세서는
상기 메모리 장치가 제1 물리 페이지에 제1 프로그램스텝을 수행하고, 상기 제1 물리 페이지에 후속하는 제2 물리 페이지에 제1 프로그램스텝을 수행한 후 상기 제1 물리 페이지에 제2 프로그램스텝을 수행함으로써 상기 데이터청크들을 프로그램하도록 상기 메모리 장치를 제어하는
컨트롤러.
A controller for controlling a memory device including multi-level cells programmed through first and second program steps,
a write buffer buffering data chunks to be programmed;
a backup memory that selectively backs up the data chunks;
A processor determining a program order of each of the data chunks buffered in the write buffer, wherein a non-backup data chunk among the data chunks is programmed in a second program step;
The processor
The memory device performs a first program step on a first physical page, performs a first program step on a second physical page subsequent to the first physical page, and then performs a second program step on the first physical page. Controlling the memory device to program the data chunks by
controller.
상기 프로세서는
상기 데이터청크들 중 노멀 데이터청크는 제1 또는 제2 프로그램스텝에서 프로그램되도록 프로그램 순서를 결정하고,
상기 노멀 데이터청크는 라이트 버퍼에 버퍼링된 데이터청크들 중, 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크인
컨트롤러.
According to claim 11,
The processor
determining a program order so that a normal data chunk among the data chunks is programmed in a first or second program step;
In the normal data chunk, among data chunks buffered in the write buffer, a corresponding backup data chunk is a data chunk backed up in the backup memory.
controller.
상기 프로세서는
상기 메모리 장치가 제1 프로그램스텝을 수행할 차례에 상기 데이터청크들 중 노멀 데이터청크를 프로그램하고, 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 논백업 데이터청크가 버퍼링된 경우 상기 논백업 데이터청크를 프로그램하고, 상기 제2 프로그램스텝을 수행할 차례에 상기 라이트 버퍼에 노멀 데이터청크만이 버퍼링된 경우 상기 노멀 데이터청크를 프로그램하도록 상기 프로그램 순서를 결정하는
컨트롤러.
According to claim 12,
The processor
When the memory device programs a normal data chunk among the data chunks in the turn to perform the first program step and the non-backup data chunk is buffered in the write buffer in the turn to perform the second program step, the non-backup data chunk Determining the program order to program the normal data chunk when only the normal data chunk is buffered in the write buffer at the turn of programming the chunk and performing the second program step
controller.
상기 프로세서는
논백업 데이터청크를 상기 메모리 장치로 제공하고, 상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 논백업 데이터청크를 상기 라이트 버퍼에서 제거하는
컨트롤러.
According to claim 11,
The processor
Providing a non-backup data chunk to the memory device, and removing the non-backup data chunk from the write buffer when a program operation of a physical page associated with the non-backup data chunk is successfully completed
controller.
상기 프로세서는
상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 라이트 버퍼에 버퍼링된 상기 논백업 데이터청크를 상기 메모리 장치로 다시 제공하는
컨트롤러.
According to claim 14,
The processor
If the program operation of the physical page associated with the non-backup data chunk fails, providing the non-backup data chunk buffered in the write buffer to the memory device again.
controller.
상기 프로세서는
노멀 데이터청크를 메모리 장치로 제공하고, 상기 노멀 데이터청크를 상기 라이트 버퍼에서 제거하고,
상기 노멀 데이터청크는 상기 라이트 버퍼에 버퍼링된 데이터청크들 중 대응하는 백업 데이터청크가 상기 백업 메모리에 백업된 데이터청크인
컨트롤러.
According to claim 11,
The processor
providing a normal data chunk to a memory device and removing the normal data chunk from the write buffer;
In the normal data chunk, a corresponding backup data chunk among data chunks buffered in the write buffer is a data chunk backed up in the backup memory.
controller.
상기 프로세서는
상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 성공적으로 완료되면 상기 노멀 데이터청크에 대응하는 백업 데이터청크를 상기 백업 메모리에서 제거하는
컨트롤러.
According to claim 16,
The processor
removing a backup data chunk corresponding to the normal data chunk from the backup memory when the program operation of the physical page associated with the normal data chunk is successfully completed;
controller.
상기 프로세서는
상기 노멀 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 백업 메모리에 백업된 상기 백업 데이터청크를 상기 메모리 장치로 제공하는
컨트롤러.
According to claim 17,
The processor
Providing the backup data chunk backed up in the backup memory to the memory device when a program operation of the physical page associated with the normal data chunk fails.
controller.
상기 백업 메모리는
호스트로부터 수신된 데이터청크가 상기 백업 메모리로 백업되는 데이터패스에서 병목이 발생하지 않도록 상기 데이터청크를 선택적으로 상기 백업 메모리에 백업하고,
상기 라이트 버퍼는 상기 백업 메모리보다 고속으로 동작하는 메모리인
컨트롤러.
According to claim 11,
The backup memory is
selectively backing up the data chunks received from the host to the backup memory so that a bottleneck does not occur in a data path where the data chunks are backed up to the backup memory;
The write buffer is a memory that operates at a higher speed than the backup memory.
controller.
상기 컨트롤러는
상기 호스트로부터 수신된 데이터청크가 경유하는 임시 버퍼를 더 포함하고,
상기 임시 버퍼는
내부에 여유공간이 있는 경우 상기 데이터청크를 버퍼링한 후 상기 버퍼링된 데이터청크를 상기 백업 메모리로 제공하고, 내부에 여유공간이 없는 경우 상기 데이터청크를 버퍼링하지 않고 폐기하는
컨트롤러.
According to claim 19,
The controller
Further comprising a temporary buffer through which the data chunk received from the host passes;
The temporary buffer is
If there is free space inside, the data chunk is buffered and then the buffered data chunk is provided to the backup memory, and when there is no free space inside, the data chunk is discarded without buffering.
controller.
프로그램될 데이터청크들을 버퍼링하는 라이트 버퍼;
상기 데이터청크들을 선택적으로 백업하는 백업 메모리;
상기 라이트 버퍼에 버퍼링된 데이터청크들 각각의 프로그램 순서를 결정하되, 상기 데이터청크들 중 논백업 데이터청크는 제2 프로그램스텝에서 프로그램되도록 상기 프로그램 순서를 결정하는 프로세서를 포함하고,
상기 프로세서는
상기 메모리 장치가 제1 물리 페이지에 제1 프로그램스텝을 수행하고, 상기 제1 물리 페이지에 후속하는 제2 물리 페이지에 제1 프로그램스텝을 수행한 후 상기 제1 물리 페이지에 제2 프로그램스텝을 수행함으로써 상기 데이터청크들을 프로그램하도록 상기 메모리 장치를 제어하고, 상기 논백업 데이터청크에 연관된 물리 페이지의 프로그램 동작이 실패하면, 상기 라이트 버퍼에 버퍼링된 상기 논백업 데이터청크를 상기 메모리 장치로 다시 제공하는
컨트롤러.A controller for controlling a memory device including multi-level cells programmed through first and second program steps,
a write buffer buffering data chunks to be programmed;
a backup memory that selectively backs up the data chunks;
A processor determining a program order of each of the data chunks buffered in the write buffer, wherein a non-backup data chunk among the data chunks is programmed in a second program step;
The processor
The memory device executes a first program step on a first physical page, performs a first program step on a second physical page subsequent to the first physical page, and then performs a second program step on the first physical page. By controlling the memory device to program the data chunks, and if the program operation of the physical page associated with the non-backup data chunk fails, providing the non-backup data chunk buffered in the write buffer to the memory device again
controller.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210079965A KR20220169642A (en) | 2021-06-21 | 2021-06-21 | Controller and operation method thereof |
US17/536,712 US11789637B2 (en) | 2021-06-21 | 2021-11-29 | Controller and operation method thereof |
CN202210247077.3A CN115576482A (en) | 2021-06-21 | 2022-03-14 | Controller and operation method thereof |
DE102022203891.6A DE102022203891A1 (en) | 2021-06-21 | 2022-04-21 | CONTROL AND PROCEDURES OF OPERATION THEREOF |
JP2022085888A JP2023001880A (en) | 2021-06-21 | 2022-05-26 | Controller and method for operating controller |
US18/460,705 US20230409228A1 (en) | 2021-06-21 | 2023-09-05 | Controller and operation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210079965A KR20220169642A (en) | 2021-06-21 | 2021-06-21 | Controller and operation method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20220169642A true KR20220169642A (en) | 2022-12-28 |
Family
ID=84283744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020210079965A KR20220169642A (en) | 2021-06-21 | 2021-06-21 | Controller and operation method thereof |
Country Status (5)
Country | Link |
---|---|
US (2) | US11789637B2 (en) |
JP (1) | JP2023001880A (en) |
KR (1) | KR20220169642A (en) |
CN (1) | CN115576482A (en) |
DE (1) | DE102022203891A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220169642A (en) * | 2021-06-21 | 2022-12-28 | 에스케이하이닉스 주식회사 | Controller and operation method thereof |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101626080B1 (en) | 2010-02-17 | 2016-06-01 | 삼성전자주식회사 | Method for managing page buffer and devices performing the same |
KR101856506B1 (en) * | 2011-09-22 | 2018-05-11 | 삼성전자주식회사 | Data storage device and data write method thereof |
US9141308B2 (en) * | 2011-12-30 | 2015-09-22 | Sandisk Technologies Inc. | Controller and method for using a transaction flag for page protection |
KR102106866B1 (en) * | 2013-01-29 | 2020-05-06 | 삼성전자주식회사 | Multi-level Nonvolatile memory and Method of Progmming threrof |
KR102271462B1 (en) * | 2015-01-13 | 2021-07-05 | 삼성전자주식회사 | Nonvolatile memory device, operating method of the same, and programming method of the same |
KR20170056782A (en) | 2015-11-13 | 2017-05-24 | 에스케이하이닉스 주식회사 | Memory system and operating method for the same |
TWI578222B (en) * | 2015-11-18 | 2017-04-11 | 慧榮科技股份有限公司 | Data storage device and data maintenance method thereof |
US10319445B1 (en) * | 2017-11-30 | 2019-06-11 | Western Digital Technologies, Inc. | Programming unprogrammed upper page during lower page programming of multi-level storage cells |
JP6967959B2 (en) * | 2017-12-08 | 2021-11-17 | キオクシア株式会社 | Memory system and control method |
JP7051546B2 (en) * | 2018-04-16 | 2022-04-11 | キオクシア株式会社 | Memory system and control method |
KR102583787B1 (en) | 2018-11-13 | 2023-10-05 | 에스케이하이닉스 주식회사 | Data Storage Device and Operation Method Thereof, Storage System Having the Same |
KR20200113989A (en) * | 2019-03-27 | 2020-10-07 | 에스케이하이닉스 주식회사 | Apparatus and method for controlling write operation of memory system |
KR102492806B1 (en) | 2019-12-20 | 2023-01-30 | 김승연 | Method for managing inventory and product sales using smart shelves and smart shelves for inventory management and product sales |
KR20220169642A (en) * | 2021-06-21 | 2022-12-28 | 에스케이하이닉스 주식회사 | Controller and operation method thereof |
-
2021
- 2021-06-21 KR KR1020210079965A patent/KR20220169642A/en unknown
- 2021-11-29 US US17/536,712 patent/US11789637B2/en active Active
-
2022
- 2022-03-14 CN CN202210247077.3A patent/CN115576482A/en active Pending
- 2022-04-21 DE DE102022203891.6A patent/DE102022203891A1/en active Pending
- 2022-05-26 JP JP2022085888A patent/JP2023001880A/en active Pending
-
2023
- 2023-09-05 US US18/460,705 patent/US20230409228A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
DE102022203891A1 (en) | 2022-12-22 |
CN115576482A (en) | 2023-01-06 |
US20230409228A1 (en) | 2023-12-21 |
US20220404972A1 (en) | 2022-12-22 |
US11789637B2 (en) | 2023-10-17 |
JP2023001880A (en) | 2023-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102468751B1 (en) | Memory system and operating method of memory system | |
KR102617411B1 (en) | Memory system and operation method thereof | |
US11681554B2 (en) | Logical address distribution in multicore memory system | |
US10725863B2 (en) | Memory system and method for operating the same | |
KR20180039785A (en) | Memory system and operation method for the same | |
KR102495539B1 (en) | Memory system and operating method thereof | |
KR20160075174A (en) | Memory system and operation method for the same | |
KR20170059658A (en) | Memory system and operation method for the same | |
US11922065B2 (en) | Memory system and operating method thereof | |
KR20220008058A (en) | Controller and operation method thereof | |
KR20180111157A (en) | Controller and operating method of controller | |
CN113539341A (en) | Memory device and operation method thereof | |
CN111273856B (en) | Controller and operation method thereof | |
KR102340094B1 (en) | Memory system and operating method thereof | |
CN113223589A (en) | Memory system and operating method thereof | |
KR20190031692A (en) | Data processing system and operation method for the same | |
US20230409228A1 (en) | Controller and operation method thereof | |
US11538547B2 (en) | Systems and methods for read error recovery | |
CN111381772B (en) | Controller of semiconductor memory device and method of operating the same | |
CN109918315B (en) | Memory system and operation method thereof | |
CN112084119A (en) | Storage device, host device, and method of operating storage device and host device | |
KR102289883B1 (en) | Controller and operation method thereof | |
KR20190068197A (en) | Memory system and operation method thereof | |
US11265021B2 (en) | Apparatus and method for error recovery in memory system | |
US20210223974A1 (en) | Memory system for multi-clustering read thresholds and method thereof |