KR101165966B1 - Memory system being accessed as a synchronous mode or an asynchronous mode by command - Google Patents

Memory system being accessed as a synchronous mode or an asynchronous mode by command Download PDF

Info

Publication number
KR101165966B1
KR101165966B1 KR1020100038817A KR20100038817A KR101165966B1 KR 101165966 B1 KR101165966 B1 KR 101165966B1 KR 1020100038817 A KR1020100038817 A KR 1020100038817A KR 20100038817 A KR20100038817 A KR 20100038817A KR 101165966 B1 KR101165966 B1 KR 101165966B1
Authority
KR
South Korea
Prior art keywords
memory
host processor
memory system
mode
flash memory
Prior art date
Application number
KR1020100038817A
Other languages
Korean (ko)
Other versions
KR20110119224A (en
Inventor
양정웅
Original Assignee
삼성전자주식회사
(주)다윈텍
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사, (주)다윈텍 filed Critical 삼성전자주식회사
Priority to KR1020100038817A priority Critical patent/KR101165966B1/en
Publication of KR20110119224A publication Critical patent/KR20110119224A/en
Application granted granted Critical
Publication of KR101165966B1 publication Critical patent/KR101165966B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1689Synchronisation and timing concerns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/20Employing a main memory using a specific memory technology
    • G06F2212/202Non-volatile memory
    • G06F2212/2022Flash memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System (AREA)

Abstract

커맨드에 의해 동기 모드 또는 비동기 모드로 액세스 가능한 메모리 시스템이 개시된다. 메모리 시스템은, 호스트 프로세서에 연결되어 동기 모드 또는 비동기 모드로 액세스되는 메모리 시스템으로서, 비휘발성 메모리와, 비휘발성 메모리를 액세스하기 위한 비휘발성 메모리 콘트롤러와, 호스트 프로세서 전용의 제1 메모리 영역과, 비휘발성 메모리 콘트롤러 전용의 제2 메모리 영역과, 상기 호스트 프로세서 및 상기 비휘발성 메모리 콘트롤러 모두에 의해 액세스 가능한 공유 메모리 영역을 포함하는 내부 메모리를 포함함으로써, 메모리 시스템의 성능을 향상시킬 수 있다.A memory system accessible by a command in synchronous or asynchronous mode is disclosed. A memory system is a memory system connected to a host processor and accessed in a synchronous or asynchronous mode, the memory system comprising: a nonvolatile memory, a nonvolatile memory controller for accessing the nonvolatile memory, a first memory area dedicated to the host processor, and a nonvolatile memory system. By including a second memory area dedicated to the volatile memory controller and a shared memory area accessible by both the host processor and the nonvolatile memory controller, performance of the memory system can be improved.

Description

커맨드에 의해 동기 모드 또는 비동기 모드로 액세스 가능한 메모리 시스템{MEMORY SYSTEM BEING ACCESSED AS A SYNCHRONOUS MODE OR AN ASYNCHRONOUS MODE BY COMMAND}MEMORY SYSTEM BEING ACCESSED AS A SYNCHRONOUS MODE OR AN ASYNCHRONOUS MODE BY COMMAND}

본 발명은 플래시 메모리에 관한 것으로, 더욱 상세하게는 파일 시스템으로부터의 커맨드에 따라 동기 모드 또는 비동기 모드로 액세스 가능한 메모리 시스템에 관한 것이다.TECHNICAL FIELD The present invention relates to flash memory, and more particularly, to a memory system accessible in synchronous mode or asynchronous mode according to a command from a file system.

플래시 메모리는 전기적으로 데이터를 지우고 재기록이 가능한 비휘발성 기억장치로, EEPROM과 달리 디지털 음악 재생기, 디지털 카메라, 핸드폰 등 대용량의 휘발성, 고체상태의 스토리지가 필요한 경우에 사용된다. 이외에도 플래시 메모리는 컴퓨터간에 데이터를 옮기기 위한 임시저장매체인 USB 드라이버에도 사용되며, 최근에는 플래시 메모리를 포함하는 SD(Secure Digital) 카드, 멀티미디어 카드(Multi Media Card, MMC) 등이 널리 보급되고 있다.Flash memory is a non-volatile memory device that can erase and rewrite data electronically. Unlike EEPROM, it is used when a large amount of volatile and solid state storage such as digital music player, digital camera and mobile phone is needed. In addition, the flash memory is also used as a USB driver, which is a temporary storage medium for transferring data between computers, and recently, a SD (Secure Digital) card, a multimedia card (MMC) including a flash memory, and the like are widely used.

