KR100676223B1 - Apparatus for controling nand flash memory - Google Patents
Apparatus for controling nand flash memory Download PDFInfo
- Publication number
- KR100676223B1 KR100676223B1 KR1020050087692A KR20050087692A KR100676223B1 KR 100676223 B1 KR100676223 B1 KR 100676223B1 KR 1020050087692 A KR1020050087692 A KR 1020050087692A KR 20050087692 A KR20050087692 A KR 20050087692A KR 100676223 B1 KR100676223 B1 KR 100676223B1
- Authority
- KR
- South Korea
- Prior art keywords
- pin
- nand
- lcd
- flash memory
- nand flash
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1694—Configuration of memory controller to different memory types
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/20—Employing a main memory using a specific memory technology
- G06F2212/202—Non-volatile memory
- G06F2212/2022—Flash 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)
- Studio Devices (AREA)
- Read Only Memory (AREA)
Abstract
Description
도 1은 종래 기술에 따른 낸드형 플래시 메모리가 적용되는 이동 단말기의 구성도.1 is a block diagram of a mobile terminal to which a NAND flash memory according to the prior art is applied.
도 2는 종래 기술에 따른 베이스밴드 모뎀과 낸드형 플래시 메모리와의 결합 관계를 나타낸 도면.2 is a diagram illustrating a coupling relationship between a baseband modem and a NAND flash memory according to the related art.
도 3은 본 발명의 바람직한 일 실시예에 따른 LCD 바이패스 기능을 수행하는 카메라 컨트롤 프로세서의 구성도.3 is a block diagram of a camera control processor for performing the LCD bypass function according to an embodiment of the present invention.
도 4는 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시 메모리 제어 장치의 구성도.4 is a block diagram of a NAND flash memory control device according to an embodiment of the present invention.
도 5는 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시에서 데이터를 읽는 과정의 타이밍도.5 is a timing diagram of a process of reading data from a NAND flash according to an embodiment of the present invention.
도 6은 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시에 데이터를 쓰는 과정의 타이밍도.6 is a timing diagram of a process of writing data to a NAND flash according to a preferred embodiment of the present invention.
도 7은 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시에 데이터를 지우는 과정의 타이밍도.7 is a timing diagram of a process of erasing data in a NAND flash according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
303 : 카메라 컨트롤 프로세서(CCP; Camera Control Processor)303: Camera Control Processor (CCP)
309 : LCD309: LCD
401 : 베이스밴드 모뎀401: baseband modem
403 : 낸드형 플래시 메모리403: NAND Flash Memory
본 발명은 낸드형 플래시 메모리의 제어 장치에 관한 것으로, 특히 카메라 컨트롤 프로세서에 포함된 LCD 바이패스 라인과 LCD 바이패스에 포함된 GPIO 포트를 이용하여 베이스밴드 모뎀에서 낸드형 플래시 메모리를 제어하는 장치에 관한 것이다.The present invention relates to a control device of a NAND flash memory, and more particularly, to an apparatus for controlling a NAND flash memory in a baseband modem using an LCD bypass line included in a camera control processor and a GPIO port included in an LCD bypass. It is about.
비휘발성 메모리인 롬(ROM)은 전원을 꺼도 데이터가 소실되지 않고 보존되는 특성을 가지며, 그 종류에는 제조자에 의하여 공장에서 프로그램되는 마스크 롬(Mask ROM)과 전기적으로 프로그래밍과 소거가 반복적으로 가능한 EEPROM 등의 여러 종류가 있다. 플래시 메모리는 전기적 소거 동작이 원하는 블록, 섹터 또는 전체 칩(chip) 단위로 수행되고, 프로그램은 한 개의 비트 단위로도 수행할 수 있도록 구성된 EEPROM의 개량된 형태를 말한다. 플래시 메모리는 기억 단위가 섹터로 분할되어 포맷되는 디스크 형 보조 기억 장치와 그 구조가 유사하다.ROM, a nonvolatile memory, retains its data without loss even when the power is turned off.It includes a mask ROM that is factory programmed by the manufacturer and an EEPROM that can be electrically programmed and erased repeatedly. There are several kinds. Flash memory refers to an improved form of EEPROM in which an electrical erase operation is performed in units of desired blocks, sectors, or entire chips, and a program can be performed in units of one bit. The flash memory is similar in structure to a disk type auxiliary storage device in which a storage unit is divided into sectors and formatted.
플래시 메모리의 아키텍처는 크게 비트 선과 접지선 사이에 셀이 병렬로 배치된 노어(NOR)형 구조와 직렬로 배치된 낸드(NAND)형 구조로 나눌 수 있고, 다시 노어(NOR)형은 그 변형 구조인 AND형, DINOR형, VGA(Virtual Ground Array)형으로 나눌 수 있다. 노어(NOR)형 플래시 메모리는 읽기와 프로그램 동작을 위한 어드레스 디코딩(address decoding)을 디램(DRAM)과 유사하게 구성하여 주변 회로가 간단해지고 리드 액세스 타임(read access time)이 작아지는 장점이 있다. 그러나 노어(NOR)형 플래시 메모리는 각 셀마다 비트선의 접촉 전극이 필요하므로 낸드(NAND)형 플래시 메모리에 비하여 셀 면적이 커지는 단점이 있다. 낸드형 플래시 메모리는 읽기 동작에 앞서 먼저 해당 블록을 선택해야만 하고, 각 셀이 직렬로 연결되어 동작 저항이 크기 때문에 읽기 속도가 상대적으로 느리다는 단점이 있으나, 낸드형 플래시 메모리는 노어형 플래시 메모리에 비해 집적도가 뛰어나고, 가격이 저렴하다는 장점을 갖고 있다.Flash memory architecture can be divided into NOR-type structure in which cells are arranged in parallel between a bit line and a ground line, and NAND-type structure in series. In addition, NOR type is a modified structure. It can be divided into AND type, DINOR type and VGA (Virtual Ground Array) type. NOR flash memory has an advantage in that address decoding for read and program operations is similar to DRAM, thereby simplifying peripheral circuits and reducing read access time. However, NOR flash memory has a disadvantage in that the cell area is larger than NAND flash memory because a contact electrode of a bit line is required for each cell. NAND flash memory has to select the block before the read operation, and the read speed is relatively slow because each cell is connected in series and the operation resistance is large. However, NAND flash memory has a disadvantage compared to NOR flash memory. It has the advantage of excellent density and low price.
플래시 메모리 제품은 컴퓨터의 메모리 카드 및 디지털 카메라의 화상 데이터 저장 등에 쓰이는 카드형 제품과 컴퓨터의 BIOS(Built-in Operating System)나 이동 전화기의 마이크로 코드 저장용으로 쓰이는 단일 칩(chip) 형 제품으로 구분할 수 있다. 도 1 및 도 2를 참조하여 종래 기술에 따른 낸드형 플래시 메모리가 적용되는 이동 단말기에서 낸드형 플래시 메모리를 제어하는 방법에 대해 설명하면 다음과 같다.Flash memory products can be divided into card type products used for storing memory data of computer memory cards and digital cameras and single chip type products used for micro-code storage of a computer's BIOS (Built-in Operating System) or mobile phones. Can be. A method of controlling a NAND flash memory in a mobile terminal to which a NAND flash memory according to the prior art is applied will now be described with reference to FIGS. 1 and 2.
도 1은 종래 기술에 따른 낸드형 플래시 메모리가 적용되는 이동 단말기의 구성도이다.1 is a block diagram of a mobile terminal to which a NAND flash memory according to the prior art is applied.
도 1을 참조하면, 종래의 이동 단말기는 베이스밴드(Baseband) 모뎀(101), LCD 바이패스(103), LCD(105) 및 NAND형 플래시 메모리(107)를 포함한다. 특히 상기 이동 단말기는 디지털 카메라 기능이 포함된 단말기로 상기 LCD 바이패스(103)의 기능은 카메라 컨트롤 프로세서(CCP; Camera Control Processor)에 포함되어 있다. 상기 베이스밴드 모뎀(101)은 통상의 통화 기능을 수행하며, 또한 도시하지는 않았지만 이동 단말기에 포함된 이미지 센서 및 디지털 신호 처리부로부터 화상 데이터를 입력받아 디지털 카메라 기능을 수행한다. 즉 베이스밴드 모뎀(101)은 이미지 센서에서 촬영되어 디지털 신호 처리부에서 인코딩된 화상 데이터를 입력받아 LCD 바이패스(103)를 통해 LCD(105)로 전달하며, 상기 화상 데이터는 이동 단말기에 표시부에 출력된다. 이때 상기 낸드형 플래시 메모리(107)는 정지 화상을 일시 저장하는 기능을 수행한다. 여기서 베이스밴드 모뎀(101)은 상기 낸드형 플래시 메모리(103)를 제어하기 위하여 별도의 포트를 할당받아 낸드형 플래시 메모리(107)를 직접 제어한다.Referring to FIG. 1, a conventional mobile terminal includes a
도 2는 베이스밴드 모뎀과 낸드형 플래시 메모리와의 결합 관계를 나타낸 도면이다. 도 2에서 보는 바와 같이 베이스밴드 모뎀에서 낸드형 플래시 메모리에 데이터를 읽고 쓰고자 하는 경우 6개의 제어핀(CE, CLE, WE, RE, ALE, R/B)과 8개의 데이터 핀(D[7..0])이 필요하며, 베이스벤드 모뎀(101)은 별도의 포트를 할당받아 낸드형 플래시 메모리(107)와 직접 결합하고 있음을 알 수 있다.2 is a diagram illustrating a coupling relationship between a baseband modem and a NAND flash memory. As shown in FIG. 2, six control pins (CE, CLE, WE, RE, ALE, R / B) and eight data pins (D [7) are used to read and write data to the NAND flash memory in the baseband modem. ..0]) is required, and it can be seen that the
이와 같이 종래의 이동 단말기에서 낸드형 플래시 메모리를 제어하는 방법은 베이스밴드 모뎀에 낸드형 플래시 메모리를 제어하기 위한 포트를 별도로 설정하거 나 낸드형 플래시 메모리를 제어하는 기능을 포함한 별도의 칩을 사용해야 하는 단점이 있다.As described above, a method of controlling a NAND flash memory in a conventional mobile terminal requires setting a port for controlling a NAND flash memory in a baseband modem or using a separate chip including a function of controlling a NAND flash memory. There are disadvantages.
상기와 같은 문제점을 해결하기 위한 본 발명의 목적은 베이스밴드 모뎀에서 낸드형 플래시 메모리를 제어하기 위한 별도의 포트 할당을 하지 아니하고 LCD 바이패스 라인을 이용한 낸드형 플래시 메모리 제어 장치를 제공하고자 하는 것이다.An object of the present invention for solving the above problems is to provide a NAND flash memory control device using an LCD bypass line without a separate port allocation for controlling the NAND flash memory in the baseband modem.
본 발명의 다른 목적은 베이스밴드 모뎀의 포트 수를 줄이고 효과적으로 낸드형 플래시 메모리를 제어할 수 있는 LCD 바이패스 라인을 이용한 낸드형 플래시 메모리 제어 장치를 제공하고자 하는 것이다.Another object of the present invention is to provide a NAND flash memory control apparatus using an LCD bypass line that can reduce the number of ports of a baseband modem and effectively control the NAND flash memory.
상술한 목적들을 달성하기 위하여, 본 발명의 일 측면에 따르면 NAND_CE 핀, NAND_CLE 핀, NAND_WE 핀, NAND_RE 핀, NAND_ALE 핀, NAND_R/B 핀 및 적어도 하나 이상의 NAND_D 핀을 포함하는 낸드형 플래시 메모리, 상기 NAND_CE 핀, 상기 NAND_CLE 핀, 상기 NAND_ALE 핀 및 상기 NAND_R/B 핀에 각각 결합하는 적어도 4개 이상의 GPIO, LCD_CS 핀, 상기 NAND_WE 핀에 결합하는 LCD_WR 핀, 상기 NAND_RE 핀에 결합하는 LCD_RD 핀 및 상기 NAND_D 핀에 결합하는 적어도 하나 이상의 LCD_D 핀을 포함하는 카메라 컨트롤 프로세서 및 상기 카메라 컨트롤 프로세서와 결합하여 상기 낸드형 플래시 메모리에 데이터를 읽고 쓰는 것을 제어하는 베이스밴드 모 뎀을 포함하는 것을 특징으로 하는 낸드형 플래시 메모리의 제어 장치를 제공할 수 있다.In order to achieve the above objects, according to an aspect of the present invention, a NAND flash memory including a NAND_CE pin, a NAND_CLE pin, a NAND_WE pin, a NAND_RE pin, a NAND_ALE pin, a NAND_R / B pin, and at least one NAND_D pin, and the NAND_CE pin. At least four GPIOs coupled to the pin, the NAND_CLE pin, the NAND_ALE pin, and the NAND_R / B pin, LCD_CS pin, LCD_WR pin coupled to the NAND_WE pin, LCD_RD pin coupled to the NAND_RE pin, and the NAND_D pin. And a baseband modem coupled with the camera control processor to control reading and writing of data to the NAND flash memory. A control device can be provided.
바람직한 일 실시예에서, 상기 카메라 컨트롤 프로세서의 LCD_CS 핀, LCD_WR 핀, LCD_RD 및 LCD_D 핀과 각각 결합하는 LCD_CE 핀, LCD_WE 핀, LCD_RE 핀 및 적어도 하나 이상의 LCD_D 핀을 포함하며, 상기 베이스밴드 모뎀의 제어를 받는 LCD를 더 포함하는 것을 특징으로 한다. 또한 상기 LCD_CS 핀, 상기 LCD_WR 핀, 상기 LCD_RD 및 상기 LCD_D 핀은 LCD 바이패스 기능을 수행하는 것을 특징으로 한다. 또한 상기 NAND_CE 핀은 Chip enable 제어신호를, 상기 NAND_CLE 핀은 command latch enable 제어신호를, 상기 NAND_WE 핀은 write enable 제어신호를, NAND_RE 핀은 read enable 제어신호를, NAND_ALE 핀은 address latch enable 제어신호를 각각 수신하며, NAND_R/B 핀은 ready/busy 제어신호를 송신하고, NAND_D 핀은 데이터 입출력 신호를 송수신하는 것을 특징으로 한다. 또한 상기 베이스밴드 모뎀과 상기 카메라 컨트롤 프로세서는 MCS 제어 신호선, MREN 제어 신호선, MWEN 제어 신호선, 어드레스 제어 신호선 및 데이터 신호선을 통해 결합하는 것을 특징으로 한다.In one preferred embodiment, the camera control processor includes LCD_CS pin, LCD_WR pin, LCD_RD pin and LCD_D pin, LCD_WE pin, LCD_RE pin and at least one LCD_D pin, respectively. It further comprises a receiving LCD. Also, the LCD_CS pin, the LCD_WR pin, the LCD_RD, and the LCD_D pin may perform an LCD bypass function. In addition, the NAND_CE pin is a chip enable control signal, the NAND_CLE pin is a command latch enable control signal, the NAND_WE pin is a write enable control signal, the NAND_RE pin is a read enable control signal, the NAND_ALE pin is an address latch enable control signal. The NAND_R / B pins transmit ready / busy control signals, and the NAND_D pins transmit and receive data input / output signals. The baseband modem and the camera control processor may be coupled through an MCS control signal line, an MREN control signal line, an MWEN control signal line, an address control signal line, and a data signal line.
본 발명의 다른 측면에 따르면, NAND_CE 핀, NAND_CLE 핀, NAND_WE 핀, NAND_RE 핀, NAND_ALE 핀, NAND_R/B 핀 및 적어도 하나 이상의 NAND_D 핀을 포함하는 낸드형 플래시 메모리, 상기 NAND_CE 핀, 상기 NAND_CLE 핀 및 상기 NAND_ALE 핀에 각각 결합하는 적어도 3개 이상의 GPIO, LCD_CS 핀, 상기 NAND_WE 핀에 결합하는 LCD_WR 핀, 상기 NAND_RE 핀에 결합하는 LCD_RD 핀 및 상기 NAND_D 핀에 결합하는 적어도 하나 이상의 LCD_D 핀을 포함하는 카메라 컨트롤 프로세서 및 상기 LCD 바이패스와 결합하여 상기 낸드형 플래시 메모리에 데이터를 읽고 쓰는 것을 제어하는 베이스밴드 모뎀을 포함하되, 상기 NAND_R/B 핀은 상기 낸드형 플래시 메모리 내부의 레지스터를 이용하는 것을 특징으로 하는 낸드형 플래시 메모리의 제어 장치를 제공할 수 있다.According to another aspect of the present invention, a NAND flash memory including a NAND_CE pin, a NAND_CLE pin, a NAND_WE pin, a NAND_RE pin, a NAND_ALE pin, a NAND_R / B pin, and at least one NAND_D pin, the NAND_CE pin, the NAND_CLE pin, and the A camera control processor including at least three GPIOs coupled to a NAND_ALE pin, an LCD_CS pin coupled to the NAND_WE pin, an LCD_WR pin coupled to the NAND_WE pin, an LCD_RD pin coupled to the NAND_RE pin, and at least one LCD_D pin coupled to the NAND_D pin And a baseband modem coupled to the LCD bypass to control reading and writing of data to the NAND flash memory, wherein the NAND_R / B pin uses a register inside the NAND flash memory. A control device for a flash memory can be provided.
이어서, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Next, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 3은 본 발명의 바람직한 일 실시예에 따른 바이패스의 기능을 수행하는 카메라 컨트롤 프로세서의 구성도이다.3 is a block diagram of a camera control processor performing a bypass function according to an exemplary embodiment of the present invention.
도 3을 참조하면, 본 발명에 따른 카메라 컨트롤 프로세서(CCP; Camera Control Processor, 303)는 호스트 프로세서(Host Processor, 301)와 결합하기 위한 호스트 인터페이스(305) 및 LCD(309)와 결합하기 위한 LCD 인터페이스(307)를 포함하며, LCD 바이패스 기능을 수행한다. 호스트 프로세서(301)는 MCS 제어신호, MREN 제어신호, MWEN 제어신호, 어드레스(ADDR) 제어신호 및 데이터 신호선을 통해 카메라 컨트롤 프로세서(303)의 호스트 인터페이스(305)에 결합한다. 또한 카메라 컨트롤 프로세서(303)의 LCD 인터페이스(307)는 LCS 제어신호, LREN 제어신호 및 데이터 신호선을 통해 LCD(309)와 결합한다. 여기서 상기 MCS 제어신호 및 LCS 제어신호는 칩 선택을 위한 것이며, MREN 제어신호 및 LREN 제어신호는 데이터를 LCD(309)에 쓰기 위한 것이며, MREN 제어신호 및 LREN 제어신호는 LCD(309)의 데이터를 읽기 위한 것이며, 데이터 신호는 데이터 정보를 주고받기 위한 것이다.Referring to FIG. 3, a camera control processor (CCP) according to the present invention is an LCD for coupling with a
상기 호스트 프로세서(301)에서 LCD(309)에 데이터를 쓰고자 할 때 호스트 프로세서(301)는 카메라 컨트롤 프로세서(303))에 데이터를 쓰지만, 점선에서 표시된 바와 같이 호스트 프로세서(301)는 LCD(309)와 바로 연결되어 있는 것처럼 동작하여 LCD(309)에 데이터를 작성한다. 본 발명은 상기 호스트 프로세서(301)가 베이스밴드 모뎀인 경우 상기 카메라 컨트롤 프로세서(303)에 포함된 여분의 GPIO(General Purpose Input/Output Pin) 포트와 LCD 바이패스 기능에 사용되는 LREN 신호선, LWEN 신호선 및 데이터 신호선을 이용하여 베이스밴드 모뎀에서 낸드형 플래시 메모리를 제어하는 장치에 관한 것이다.When the
도 4는 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시 메모리의 제어 장치의 구성도이다.4 is a block diagram of a control device of a NAND flash memory according to an exemplary embodiment of the present invention.
도 4를 참조하면, 낸드형 플래시 메모리 제어 장치는 베이스밴드(Baseband) 모뎀(401), 카메라 컨트롤 프로세서(CCP; Camera Control Processor, 303), 낸드(NAND)형 플래시 메모리(403) 및 LCD(309)를 포함한다. 상기 카메라 컨트롤 프로세서(303)는 LCD 바이패스 및 낸드형 플래시 메모리(403)의 제어신호 선으로 사용될 여분의 GPIO만이 도시되어 있다.Referring to FIG. 4, the NAND flash memory control apparatus includes a
상기 베이스밴드 모뎀(401)은 기저대역 처리부로 고주파 처리부를 포함한 무선 통신을 위한 집적 회로를 의미하며, 통상의 통화 기능을 수행한다. 또한 베이스밴드 모뎀(401)은 카메라 등의 기능을 수행하기 위하여 촬영된 화상 데이터를 카메라 컨트롤 프로세서(303)를 통해 LCD(309)로 전달하며, 이때 상기 낸드형 플래시 메모리(403)는 화상을 일시 저장하는 기능을 수행한다.The
베이스밴드 모뎀(401)의 CS 핀, WR 핀, RD 핀, A[2..1] 핀 및 D[15..0] 핀은 카메라 컨트롤 프로세서(303)의 MCS 핀, MWEN 핀, MREN 핀, MA[2..1] 핀 및 MD[15..0] 핀과 각각 결합한다. 카메라 컨트롤 프로세서(303)의 LCD_CS 핀, LCD_WR 핀, LCD_RD 핀 및 LCD_D[15..0] 핀은 LCD(309)의 LCD_CE 핀, LCD_WE 핀, LCD_LCD_RE 핀 및 LCD_D[7..0] 핀(또는 LCD_D[15..0])과 각각 결합한다. 또한 카메라 컨트롤 프로세서(303)의 상기 LCD_WR 핀, 상기 LCD_RD 핀 및 상기 LCD_D[15..0] 핀은 낸드형 플래시 메모리(403)의 NAND_WE 핀, NAND_RE 핀 및 NAND_D[7..0] 핀과도 결합한다. 카메라 컨트롤 프로세서(303)의 여분의 GPIO들은 낸드형 플래시 메모리(403)의 NAND_CE 핀, NAND_CLE 핀, NAND_ALE 핀 및 NAND_R/B 핀과 각각 결합한다. 본 발명의 특징은 카메라 컨트롤 프로세서(303)의 상기 LCD_WR 핀, 상기 LCD_RD 핀 및 상기 LCD_D[15..0] 핀을 LCD(309) 뿐만 아니라 낸드형 플래시 메모리(403)와 같이 공유하여 사용하는데 있다.The CS pin, WR pin, RD pin, A [2..1] pin and D [15..0] pin of the
낸드형 플래시 메모리(403)는 NAND_CE 핀, NAND_CLE 핀, NAND_WE 핀, NAND_RE 핀, NAND_ALE 핀, NAND_R/B 핀의 6개의 제어핀과 8개의 데이터 핀(NAND_D[7..0])을 포함한다. 이때 상기 NAND_CE 핀은 CE(Chip enable) 제어신호를, 상기 NAND_CLE 핀은 CLE(command latch enable) 제어신호를, 상기 NAND_WE 핀은 WE(write enable) 제어신호를, NAND_RE 핀은 RE(read enable) 제어신호를, NAND_ALE 핀은 ALE(address latch enable) 제어신호를 각각 수신하며, NAND_R/B 핀은 R/B(ready/busy) 제어신호를 송신하고, NAND_D 핀은 데이터 입출력 신호를 송수 신하는 기능을 수행한다.The
상기 카메라 컨트롤 프로세서(303)는 상기 낸드형 플래시 메모리(403)를 제어하기 위하여 추가로 4개의 GPIO(General Purpose Input/Output Pin) 포트가 필요하다. 이때 상기 4개의 GPIO는 낸드형 플래시 메모리(403)의 NAND_CE 핀, NAND_CLE 핀, NAND_ALE 핀 및 NAND_R/B 핀과 각각 결합한다. 따라서 상기 베이스밴드 모뎀(401)은 낸드형 플래시 메모리(403) 제어를 위한 별도의 포트를 필요로 하지 않는다. 상기 베이스밴드 모뎀(401)에서 상기 낸드형 플래시 메모리(403)에 데이터를 쓰고자 할 때, MWEN 신호와 MD[7..0] 신호를 공유하여 WE(Write Enable) 제어신호 클럭에 맞추어 데이터를 쓰며, 이때 낸드형 플래시 메모리(403)에 필요한 기타 제어신호는 카메라 컨트롤 프로세서(303)의 GPIO를 이용하여 발생한다. 베이스밴드 모뎀(401)에서 낸드형 플래시 메모리(403)의 데이터를 읽고자 할 때, MREN 신호와 MD[7..0] 신호를 공유하여 RE(Read Enable) 제어신호 클럭에 맞추어 데이터를 읽는다.The
한편 상기 NAND_R/B 핀은 상기 카메라 컨트롤 프로세서(303)의 GPIO와 결합하지 아니할 수 있으며, 이때 상기 NAND_R/B 핀은 상기 낸드형 플래시 메모리(403)의 내부 레지스터를 이용할 수 있다. 이렇게 하면 상기 카메라 컨트롤 프로세서(303)에 필요한 GPIO의 개수를 줄일 수 있다. The NAND_R / B pin may not be coupled with the GPIO of the
도 5는 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시에서 데이터를 읽는 과정의 타이밍도이다.5 is a timing diagram of a process of reading data from a NAND flash according to an exemplary embodiment of the present invention.
도 5를 참조하면, 타이밍 신호 중에 CLE, CE, ALE, R/B 신호는 카메라 컨트롤 프로세서(CCP)의 GPIO 포트를 이용하고, 차례로 GPIO1, GPIO2, GPIO3, GPIO4를 사용한다고 가정한다. 타이밍 신호 중에 WE, RE/ I/O 신호는 카메라 컨트롤 프로세서의 LCD 바이패스(Bypass) 신호를 이용한다. 동작 순서를 살펴보면 다음과 같다.Referring to FIG. 5, it is assumed that the CLE, CE, ALE, and R / B signals of the timing signals use the GPIO ports of the camera control processor (CCP), and in turn, GPIO1, GPIO2, GPIO3, and GPIO4. Among the timing signals, the WE and RE / I / O signals use the LCD Bypass signal of the camera control processor. The operation sequence is as follows.
먼저 베이스벤드 모뎀은 카메라 컨트롤 프로세서의 GPIO2 핀을 이용하여 CE(Chip Enable) 신호를 로우(Low)로 하여 낸드형 플래시 칩을 활성화한다(단계 1). 이후 베이스밴드 모뎀은 GPIO1핀을 이용하여 CLE(Command Latch Enable) 신호를 하이(High)로 하여 커맨드 래치를 사용가능하게 한 후(단계 2), LCD 바이패스의 I/O 신호선을 통해 리드 명령 신호(Read Command)를 낸드형 플래시 메모리로 전송한다(단계 3). 이후 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 로우(Low)로 한다(단계 4). 이때 베이스밴드 모뎀은 ALE(Address Latch Enable) 신호를 하이(High)로 하여 어드레스 래치를 사용가능하게 한 후(단계 5), I/O 신호선을 통해 낸드형 플래시 메모리에 어드레스 데이터를 작성한다(단계 6 내지 단계 8). 이후 베이스밴드 모뎀은 ALE(Address Latch Enable) 신호를 로우(Low)로 한 후(단계 9), GPIO4 핀에 연결된 R/B(Read/Busy) 신호가 로우(Low)에서 하이(High)로 될 때까지 기다린다(단계 10). R/B(Read/Busy) 신호가 하이(High)가 되어 준비(Read)가 된 경우 베이스밴드 모뎀은 I/O 신호선을 통해 낸드형 플래시 메모리에 저장된 데이터를 읽는다(단계 11 내지 단계 m). 베이스밴드 모뎀은 데이터를 다 읽은 후 CE(Chip Enable) 신호를 하이(High)로 하여 낸드형 플래시 메모리 칩을 불활성화 시킨다(단계 m+1).First, the basebend modem uses the GPIO2 pin of the camera control processor to activate the NAND flash chip with the chip enable signal low (step 1). The baseband modem then uses the GPIO1 pin to enable the Command Latch Enable (CLE) signal high to enable the command latch (step 2), then through the I / O signal line of the LCD bypass to read the command signal. Transfer (Read Command) to the NAND flash memory (step 3). The baseband modem then uses the GPIO1 pin to pull the Command Latch Enable (CLE) signal low (step 4). At this time, the baseband modem sets the address latch high (ALE) signal to high to enable the address latch (step 5), and then writes address data to the NAND flash memory through the I / O signal line (step 5). 6 to step 8). The baseband modem then sets the Address Latch Enable (ALE) signal to Low (step 9), and the R / B (Read / Busy) signal connected to the GPIO4 pin will go from low to high. Wait for it (step 10). When the read / busy (R / B) signal is high and ready, the baseband modem reads data stored in the NAND flash memory through the I / O signal line (
도 6은 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시에 데이터를 쓰는 과정의 타이밍도이다. 낸드형 플래시 메모리는 여러 개의 블록으로 구성되어 있으며, 한 개의 블록은 다시 여러 개의 페이지로 구성되어 있다. 본 도의 타이밍도는 낸드형 플래시 메모리의 한 페이지에 데이터를 쓰는 타이밍도를 나타낸다.6 is a timing diagram of a process of writing data to a NAND flash according to an exemplary embodiment of the present invention. NAND flash memory is made up of blocks, and one block is made up of pages. The timing diagram of this figure shows a timing diagram which writes data to one page of a NAND flash memory.
도 6을 참조하면, 타이밍 신호 중에 CLE, CE, ALE, R/B 신호는 카메라 컨트롤 프로세서(CCP)의 GPIO 포트를 이용하고, 차례로 GPIO1, GPIO2, GPIO3, GPIO4를 사용한다고 가정한다. 타이밍 신호 중에 WE, RE/ I/O 신호는 카메라 컨트롤 프로세서의 LCD 바이패스(Bypass) 신호를 이용한다. 동작 순서를 살펴보면 다음과 같다.Referring to FIG. 6, it is assumed that CLE, CE, ALE, and R / B signals of the timing signals use the GPIO ports of the camera control processor (CCP), and in turn, GPIO1, GPIO2, GPIO3, and GPIO4. Among the timing signals, the WE and RE / I / O signals use the LCD Bypass signal of the camera control processor. The operation sequence is as follows.
먼저 베이스벤드 모뎀은 카메라 컨트롤 프로세서의 GPIO2 핀을 이용하여 CE(Chip Enable) 신호를 로우(Low)로 하여 낸드형 플래시 칩을 활성화한다(단계 1). 이후 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 하이(High)로 하여 커맨드 래치를 사용가능하게 한 후(단계 2), LCD 바이패스의 I/O 신호선을 통해 쓰기 명령 신호(Sequential Data Input Command)를 낸드형 플래시 메모리로 전송한다(단계 3). 이후 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 로우(Low)로 한다(단계 4). 이후 베이스밴드 모뎀은 GPIO3 핀을 이용하여 ALE(Address Latch Enable) 신호를 하이(High)로 하여 어드레스 래치를 사용가능하게 한 후(단계 5), I/O 신호선을 통해 낸드형 플래시 메모리에 어드레스 데이터를 작성한다(단계 6 내지 단계 8). 이후 베이스밴드 모뎀은 GPIO3 핀을 이용하여 ALE(Address Latch Enable) 신호를 로우(Low)로 한 후(단 계 9), WE 신호 클럭에 맞추어 I/O 신호선을 통해 낸드형 플래시 메모리에 데이터를 작성한다(단계 10 내지 단계 m).First, the basebend modem uses the GPIO2 pin of the camera control processor to activate the NAND flash chip with the chip enable signal low (step 1). The baseband modem then uses the GPIO1 pin to set the command latch enable (CLE) high to enable the command latch (step 2), and then write command signals through the I / O signal line of the LCD bypass. (Sequential Data Input Command) is transferred to the NAND flash memory (step 3). The baseband modem then uses the GPIO1 pin to pull the Command Latch Enable (CLE) signal low (step 4). The baseband modem then uses the GPIO3 pin to turn the address latch enable (ALE) signal high to enable the address latch (step 5), and then the address data to the NAND flash memory via the I / O signal line. (
이후 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 하이(High)로 하여 커맨드 래치를 사용가능하게 한다(단계 m+1). 이후 베이스밴드 모뎀은 LCD 바이패스의 I/O 신호선을 통해 프로그램 명령 신호(Program Command)를 낸드형 플래시 메모리로 전송하고(단계 m+2), GPIO4 핀에 연결된 R/B(Read/Busy) 신호가 로우(Low)에서 하이(High)로 될 때까지 기다린다(단계 m+3). R/B(Read/Busy) 신호가 하이(High)가 되어 준비(Read)가 된 경우 베이스밴드 모뎀은 I/O 신호선을 통해 낸드형 플래시 메모리에 읽기 상태 명령 신호(Read Status Command)를 전송한다(m+4). 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 로우(Low)로 하고(단계 m+5), RE 신호의 클럭에 맞추어 I/O 신호선을 통해 낸드형 플래시 메모리의 상태 레지스터(Status Register) 값을 읽는다(단계 m+6).The baseband modem then uses the GPIO1 pin to bring the command latch enable (CLE) signal high to enable the command latch (step m + 1). The baseband modem then sends the program command to the NAND flash memory via the I / O signal line of the LCD bypass (step m + 2), and read / busy (R / B) signals connected to the GPIO4 pins. Wait until L goes from low to high (step m + 3). When the R / B (Read / Busy) signal is high and ready, the baseband modem transmits a read status command signal to the NAND flash memory through the I / O signal line. (m + 4). The baseband modem uses the GPIO1 pin to bring the CLE (Command Latch Enable) signal low (step m + 5), and the status register of the NAND flash memory through the I / O signal line in accordance with the clock of the RE signal. Read the Status Register value (step m + 6).
도 7은 본 발명의 바람직한 일 실시예에 따른 낸드형 플래시에 데이터를 지우는 과정의 타이밍도이다. 본 도의 타이밍도는 낸드형 플래시 메모리에서 블록 단위로 데이터를 지우는 타이밍도를 나타낸다.7 is a timing diagram of a process of erasing data in a NAND flash according to an exemplary embodiment of the present invention. The timing diagram of this figure shows a timing diagram for erasing data in units of blocks in a NAND flash memory.
도 7을 참조하면, 타이밍 신호 중에 CLE, CE, ALE, R/B 신호는 카메라 컨트롤 프로세서(CCP)의 GPIO 포트를 이용하고, 차례로 GPIO1, GPIO2, GPIO3, GPIO4를 사용한다고 가정한다. 타이밍 신호 중에 WE, RE/ I/O 신호는 카메라 컨트롤 프로세 서의 LCD 바이패스(Bypass) 신호를 이용한다. 동작 순서를 살펴보면 다음과 같다.Referring to FIG. 7, it is assumed that the CLE, CE, ALE, and R / B signals of the timing signals use the GPIO ports of the camera control processor (CCP), and in turn, GPIO1, GPIO2, GPIO3, and GPIO4. Among the timing signals, the WE and RE / I / O signals use the LCD Bypass signal of the camera control processor. The operation sequence is as follows.
먼저 베이스벤드 모뎀은 카메라 컨트롤 프로세서의 GPIO2 핀을 이용하여 CE(Chip Enable) 신호를 로우(Low)로 하여 낸드형 플래시 칩을 활성화한다(단계 1). 이후 베이스밴드 모뎀은 GPIO1핀을 이용하여 CLE(Command Latch Enable) 신호를 하이(High)로 하여 커맨드 래치를 사용가능하게 한 후(단계 2), LCD 바이패스의 I/O 신호선을 통해 자동 블록 지우기 설정을 위한 명령 신호(Auto Block Erase Setup Command)를 낸드형 플래시 메모리로 전송한다(단계 3). 이후 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 로우(Low)로 한다(단계 4). 이후 베이스밴드 모뎀은 GPIO3 핀을 이용하여 ALE(Address Latch Enable) 신호를 하이(High)로 하여 어드레스 래치를 사용가능하게 한 후(단계 5), I/O 신호선을 통해 낸드형 플래시 메모리에 어드레스 데이터를 작성한다(단계 6, 단계 7). 이후, 베이스밴드 모뎀은 GPIO3 핀을 이용하여 ALE(Address Latch Enable) 신호를 로우(Low)로 하고(단계 8), GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 하이(High)로 하여 커맨드 래치를 사용가능하게 한다(단계 9). 이후 베이스밴드 모뎀은 LCD 바이패스의 I/O 신호선을 통해 지우기 명령 신호(Erase Command)를 낸드형 플래시 메모리로 전송한다(단계 10). 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 로우(Low)로 한다(단계 11). 이후 GPIO4 핀에 연결된 R/B(Read/Busy) 신호가 로우(Low)에서 하이(High)로 될 때까지 기다린다(단계 12). R/B(Read/Busy) 신호가 하이(High)가 되어 준비(Read)가 된 경우 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 하이(High)로 하여 커맨드 래치를 사용가능하게 한다(단계 13). 이후 베이스밴드 모뎀은 I/O 신호선을 통해 낸드형 플래시 메모리에 읽기 상태 명령 신호(Read Status Command)를 전송한다(단계 14). 이후 베이스밴드 모뎀은 GPIO1 핀을 이용하여 CLE(Command Latch Enable) 신호를 로우(Low)로 하고(단계 15), RE 신호의 클럭에 맞추어 I/O 신호선을 통해 낸드형 플래시 메모리의 상태 레지스터(Status Register) 값을 읽는다(단계 16).First, the basebend modem uses the GPIO2 pin of the camera control processor to activate the NAND flash chip with the chip enable signal low (step 1). The baseband modem then uses the GPIO1 pin to enable the command latch using the Command Latch Enable (CLE) signal high (step 2), then clears the block automatically through the I / O signal line on the LCD bypass. The command signal for setting (Auto Block Erase Setup Command) is transmitted to the NAND flash memory (step 3). The baseband modem then uses the GPIO1 pin to pull the Command Latch Enable (CLE) signal low (step 4). The baseband modem then uses the GPIO3 pin to turn the address latch enable (ALE) signal high to enable the address latch (step 5), and then the address data to the NAND flash memory via the I / O signal line. (
도 5 내지 도7에서 보는 바와 같이 베이스밴드 모뎀은 CE(Chip Enable) 제어신호, CLE(Command Latch Enable) 제어신호, ALE(Address Latch Enable) 제어신호 및 R/B(Read/Busy) 제어신호를 카메라 컨트롤 프로세서의 GPIO1 핀, GPIO2 핀, GPIO3 핀 및 GPIO4 핀을 통해 낸드형 플래시 메모리와 송수신한다. 또한 베이스밴드 모뎀은 낸드형 플래시 메모리에 데이터를 읽고, 쓰고자 할 때 RE(Read Enable) 제어신호, WE(Write Enable) 제어신호 및 데이터 신호는 카메라 컨트롤 프로세서의 LCD 바이패스를 이용한다.As shown in FIGS. 5 to 7, the baseband modem provides a chip enable (CE) control signal, a command latch enable (CLE) control signal, an address latch enable (ALE) control signal, and a read / busy (R / B) control signal. The GPIO1, GPIO2, GPIO3, and GPIO4 pins of the camera control processor communicate with the NAND flash memory. In addition, the baseband modem uses the LCD bypass of the camera control processor for read enable (RE) control, write enable (WE) control, and data signals to read and write data to and from the NAND flash memory.
본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 사상 내에서 당 분야에서 통상의 지식을 가진 자에 의하여 가능함은 물론이다.The present invention is not limited to the above embodiments, and many variations are possible by those skilled in the art within the spirit of the present invention.
본 발명에 의하면 베이스밴드 모뎀은 카메라 컨트롤 프로세서에 포함된 LCD 바이패스 기능을 이용하여 낸드형 플래시 메모리를 제어하므로 베이스밴드 모뎀에 낸드형 플래시 메모리를 제어하기 위한 별도의 포트를 할당할 필요가 없다.According to the present invention, since the baseband modem controls the NAND flash memory using the LCD bypass function included in the camera control processor, the baseband modem does not need to allocate a separate port for controlling the NAND flash memory.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050087692A KR100676223B1 (en) | 2005-09-21 | 2005-09-21 | Apparatus for controling nand flash memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050087692A KR100676223B1 (en) | 2005-09-21 | 2005-09-21 | Apparatus for controling nand flash memory |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100676223B1 true KR100676223B1 (en) | 2007-01-30 |
Family
ID=38015204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050087692A KR100676223B1 (en) | 2005-09-21 | 2005-09-21 | Apparatus for controling nand flash memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100676223B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040081837A (en) * | 2003-03-17 | 2004-09-23 | (주)사운드 테크 엔터프라이즈 | Analog audio stereo communication system using the bluetooth |
-
2005
- 2005-09-21 KR KR1020050087692A patent/KR100676223B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040081837A (en) * | 2003-03-17 | 2004-09-23 | (주)사운드 테크 엔터프라이즈 | Analog audio stereo communication system using the bluetooth |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100758301B1 (en) | Memory card and method storing data thereof | |
US7730268B2 (en) | Multiprocessor system having an input/output (I/O) bridge circuit for transferring data between volatile and non-volatile memory | |
US7392343B2 (en) | Memory card having a storage cell and method of controlling the same | |
US9122611B2 (en) | Method for giving read commands and reading data, and controller and storage system using the same | |
US6944060B2 (en) | Non-volatile storage device and control method thereof | |
JP2003085034A (en) | Nonvolatile storage and data storing method | |
US11630791B2 (en) | Data storage system and method for multiple communication protocols and memory access | |
KR20070110264A (en) | Data relocation in a memory system | |
KR20060126764A (en) | Card and host apparatus | |
US7831755B2 (en) | Method and system for interfacing a plurality of memory devices using an MMC/SD protocol | |
KR100707308B1 (en) | Flash memory device with mmc interface and memory system including the same | |
KR101149887B1 (en) | Multi-channel memory card and control method thereof | |
KR100676223B1 (en) | Apparatus for controling nand flash memory | |
KR100736902B1 (en) | Method and apparatus for sharing memory by a plurality of processors | |
KR100761374B1 (en) | Method and Apparatus for controlling flash memory | |
CN114141291A (en) | Memory, memory control method and system | |
KR100852923B1 (en) | Semiconductor memory | |
CN115808964A (en) | Memory, memory control method and system | |
US8166228B2 (en) | Non-volatile memory system and method for reading and storing sub-data during partially overlapping periods | |
US20080013375A1 (en) | Memory system | |
KR101175250B1 (en) | NAND Flash Memory device and controller thereof, Write operation method | |
JP2007066101A (en) | Memory controller, nonvolatile storage device, and nonvolatile storage system | |
KR20030000017A (en) | Apparatus and Method for controlling flash memories | |
KR100700040B1 (en) | Device having shared memory and method for providing access status information by shared memory | |
JP2003178280A (en) | Memory card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130111 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20131227 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20171221 Year of fee payment: 12 |
|
FPAY | Annual fee payment |
Payment date: 20181226 Year of fee payment: 13 |
|
FPAY | Annual fee payment |
Payment date: 20191223 Year of fee payment: 14 |