이러한 플래시 메모리를 내장한 SD 카드나 멀티미디어 카드와 같은 메모리 시스템에는 호스트 프로세서로부터 전달된 데이터를 임시저장하기 위해 플래시 메모리 콘트롤러내에 작은 용량의 SDRAM을 내장하고 있다. 또한, 플래시 메모리에 데이터를 쓰는 방식은 동기 모드 방식, 즉 호스트 프로세서는 플래시 메모리를 내장한 메모리 시스템으로부터 플래시 메모리에 데이터 쓰기가 완료되었다는 리턴 신호를 받은 후에야 다음 데이터를 메모리 시스템으로 전송하는 동기 모드 방식을 사용하고 있다.Memory systems such as SD cards and multimedia cards with built-in flash memory incorporate small amounts of SDRAM in the flash memory controller to temporarily store data transferred from the host processor. In addition, the method of writing data to the flash memory is a synchronous mode method, that is, the host processor transmits the next data to the memory system only after receiving a return signal from the memory system in which the flash memory has been written to the flash memory. I'm using

하지만, 이와 같은 종래 시스템의 경우 임시버퍼로서 사용하는 SDRAM의 용량이 작아 호스트 프로세서는 플래시 메모리에 쓸 데이터를 작은 크기로 쪼개어 여러번에 걸쳐 메모리 시스템으로 전달해야 하며, 동기 모드 방식에 의하기 때문에, 데이터 액세스 속도가 많이 걸려 메모리 시스템의 성능을 향상시킬 수 없다는 문제점이 있다. However, in such a conventional system, since the capacity of the SDRAM used as a temporary buffer is small, the host processor has to split the data to be written to the flash memory into small sizes and deliver it to the memory system several times. There is a problem that the speed is too high to improve the performance of the memory system.

본 발명은 상기 문제점을 해결하기 위해 안출된 것으로, 본 발명의 목적은, 메모리 시스템의 성능을 향상시킬 수 있는 메모리 시스템을 제공하는 것을 목적으로 한다.The present invention has been made to solve the above problems, and an object of the present invention is to provide a memory system that can improve the performance of the memory system.

상기의 목적을 달성하기 위하여 본 발명에 따른 메모리 시스템은, 호스트 프로세서에 연결되어 동기 모드 또는 비동기 모드로 액세스되는 메모리 시스템으로서, 비휘발성 메모리와, 비휘발성 메모리를 액세스하기 위한 비휘발성 메모리 콘트롤러와, 호스트 프로세서 전용의 제1 메모리 영역과, 비휘발성 메모리 콘트롤러 전용의 제2 메모리 영역과, 상기 호스트 프로세서 및 상기 비휘발성 메모리 콘트롤러 모두에 의해 액세스 가능한 공유 메모리 영역을 포함하는 내부 메모리를 포함할 수 있다.In order to achieve the above object, a memory system according to the present invention is a memory system connected to a host processor and accessed in a synchronous mode or an asynchronous mode, comprising: a nonvolatile memory, a nonvolatile memory controller for accessing a nonvolatile memory, An internal memory may include a first memory area dedicated to a host processor, a second memory area dedicated to a nonvolatile memory controller, and a shared memory area accessible by both the host processor and the nonvolatile memory controller.

또한, 메모리 시스템은, 호스트 프로세서의 파일 시스템으로부터의 커맨드에 기초하여, 동기 모드 또는 비동기 모드 중 어느 하나로 액세스된다.In addition, the memory system is accessed in either synchronous mode or asynchronous mode based on commands from the file system of the host processor.

또한, 비휘발성 메모리는, 낸드 타입의 메모리 셀 구조를 갖는 낸드 플래시 메모리이며, 내부 메모리는, 원디램일 수 있다. 또한, 메모리 시스템은, 단일의 칩으로 집적화될 수 있다.The nonvolatile memory may be a NAND flash memory having a NAND type memory cell structure, and the internal memory may be one DRAM. In addition, the memory system may be integrated into a single chip.

또한, 파일 시스템은, 동기 모드로 데이터를 액세스하는 제1 파일 시스템과, 비동기 모드로 데이터를 액세스하는 제2 파일 시스템으로 이루어질 수 있다.The file system may also be comprised of a first file system for accessing data in a synchronous mode and a second file system for accessing data in an asynchronous mode.

본 발명의 제2 실시예에 따르면, 메모리 시스템에 제공되는데, 메모리 시스템은 호스트 프로세서에 연결되어 동기 모드 또는 비동기 모드로 액세스되는 메모리 시스템으로서, 비휘발성 메모리와, 비휘발성 메모리를 액세스하기 위한 비휘발성 메모리 콘트롤러와, 플래시 메모리 콘트롤러에 연결되어 데이터를 임시저장하기 위한 내부 메모리를 포함할 수 있다.According to a second embodiment of the present invention, a memory system is provided, which is a memory system connected to a host processor and accessed in a synchronous mode or an asynchronous mode, the memory system being a nonvolatile memory and a nonvolatile memory for accessing the nonvolatile memory. It may include a memory controller and an internal memory connected to the flash memory controller for temporarily storing data.

또한, 메모리 시스템은, 호스트 프로세서의 파일 시스템으로부터의 커맨드에 기초하여, 동기 모드 또는 비동기 모드 중 어느 하나로 액세스된다.In addition, the memory system is accessed in either synchronous mode or asynchronous mode based on commands from the file system of the host processor.

또한, 비휘발성 메모리는, 낸드 타입의 메모리 셀 구조를 갖는 낸드 플래시 메모리이며, 내부 메모리는, 디램(DRAM)일 수 있다. 또한, 메모리 시스템은, 단일의 칩으로 집적화될 수 있다.The nonvolatile memory may be a NAND flash memory having a NAND type memory cell structure, and the internal memory may be a DRAM. In addition, the memory system may be integrated into a single chip.

또한, 파일 시스템은, 동기 모드로 데이터를 액세스하는 제1 파일 시스템과, 비동기 모드로 데이터를 액세스하는 제2 파일 시스템으로 이루어질 수 있다.The file system may also be comprised of a first file system for accessing data in a synchronous mode and a second file system for accessing data in an asynchronous mode.

본 발명에 따르면, 파일 시스템으로부터의 소프트웨어적인 커맨드에 의해 동기 모드에서 비동기 모드로, 또는 비동기 모드에서 동기 모드로 데이터를 액세스함으로써, 메모리 시스템의 성능을 향상시킬 수 있다.According to the present invention, the performance of the memory system can be improved by accessing data from the synchronous mode to the asynchronous mode or from the asynchronous mode to the synchronous mode by software commands from the file system.

도 1은 본 발명의 일 실시예에 따른 메모리 시스템의 하드웨어 구조이다.
도 2는 본 발명의 다른 실시예에 따른 메모리 시스템의 하드웨어 구조이다.
도 3은 도 1 및 도 2에 따른 메모리 시스템의 소프트웨어 구조이다.
도 4는 도 2에 따른 메모리 시스템의 동기 모드의 동작방법을 설명하는 흐름도이다.
도 5는 도 2에 따른 메모리 시스템의 비동기 모드의 동작방법을 설명하는 흐름도이다.
1 is a hardware structure of a memory system according to an embodiment of the present invention.
2 is a hardware structure of a memory system according to another embodiment of the present invention.
3 is a software structure of the memory system according to FIGS. 1 and 2.
4 is a flowchart illustrating a method of operating a synchronous mode of the memory system according to FIG. 2.
5 is a flowchart illustrating a method of operating an asynchronous mode of the memory system according to FIG. 2.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art can easily implement the technical idea of the present invention. .

도 1은 본 발명의 일 실시예에 따른 메모리 시스템의 하드웨어 구조로, 호스트 프로세서(110)에 연결된 메모리 시스템(100)은 플래시 메모리(101), 플래시 메모리 콘트롤러(102), 디램(103)을 포함할 수 있다. 1 is a hardware structure of a memory system according to an embodiment of the present invention, in which a memory system 100 connected to a host processor 110 includes a flash memory 101, a flash memory controller 102, and a DRAM 103. can do.

디램(111, 103)은, 램(ram))의 한 종류로 저장된 정보가 시간에 따라 소멸되기 때문에 주기적으로 재생시켜야 하는 특징을 가지며, 구조가 간단해 집적이 용이하므로 대용량 임시기억장치로 사용되는 휘발성 메모리이다. 종래기술에서와 달리 본 발명에서는 플래시 메모리 콘트롤러(102)에 별도의 큰 용량의 디램(103)을 추가하였으며, 따라서 호스트 프로세서(110) 측에서는 데이터를 잘게 쪼개 보낼 필요가 없어지므로, 메모리 시스템의 성능을 향상시킬 수 있다.The DRAMs 111 and 103 have a characteristic of being periodically reproduced since information stored as one type of RAM is extinguished with time, and is used as a large-capacity temporary memory device because of its simple structure and easy integration. Volatile memory. Unlike the prior art, in the present invention, a separate large capacity DRAM 103 is added to the flash memory controller 102. Therefore, the host processor 110 does not need to send data in small pieces, thereby improving performance of the memory system. Can be improved.

플래시 메모리(101)는, 메모리 칩 안에 정보를 유지하기 위해 전력이 필요없는 비휘발성 메모리 장치로, 셀 어레이 구성이 NAND 구조를 가지는 NAND 플래시 메모리가 바람직하나, 이에 한정되는 것은 아니며 NOR 플래시 메모리, ROM(Read Only Memory), SRAM(Static Random Access Momoey) 등으로 구성될 수도 있다.The flash memory 101 is a nonvolatile memory device that does not require power to maintain information in a memory chip. Preferably, the flash memory 101 is a NAND flash memory having a NAND structure in a cell array configuration, but is not limited thereto. (Read Only Memory), Static Random Access Momoey (SRAM), or the like.

플래시 메모리 콘트롤러(102)는, 호스트 프로세서(110)의 동작 모드와 동일한 동작 모드로 플래시 메모리(101)의 데이터를 액세스하며, 내부에는 논리적 어드레스를 물리적 어드레스로 변환하여 플래시 메모리(101)에 제공하기 위한 플래시 변환 레이어(Flash Translation Layer, FTL)를 포함하고 있다. 상기한 메모리 시스템(100)은 단일의 칩으로 집적화될 수 있다.The flash memory controller 102 accesses data in the flash memory 101 in the same operation mode as that of the host processor 110, and internally converts a logical address into a physical address to provide the flash memory 101 to the flash memory 101. It includes a Flash Translation Layer (FTL). The memory system 100 may be integrated into a single chip.

위와 같은 구성을 가진 메모리 시스템에서 데이터를 플래시 메모리(101)에 쓰는 과정은 다음과 같다.In the memory system having the above configuration, the process of writing data to the flash memory 101 is as follows.

동기 모드의 경우 호스트 프로세서(110)는 디램(111)으로부터 데이터를 읽어와 메모리 시스템(100) 내의 디램(103)에 임시 저장한다. 이후 플래시 메모리 콘트롤러(102)는 디램(103)에 임시 저장된 데이터를 플래시 메모리(101)에 기록한다. 이후 기록이 완료되면, 플래시 메모리 콘트롤러(102)는 호스트 프로세서(110)으로 완료를 알리는 리턴 신호를 전달한다. 이후 리턴 신호를 받은 호스트 프로세서(110)는 플래시 메모리(101) 액세스 이외의 다른 동작을 수행할 수 있다.In the synchronous mode, the host processor 110 reads data from the DRAM 111 and temporarily stores the data in the DRAM 103 in the memory system 100. Thereafter, the flash memory controller 102 writes data temporarily stored in the DRAM 103 to the flash memory 101. Thereafter, when writing is completed, the flash memory controller 102 transmits a return signal indicating completion to the host processor 110. After receiving the return signal, the host processor 110 may perform an operation other than accessing the flash memory 101.

한편, 비동기 모드의 경우 호스트 프로세서(110)는 디램(111)으로부터 데이터를 읽어와 역시 디램(103)에 임시 저장한다. 이후 플래시 메모리 콘트롤러(102)는 페이크 리턴 신호를 호스트 프로세서(110)로 전달한다. 페이크 리턴 신호를 받은 호스트 프로세서(110)는 다른 동작을 수행할 수 있다. 한편, 디램(103)에 임시 저장된 데이터는 이후 플래시 메모리 콘트롤러(102)에 의해 플래시 메모리에 기록된다. 이와 같이 비동기 모드의 경우 플래시 메모리(101)에는 데이터가 완전히 기록되기 전이라도 임시 버퍼인 디램(103)에 기록되기만 하면 페이크(fake) 리턴 신호를 호스트 프로세서(110)로 전달함으로써, 호스트 프로세서(110)로 하여금 다른 동작을 수행할 수 있도록 하여 전체적인 메모리 시스템의 성능을 향상시킬 수 있다. 다만, 임시버퍼로서의 디램(103)은 휘발성 메모리이기 때문에 플래시 메모리(101)에 기록되기 전에 전원이 오프되면, 데이터가 지워질 수 있는 단점이 있다.In the asynchronous mode, the host processor 110 reads data from the DRAM 111 and temporarily stores the data in the DRAM 103. The flash memory controller 102 then transfers the fake return signal to the host processor 110. The host processor 110 receiving the fake return signal may perform another operation. Meanwhile, the data temporarily stored in the DRAM 103 is then written to the flash memory by the flash memory controller 102. As described above, in the asynchronous mode, the flash memory 101 transmits a fake return signal to the host processor 110 as long as the data is written to the temporary memory DRAM 103 even before data is completely written to the host processor 110. ) To perform different operations to improve the performance of the overall memory system. However, since the DRAM 103 as a temporary buffer is a volatile memory, if the power is turned off before being written to the flash memory 101, data may be erased.

도 2는 본 발명의 다른 실시예에 따른 메모리 시스템의 하드웨어 구조로, 호스트 프로세서(210)에 연결된 메모리 시스템(200)은 플래시 메모리(201), 플래시 메모리 콘트롤러(202), 원디램(203)을 포함할 수 있다. 도 2에서는 도 1과 달리 두개의 디램(111, 103)을 하나의 램(203)으로 집적화한 것이 특징이다.2 is a hardware structure of a memory system according to another exemplary embodiment of the present invention. The memory system 200 connected to the host processor 210 may include a flash memory 201, a flash memory controller 202, and one DRAM 203. It may include. In FIG. 2, unlike FIG. 1, two DRAMs 111 and 103 are integrated into one RAM 203.

플래시 메모리(121)는, 메모리 칩 안에 정보를 유지하기 위해 전력이 필요없는 비휘발성 메모리 장치로, 셀 어레이 구성이 NAND 구조를 가지는 NAND 플래시 메모리가 바람직하나, 이에 한정되는 것은 아니며 NOR 플래시 메모리, ROM(Read Only Memory), SRAM(Static Random Access Momoey) 등으로 구성될 수도 있다.The flash memory 121 is a nonvolatile memory device that does not require power to maintain information in a memory chip. The flash memory 121 is preferably a NAND flash memory having a NAND structure in a cell array configuration, but is not limited thereto. (Read Only Memory), Static Random Access Momoey (SRAM), or the like.

플래시 메모리 콘트롤러(202)는, 호스트 프로세서(210)의 동작 모드와 동일한 동작 모드로 플래시 메모리(201)의 데이터를 액세스하며, 내부에는 논리적 어드레스를 물리적 어드레스로 변환하여 플래시 메모리(201)에 제공하기 위한 플래시 변환 레이어(Flash Translation Layer, FTL)를 포함하고 있다. 상기한 메모리 시스템(200)은 단일의 칩으로 집적화될 수 있다.The flash memory controller 202 accesses data in the flash memory 201 in the same operation mode as that of the host processor 210, and internally converts a logical address into a physical address to provide the flash memory 201. It includes a Flash Translation Layer (FTL). The memory system 200 may be integrated into a single chip.

한편, 원디램(203)은, 듀얼 포트 메모리로도 칭해지며, 호스트 프로세서(210) 전용의 메모리 영역(#1)과, 플래시 메모리 콘트롤러(202) 전용의 메모리 영역(#2)과, 호스트 프로세서(210)과 플래시 메모리 콘트롤러(202) 모두에 의해 액세스가 가능한 공유 메모리 영역(#3)을 포함하여 구성된다. 호스트 프로세서(210)와 플래시 메모리 콘트롤러(202)가 공유 메모리 영역(#3)을 액세스하기 위해서는 원디램(203)으로부터 액세스 권한을 획득한 후 공유 메모리 영역(#3)을 액세스하여야 한다. 상기한 메모리 시스템(200)은 단일의 칩으로 집적화될 수 있다.On the other hand, the one DRAM 203 is also referred to as a dual port memory, and has a memory area # 1 dedicated to the host processor 210, a memory area # 2 dedicated to the flash memory controller 202, and a host processor. And a shared memory area # 3 accessible by both 210 and flash memory controller 202. In order for the host processor 210 and the flash memory controller 202 to access the shared memory area # 3, the host processor 210 and the flash memory controller 202 must access the shared memory area # 3 after obtaining an access right from the original DRAM 203. The memory system 200 may be integrated into a single chip.

도 3은 도 1 및 도 2의 메모리 시스템의 소프트웨어 구조로, 호스트 프로세서(210)에서 동작하는 파일 시스템(301)과 호스트 프로세서 드라이버(302) 그리고 메모리 시스템(200)에서 동작하는 메모리 시스템 드라이버(303)를 도시하고 있다. 또한, 도시된 바와 같이, 파일 시스템(301)은 동기 모드로 동작하는 파일 시스템1(301a)과 비동기 모드로 동작하는 파일 시스템2(301b)으로 이루어지며, 호스트 프로세서 드라이버(302) 역시 동기모드로 동작하는 드라이버(302a)와 비동기 모드로 동작하는 드라이버(302a)로 이루어지며, 메모리 시스템 드라이버(303) 역시 동기모드로 동작하는 드라이버(303a)와 비동기 모드로 동작하는 드라이버(303b)로 이루어진다. 3 is a software structure of the memory system of FIGS. 1 and 2, which includes a file system 301 that operates in the host processor 210, a host processor driver 302, and a memory system driver 303 that operates in the memory system 200. ) In addition, as shown, the file system 301 is composed of a file system 1 (301a) operating in a synchronous mode and a file system 2 (301b) operating in an asynchronous mode, the host processor driver 302 is also in a synchronous mode The driver 302a operates in an asynchronous mode and the driver 302a operates in an asynchronous mode. The memory system driver 303 also includes a driver 303a operating in a synchronous mode and a driver 303b operating in an asynchronous mode.

도 3에 도시된 바와 같이, 메모리 시스템(200) 상에서 동작하는 메모리 시스템 드라이버(303)는 호스트 프로세서 드라이버(302)와 연동되어 동작하며, 동기 모드와 비동기 모드의 동작은 호스트 프로세서(210)의 파일 시스템(301)으로부터의 커맨드에 의해 구분되어 진다. 이와 같이 본 발명은 소프트웨어적인 방법에 의해 동기 모드와 비동기 모드로 구분하여 동작 가능하며, 간단한 커맨드에 의해 간편하게 동작 모드의 변경이 가능하고, 하드웨어적인 방법보다 메모리 시스템의 성능을 개선할 수 있다. 이와 같은 도 3에 도시된 소프트웨어 구조는 도 1의 메모리 시스템에도 적용될 수 있다.As shown in FIG. 3, the memory system driver 303 operating on the memory system 200 operates in conjunction with the host processor driver 302, and the operation of the synchronous mode and the asynchronous mode is a file of the host processor 210. Distinguished by commands from system 301. As described above, the present invention can operate by dividing the operation mode into the synchronous mode and the asynchronous mode by a software method, the operation mode can be easily changed by a simple command, and the performance of the memory system can be improved over the hardware method. The software structure shown in FIG. 3 may also be applied to the memory system of FIG. 1.

도 4는 도 2에 따른 메모리 시스템의 동기 모드의 동작방법을 설명하는 흐름도이다.4 is a flowchart illustrating a method of operating a synchronous mode of the memory system according to FIG. 2.

도 4를 참조하면, 단계 400에서, 호스트 프로세서(210)는 원디램(203)으로부터 공유 메모리 영역(#3)에 대한 액세스 권한을 획득한 후, 고유의 전용 메모리 영역(#1)에 기록되어 있는 데이터를 공유 메모리 영역(#3)에 기록한다.Referring to FIG. 4, in step 400, the host processor 210 obtains an access right to the shared memory area # 3 from the original DRAM 203 and then writes to the unique dedicated memory area # 1. The existing data is written to the shared memory area # 3.

기록이 완료되면, 단계 401에서, 플래시 메모리 콘트롤러(202)가 공유 메모리 영역(#3)에 대한 액세스 권한을 획득하고, 공유 메모리 영역(#3)에 기록된 데이터를 플래시 메모리(201)에 기록한다.When writing is complete, in step 401, the flash memory controller 202 acquires access right to the shared memory area # 3, and writes data recorded in the shared memory area # 3 to the flash memory 201. do.

이후, 단계 402에서, 원디램(203)은 호스트 프로세서(210)로 데이터 쓰기가 완료되었음을 알리는 리턴 신호를 전송한다. 리턴 신호를 받은 호스트 프로세서(210)는 플래시 메모리(201) 액세스 이외의 다른 동작을 수행할 수 있다.Thereafter, in step 402, the original DRAM 203 transmits a return signal to the host processor 210 indicating that data writing is completed. The host processor 210 receiving the return signal may perform an operation other than accessing the flash memory 201.

도 5는 도 2에 따른 메모리 시스템의 비동기 모드의 동작방법을 설명하는 흐름도이다.5 is a flowchart illustrating a method of operating an asynchronous mode of the memory system according to FIG. 2.

도 5를 참조하면, 단계 500에서, 호스트 프로세서(210)는 원디램(203)으로부터 공유 메모리 영역(#3)에 대한 액세스 권한을 획득한 후, 고유의 전용 메모리 영역(#1)에 기록되어 있는 데이터를 공유 메모리 영역(#3)에 기록한다.Referring to FIG. 5, in step 500, the host processor 210 acquires an access right to the shared memory area # 3 from the original DRAM 203, and then writes to the unique dedicated memory area # 1. The existing data is written to the shared memory area # 3.

기록이 완료되면, 단계 501에서, 원디램(203)은 호스트 프로세서(210)로 데이터 쓰기가 완료되었음을 알리는 페이크 리턴 신호를 전송한다. 페이크 신호를 받은 호스트 프로세서(210)는 플래시 메모리(201) 액세스 이외의 다른 동작을 수행할 수 있다.When writing is complete, in step 501, the one DRAM 203 transmits a fake return signal to the host processor 210 indicating that data writing is completed. The host processor 210 receiving the fake signal may perform an operation other than accessing the flash memory 201.

이후 단계 501에서, 플래시 메모리 콘트롤러(202)가 공유 메모리 영역(#3)에 대한 액세스 권한을 획득하고, 공유 메모리 영역(#3)에 기록된 데이터를 플래시 메모리(201)에 기록한다. Thereafter, in step 501, the flash memory controller 202 acquires an access right to the shared memory area # 3, and writes data recorded in the shared memory area # 3 to the flash memory 201.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있다. 또한 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을수 있는 코드가 저장되고 실행될 수 있다.The present invention can also be embodied as computer-readable codes on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이상 도면과 명세서에서 최적 실시예들이 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.The best embodiments have been disclosed in the drawings and specification above. Although specific terms have been employed herein, they are used for purposes of illustration only and are not intended to limit the scope of the invention as defined in the claims or the claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

100, 200: 메모리 시스템의 하드웨어 구조
110, 210: 호스트 프로세서
111, 103: 디램
101, 201: 플래시 메모리
102, 202; 플래시 메모리 콘트롤러
203: 원디램
301: 파일 시스템
302: 호스트 프로세서 드라이버
303: 메모리 시스템 드라이버
100, 200: hardware structure of the memory system
110, 210: host processor
111, 103: DRAM
101, 201: flash memory
102, 202; Flash memory controller
203: One DRAM
301: file system
302: host processor driver
303: memory system driver

Claims (12)

삭제delete 호스트 프로세서에 연결되어 동기 모드 또는 비동기 모드로 액세스되는 메모리 시스템으로서,
비휘발성 메모리;
상기 비휘발성 메모리를 액세스하기 위한 비휘발성 메모리 콘트롤러; 및
상기 호스트 프로세서 전용의 제1 메모리 영역과, 상기 비휘발성 메모리 콘트롤러 전용의 제2 메모리 영역과, 상기 호스트 프로세서 및 상기 비휘발성 메모리 콘트롤러 모두에 의해 액세스 가능한 공유 메모리 영역을 포함하는 내부 메모리를 포함하고,
상기 메모리 시스템은,
상기 호스트 프로세서의 파일 시스템으로부터의 커맨드에 기초하여, 동기 모드 또는 비동기 모드 중 어느 하나로 액세스되는 것을 특징으로 하는 메모리 시스템.
A memory system connected to a host processor and accessed in synchronous or asynchronous mode,
Nonvolatile memory;
A nonvolatile memory controller for accessing the nonvolatile memory; And
An internal memory including a first memory area dedicated to the host processor, a second memory area dedicated to the nonvolatile memory controller, and a shared memory area accessible by both the host processor and the nonvolatile memory controller,
The memory system,
Based on a command from a file system of the host processor, the memory system being accessed in either a synchronous mode or an asynchronous mode.
제2항에 있어서,
상기 비휘발성 메모리는,
낸드 타입의 메모리 셀 구조를 갖는 낸드 플래시 메모리인 것을 특징으로 하는 메모리 시스템.
The method of claim 2,
The nonvolatile memory,
A NAND flash memory having a NAND type memory cell structure.
제2항에 있어서,
상기 메모리 시스템은,
단일의 칩으로 집적화된 것을 특징으로 하는 메모리 시스템.
The method of claim 2,
The memory system,
Memory system characterized in that integrated into a single chip.
제2항에 있어서,
상기 파일 시스템은,
동기 모드로 데이터를 액세스하는 제1 파일 시스템; 및
비동기 모드로 데이터를 액세스하는 제2 파일 시스템으로 이루어진 것을 특징으로 하는 메모리 시스템.
The method of claim 2,
The file system,
A first file system for accessing data in a synchronous mode; And
And a second file system for accessing data in asynchronous mode.
제2항에 있어서,
상기 내부 메모리는,
원디램인 것을 특징으로 하는 메모리 시스템.
The method of claim 2,
The internal memory,
The memory system, characterized in that the one DRAM.
삭제delete 호스트 프로세서에 연결되어 동기 모드 또는 비동기 모드로 액세스되는 메모리 시스템으로서,
비휘발성 메모리;
상기 비휘발성 메모리를 액세스하기 위한 비휘발성 메모리 콘트롤러; 및
상기 비휘발성 메모리 콘트롤러에 연결되어 데이터를 임시저장하기 위한 내부 메모리를 포함하고,
상기 메모리 시스템은,
상기 호스트 프로세서의 파일 시스템으로부터의 커맨드에 기초하여, 동기 모드 또는 비동기 모드 중 어느 하나로 데이터를 액세스하는 것을 특징으로 하는 메모리 시스템.
A memory system connected to a host processor and accessed in synchronous or asynchronous mode,
Nonvolatile memory;
A nonvolatile memory controller for accessing the nonvolatile memory; And
An internal memory connected to the nonvolatile memory controller for temporarily storing data;
The memory system,
And access data in either a synchronous mode or an asynchronous mode based on a command from a file system of the host processor.
제8항에 있어서,
상기 비휘발성 메모리는,
낸드 타입의 메모리 셀 구조를 갖는 낸드 플래시 메모리인 것을 특징으로 하는 메모리 시스템.
The method of claim 8,
The nonvolatile memory,
A NAND flash memory having a NAND type memory cell structure.
제8항에 있어서,
상기 메모리 시스템은,
단일의 칩으로 집적화된 것을 특징으로 하는 메모리 시스템.
The method of claim 8,
The memory system,
Memory system characterized in that integrated into a single chip.
제8항에 있어서,
상기 파일 시스템은,
동기 모드로 데이터를 액세스하기 위한 제1 파일 시스템; 및
비동기 모드로 데이터를 액세스하기 위한 제2 파일 시스템으로 이루어진 것을 특징으로 하는 메모리 시스템.
The method of claim 8,
The file system,
A first file system for accessing data in a synchronous mode; And
And a second file system for accessing data in asynchronous mode.
제8항에 있어서,
상기 내부 메모리는,
디램(DRAM)인 것을 특징으로 하는 메모리 시스템.
The method of claim 8,
The internal memory,
Memory system, characterized in that the DRAM (DRAM).
KR1020100038817A 2010-04-27 2010-04-27 Memory system being accessed as a synchronous mode or an asynchronous mode by command KR101165966B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100038817A KR101165966B1 (en) 2010-04-27 2010-04-27 Memory system being accessed as a synchronous mode or an asynchronous mode by command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100038817A KR101165966B1 (en) 2010-04-27 2010-04-27 Memory system being accessed as a synchronous mode or an asynchronous mode by command

Publications (2)

Publication Number Publication Date
KR20110119224A KR20110119224A (en) 2011-11-02
KR101165966B1 true KR101165966B1 (en) 2012-07-18

Family

ID=45390851

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100038817A KR101165966B1 (en) 2010-04-27 2010-04-27 Memory system being accessed as a synchronous mode or an asynchronous mode by command

Country Status (1)

Country Link
KR (1) KR101165966B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8779849B2 (en) * 2012-01-27 2014-07-15 Micron Technology, Inc. Apparatuses and methods for providing capacitance in a multi-chip module
US9213386B2 (en) 2012-10-22 2015-12-15 Micron Technology, Inc. Apparatuses and methods and for providing power responsive to a power loss

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009079752A1 (en) * 2007-12-20 2009-07-02 Mosaid Technologies Incorporated Dual function compatible non-volatile memory device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009079752A1 (en) * 2007-12-20 2009-07-02 Mosaid Technologies Incorporated Dual function compatible non-volatile memory device

Also Published As

Publication number Publication date
KR20110119224A (en) 2011-11-02

Similar Documents

Publication Publication Date Title
US9697116B2 (en) Storage system and writing method thereof
TWI716417B (en) Data storage device and operating method thereof
JP5295778B2 (en) Flash memory management method
KR100725271B1 (en) USB-SD Memory with multiple DMA channels, and data storing method thereof
KR101395778B1 (en) Memory card and memory system including the same and operating method thereof
JP4628750B2 (en) Flash memory device with built-in buffer memory and flash memory system
US8650379B2 (en) Data processing method for nonvolatile memory system
US11630766B2 (en) Memory system and operating method thereof
US20180275921A1 (en) Storage device
US8127072B2 (en) Data storage device and method for accessing flash memory
KR102233400B1 (en) Data storage device and operating method thereof
CN101297276A (en) A mass storage device having both xip function and storage function
KR20150012996A (en) Controller management of memory array of storage device using magnetic random access memory(mram)
KR102526608B1 (en) Electronic device and operating method thereof
KR20190120573A (en) Memory system, data processing system and operating method of the memory system
US11126238B2 (en) Open channel solid state drive, nonvolatile memory system including the same and method of power loss protection of open channel solid state drive
JP2012113343A (en) Storage device
KR101081948B1 (en) Nonvolatile memory device and data storing method thereof
US8954662B2 (en) SSD controller, and method for operating an SSD controller
US11461238B2 (en) Storage device, memory controller, and method for fetching write commands from submission queues to perform full page writes
KR101165966B1 (en) Memory system being accessed as a synchronous mode or an asynchronous mode by command
US20140149646A1 (en) Memory systems including flash memories, first buffer memories, second buffer memories and memory controllers and methods for operating the same
US9836220B2 (en) Data processing system and method of operating the same
US8544424B2 (en) System, controller and method thereof for transmitting and distributing data stream
US20230136664A1 (en) Storage device and electronic device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
N231 Notification of change of applicant
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150710

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20161230

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170630

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180629

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190628

Year of fee payment: 8