KR100860682B1 - Apparatus and method for interfacing between modem and memory in mobile station - Google Patents
Apparatus and method for interfacing between modem and memory in mobile station Download PDFInfo
- Publication number
- KR100860682B1 KR100860682B1 KR1020020033697A KR20020033697A KR100860682B1 KR 100860682 B1 KR100860682 B1 KR 100860682B1 KR 1020020033697 A KR1020020033697 A KR 1020020033697A KR 20020033697 A KR20020033697 A KR 20020033697A KR 100860682 B1 KR100860682 B1 KR 100860682B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- flash memory
- modem
- memory
- exclusive
- 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
-
- 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/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Read Only Memory (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
본 발명은 이동 단말기의 내부 데이터 처리 장치 및 방법에 관한 것으로, 종래 내부 데이터를 저장하기 위한 메모리로 배타적 논리합 플래시 메모리를 사용하던 것을 배타적 논리곱 플래시 메모리로 구현하고 모뎀과 상기 배타적 논리곱 플래시 메모리간의 데이터를 인터페이스 하는 장치 및 방법을 제공한다.
모뎀, 배타적 논리곱 플래시 메모리, 인터페이스
The present invention relates to an internal data processing apparatus and method of a mobile terminal, and implements an exclusive logical OR flash memory using an exclusive logical OR flash memory as a memory for storing internal internal data and between a modem and the exclusive logical OR flash memory. An apparatus and method for interfacing data are provided.
Modem, Exclusive AND Flash Memory, Interface
Description
도 1은 종래 이동 단말기에서 모뎀과 메모리간의 인터페이스장치를 보이고 있는 도면,1 is a view showing an interface device between a modem and a memory in a conventional mobile terminal,
도 2는 본 발명의 실시 예에 따른 이동 단말기에서 모뎀과 메모리간의 인터페이스장치를 보이고 있는 도면,2 is a view showing an interface device between a modem and a memory in a mobile terminal according to an embodiment of the present invention;
도 3은 도 2에서 보이고 있는 메모리 제어부의 상세 구성을 보이고 있는 도면,3 is a diagram illustrating a detailed configuration of a memory controller shown in FIG. 2;
도 4는 본 발명의 실시 예에 따른 이동 단말기의 모뎀으로부터 메모리로 데이터를 기록하기 위한 제어 흐름을 보이고 있는 도면,4 is a diagram illustrating a control flow for recording data from a modem of a mobile terminal to a memory according to an embodiment of the present invention;
도 5는 본 발명의 실시 예에 따른 이동 단말기의 모뎀이 메모리로부터 데이터를 독출하기 위한 제어 흐름을 보이고 있는 도면,5 is a diagram illustrating a control flow for a modem of a mobile terminal to read data from a memory according to an embodiment of the present invention;
도 6은 상기 도 3에 도시된 컴비네이션 로직 중 일부의 구성을 도시한 도면,6 is a diagram illustrating a configuration of some of the combination logic illustrated in FIG. 3;
도 7은 본 발명에 따른 컴비네이션 로직이 상기 도 6과 같이 구성되는 경우 각 신호의 타이밍도,7 is a timing diagram of each signal when the combination logic according to the present invention is configured as shown in FIG. 6;
도 8은 본 발명의 다른 실시 예에 따른 컴비네이션 로직의 상세 회로 구성 도,8 is a detailed circuit diagram of a combination logic according to another embodiment of the present invention;
도 9는본 발명의 제2실시 예에 따른 컴비네이션 로직을 가지는 경우 에러 정정 코드 생성부로 입력되는 신호의 타이밍도.
9 is a timing diagram of a signal input to an error correction code generator when having combination logic according to a second embodiment of the present invention;
본 발명은 이동 단말기의 내부 데이터를 처리하는 장치 및 방법에 관한 것으로, 특히, 모뎀과 메모리간의 데이터를 인터페이싱하기 위한 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for processing internal data of a mobile terminal, and more particularly, to an apparatus and method for interfacing data between a modem and a memory.
이동 단말기는 초기에 음성 통화만을 서비스하였으나 소비자들의 요구와 통신 산업의 발달로 인해 데이터 서비스를 포함하는 다양한 서비스들이 지원되고 있는 추세이다. 그 대표적인 예들로서 문자 서비스, 그래픽 서비스, 전자 메일 서비스, 음성 메일 서비스, 네비게이션 서비스, 동화상 서비스 등을 들 수 있다.Mobile terminals initially serviced only voice calls, but various services including data services are being supported due to consumer demands and the development of the communication industry. Representative examples thereof include a text service, a graphic service, an electronic mail service, a voice mail service, a navigation service, a moving picture service, and the like.
한편, 상기 이동 단말기는 무선망을 통해 수신되는 각종 데이터와 상기 무선망으로 송신되는 각종 데이터를 처리하는 모뎀을 구비하게 된다. 상기 모뎀은 통상적으로 칩의 형태로 구현되는데, 상기 모뎀 칩은 이동 단말기를 구동시키기 위한 핵심 칩이라 할 것이다. 또한, 상기 이동 단말기는 전술한 바와 같은 서비스를 위한 데이터와 상기 이동 단말기의 동작을 위한 각종 정보들을 저장하는 메모리를 구비한다. 따라서, 상기 이동 단말기는 상기 전술한 바와 같은 서비스를 수행하기 위 해서는 상기 모뎀과 상기 메모리간의 데이터를 인터페이싱하기 위한 장치가 요구된다.On the other hand, the mobile terminal is provided with a modem for processing various data received through the wireless network and various data transmitted to the wireless network. The modem is typically implemented in the form of a chip, which will be referred to as a core chip for driving a mobile terminal. In addition, the mobile terminal includes a memory for storing data for a service as described above and a variety of information for the operation of the mobile terminal. Accordingly, the mobile terminal requires an apparatus for interfacing data between the modem and the memory in order to perform the service as described above.
종래 이동 단말기는 각종 응용 프로그램(Application Program), 운용 코드(OS Code) 등의 데이터를 저장하는 상기 메모리로서 배타적 논리합 게이트 플래시 메모리(NOR Flash Memory)를 사용하였다.In the related art, a mobile terminal uses an exclusive OR gate flash memory as the memory for storing data such as various application programs and operating codes.
상기 NOR 플래시 메모리를 사용하는 이동 단말기에서 모뎀과 메모리간의 데이터를 인터페이싱하는 구성은 도 1에서 보이고 있는 바와 같다.The configuration of interfacing data between the modem and the memory in the mobile terminal using the NOR flash memory is shown in FIG. 1.
상기 도 1에서 보여지고 있는 바와 같이 모뎀(110)과 NOR 플래시 메모리(112)간의 데이터를 인터페이싱하기 위해 칩 선택신호(Chip Select, 이하 "ROM_CSB"라 칭함), 독출 인에이블 신호(Read Enable, 이하 "RDB"라 칭함), 기록 인에이블 신호(Write Enable, 이하 "WRB"라 칭함), 어드레스 신호(Address Signal, 이하 "A'"라 칭함) 및 데이터 신호(Data Signal, 이하 "D"라 칭함)를 사용한다. 한편, 모뎀(110)과 작업 메모리(114)간의 데이터를 인터페이싱하기 위해서는 전술한 신호들과 함께 칩 선택신호(Chip Select)로서 "RAM_CSB"를 사용한다.As shown in FIG. 1, in order to interface data between the
상기 도 1을 참조하면, 모뎀(110)은 무선망을 통해 수신되는 데이터를 처리하거나 상기 무선망으로 전송하고자 하는 데이터를 처리한다. 한편, 상기 모뎀(110)은 상기 무선망을 통한 데이터의 송/수신으로 인해 새로이 저장할 데이터가 발생하는 경우에는 이를 NOR 플래시 메모리(112)로 저장한다. 한편, 상기 모뎀(110)은 상기 무선망으로 전송하기 위해 요구되는 데이터를 상기 NOR 플래시 메모리(112)로부터 독출한다. 또한, 이동 단말기의 전원이 켜지면 상기 모뎀(110)은 초기 설정에 필요한 기본 코드(예 : Boot Code, Vector Table, Load Code 등)를 상기 NOR 플래시 메모리(112)를 통해 억세스 한다. 상기 NOR 플래시 메모리(112)는 이동 단말기에서 요구되는 각종 응용 프로그램과 운용 코드 등의 데이터를 저장한다. 작업 메모리(114)는 상기 모뎀(110)이 소정 데이터를 처리하거나 특정 서비스를 제공하기 위해 요구되는 응용 프로그램 등을 임시 저장하고, 필요시 억세스가 가능한 메모리이다. 상기 작업 메모리(114)는 SRAM을 사용할 수 있다. 예컨대, 상기 이동 단말기의 초기 설정이 끝나면, 상기 모뎀(110)은 운용 코드(OS code)와 호 처리 소프트웨어(Call S/W)를 상기 NOR 플래시 메모리(112)에서 읽어서 상기 작업 메모리(114)로 복사한다. 이 후 상기 모뎀(110)은 작업 메모리(114)를 억세스 하여 구동한다. 상기 모뎀(110)이 상기 NOR 플래시 메모리(112)에서 상기 작업 메모리(114)로 데이터를 복사하는 이유는 상기 작업 메모리(114)로 사용되는 SRAM의 억세스 타임(Access Time)이 짧아 필요한 데이터를 빠르게 억세스할 수 있기 때문이다. 또, 상기 모뎀(110)은 각종 응용 데이터(Application data)는 직접 상기 NOR 플래시 메모리(112)에서 읽거나 쓸 수 있다. 하지만, 필요에 따라 상기 작업 메모리(114)로 복사하여 억세스할 수도 있다.Referring to FIG. 1, the
상기 모뎀(110)은 상기 NOR 플래시 메모리(112)로 데이터를 기록하기 위해서는 ROM_CSB에 의해 NOR 플래시 메모리(112)를 인에이블 시키고, WRB가 인에이블되는 주기 동안 어드레스 신호 A에 의해 소정 어드레스를 지정함과 동시에 데이터 신호 D로 기록할 소정 데이터를 상기 NOR 플래시 메모리(112)로 제공한다. 상기 NOR 플래시 메모리(112)는 상기 모뎀(110)으로부터의 상기 ROM_CSB에 의해 인에이블되 고, 상기 WRB가 인에이블되는 주기 동안 어드레스 신호 A와 데이터 신호 D를 수신하면 상기 어드레스 신호 A에 의해 지정되는 메모리 영역에 상기 데이터 신호 D에 따른 데이터를 저장한다.The
한편, 상기 모뎀(110)은 상기 NOR 플래시 메모리(112)로부터 데이터를 독출하기 위해서는 상기 ROM_CSB에 의해 상기 NOR 플래시 메모리(112)를 인에이블 시키고, RDB가 인에이블되는 주기 동안 어드레스 신호 A에 의해 상기 NOR 플래시 메모리(112)로부터 데이터 신호 D를 제공받는다. 상기 NOR 플래시 메모리(112)는 상기 모뎀(110)으로부터의 상기 ROM_CSB에 의해 인에이블되고, 상기 RDB가 인에이블되는 주기 동안 상기 모뎀(110)으로부터 제공되는 어드레스 신호 A에 의해 지정되는 메모리 영역으로부터 데이터를 독출하여 상기 데이터 신호 D로 상기 모뎀(110)에게 전송한다.On the other hand, the
상기 모뎀(110)은 작업 메모리(114)로 데이터를 기록하기 위해서는 RAM_CSB에 의해 작업 메모리(114)를 인에이블 시키고, 상기 WRB가 인에이블되는 주기 동안 상기 어드레스 신호 A에 의해 소정 어드레스를 지정함과 동시에 상기 데이터 신호 D로 기록할 소정 데이터를 상기 작업 메모리(114)로 제공한다. 상기 작업 메모리(114)는 상기 모뎀(110)으로부터의 상기 RAM_CSB에 의해 인에이블되고, 상기 WRB가 인에이블되는 주기 동안 어드레스 신호 A와 데이터 신호 D를 수신하면 상기 어드레스 신호 A에 의해 지정되는 메모리 영역에 상기 데이터 신호 D에 따른 데이터를 저장한다.The
한편, 상기 모뎀(110)은 상기 작업 메모리(114)로부터 데이터를 독출하기 위 해서는 상기 RAM_CSB에 의해 상기 작업 메모리(114)를 인에이블 시키고, RDB가 인에이블되는 주기 동안 어드레스 신호 A에 의해 상기 작업 메모리(114)로부터 데이터 신호 D를 제공받는다. 상기 작업 메모리(114)는 상기 모뎀(110)으로부터의 상기 RAM_CSB에 의해 인에이블되고, 상기 RDB가 인에이블되는 주기 동안 상기 모뎀(110)으로부터 제공되는 어드레스 신호 A에 의해 지정되는 메모리 영역으로부터 데이터를 독출하여 상기 데이터 신호 D로 상기 모뎀(110)에게 전송한다.On the other hand, the
현재 이동 단말기로부터 제공되는 각종 서비스를 위한 메모리의 크기로는 16M/32Mbit로도 가능하다. 그러나, 앞에서도 밝힌 바와 같이 통신 시장의 성장과 더불어 이동 단말기 서비스의 다양화, 고 기능화, 고 용량화로 인한 데이터 파일(Data File)의 크기가 증가하는 향후의 통신시장(일 예로서 "IMT-2000 서비스")에서 요구되는 메모리 크기는 64M/128MBit뿐 아니라 그 이상의 크기를 가지는 메모리가 필요하다.The size of the memory for various services currently provided by the mobile terminal is also available in 16M / 32Mbit. However, as mentioned earlier, the future communication market (eg, "IMT-2000"), in which the size of the data file increases due to the growth of the communication market and the diversification, high functionality, and high capacity of mobile terminal services. Service ") requires 64M / 128MBit of memory as well as more memory.
하지만, 종래 이동 단말기에 주로 사용되었던 NOR 플래시 메모리는 구조상 64Mbit급 이상의 제품을 일정 수준의 낮은 가격으로 공급하는 것은 메모리 요구 속도를 기준으로 할 시 불가능하다. 또한, 폭발적인 NOR 플래시 메모리의 수요로 인하여 NOR 플래시 메모리 생산을 위한 부품 확보에 어려움이 가중되고 있는 것이 현실이다. 이러한 문제를 해결하기 위해 낮은 가격의 실현이 가능한 배타적 논리곱 게이트 플래시 메모리(NAND Flash Memory)의 사용이 향후 이동 단말기내 메모리 구성의 추세가 될 것이다.However, in the NOR flash memory used in the conventional mobile terminal, it is impossible to supply 64 Mbit or more products at a low level due to the structure. In addition, due to the explosive demand for NOR flash memory, it is difficult to secure parts for NOR flash memory production. In order to solve this problem, the use of exclusive AND gate flash memory (NAND Flash Memory), which can be realized at a low price, will become a trend of memory configuration in a mobile terminal in the future.
한편, 현재 동급 용량에서 NOR 플래시 메모리와 NAND 플래시 메모리를 비교 해 볼 때 메가 바이트(Mega Byte)당 NOR 플래시 메모리는 3.56달러이며, NAND 플래시 메모리는 0.83달러 수준이다. 그리고 2002년에는 NOR 플래시 메모리는 3.06달러, NAND 플래시 메모리는 0.6달러로 예상하고 있다.On the other hand, NOR flash memory per megabyte is $ 3.56 and NAND flash memory is $ 0.83 when compared to NOR flash memory and NAND flash memory at the same capacity. In 2002, NOR flash memory is expected to be $ 3.06 and NAND flash memory is $ 0.60.
또한, 현재 밀도(Density)면에서 비교하여 볼 때 NOR 플래시 메모리 64Mbit에 해당하는 NAND 플래시 메모리의 밀도(Density)는 512Mbit이다. 그리고 2002년에는 NOR 플래시 메모리 128Mbit에 해당하는 NAND 플래시 메모리의 밀도는 1024Mbit로 예상되고 있다.In addition, in comparison with the current density (Density), the density of the NAND flash memory corresponding to 64 Mbit of the NOR flash memory is 512 Mbit. In 2002, the density of NAND flash memory corresponding to 128 Mbit of NOR flash memory is expected to be 1024 Mbit.
즉, NOR 플래시 메모리는 NAND 플래시 메모리와 비교하여 볼 때 비용 측면이나 밀도 측면에서 떨어짐을 알 수 있다. 이러한 현실과 예상으로 볼 때 이동통신 장비 내에서 NOR 플래시 메모리의 사용은 한계에 이르렀다.
In other words, it can be seen that NOR flash memory is inferior in cost or density compared to NAND flash memory. In view of these realities and expectations, the use of NOR flash memory in mobile communication equipment has reached its limit.
따라서 상기한 바와 같은 문제점들을 해결하기 위한 본 발명은 메모리로 배타적 논리곱 게이트 플래시 메모리를 사용하는 이동 단말기를 제공함에 있다.Accordingly, an aspect of the present invention is to provide a mobile terminal using an exclusive AND gate flash memory as a memory.
본 발명은 이동 단말기의 모뎀과 논리곱 게이트 플래시 메모리간의 데이터를 인터패이싱하는 인터페이스 장치 및 방법을 제공함에 있다.The present invention provides an interface device and method for interfacing data between a modem and an AND gate flash memory of a mobile terminal.
상기한 바와 같은 목적을 달성하기 위한 제1견지에 있어 본 발명은 소정 데이터들을 저장하는 배타적 논리곱 플래시 메모리와, 상기 배타적 논리곱 플래시 메모리에 기록하기 위한 소정 데이터를 처리하는 모뎀간의 데이터를 인터페이스 하는 장치에 있어서, 상기 배타적 논리곱 플래쉬 메모리의 용량보다 작은 용량을 가지며, 상기 배타적 논리곱 플래쉬 메모리에 저장된 정보 중 일부분 정보를 복사하고, 상기 배타적 논리곱 플래쉬 메모리의 제1어드레스와 다른 제2어드레스를 저장하는 작업 메모리와, 상기 배타적 논리곱 플래쉬 메모리에 저장된 정보 중 일부분 정보를 상기 작업 메모리로 복사하기 위해 요구된 기본 데이터를 가지는 프로그램 가능 메모리와, 상기 프로그램 가능 메모리와 접속되고, 상기 작업 메모리에 저장된 상기 일부분 정보를 상기 다른 제2어드레스를 가지고 랜덤하게 독출하도록 제어하는 제어기를 포함함을 특징으로 한다.In a first aspect for achieving the above object, the present invention provides an interface between an exclusive logical AND flash memory for storing predetermined data and a modem for processing predetermined data for writing to the exclusive logical OR flash memory. An apparatus, comprising: a portion having a smaller capacity than the exclusive AND flash memory, copying some of the information stored in the exclusive AND flash memory, and copying a second address different from the first address of the exclusive AND flash memory. A programmable memory having a working memory to store, basic data required for copying partial information of the information stored in the exclusive AND flash memory into the working memory, and connected to the programmable memory and stored in the working memory; The above partial information It characterized in that it comprises a controller for controlling to read out at random with a group different from the first address.
상기한 바와 같은 목적을 달성하기 위한 제2견지에 있어 본 발명은 소정 데이터들을 저장하는 배타적 논리곱 플래시 메모리와, 상기 배타적 논리곱 플래시 메모리에 기록하기 위한 소정 데이터를 처리하는 모뎀간의 데이터를 인터페이스 하는 장치에 있어서, 칩 선택신호와 기록 명령이 인에이블 될 시 상기 배타적 논리곱 플래시 메모리에 기록된 에러 정정 코드 및 상기 모뎀으로부터 수신된 데이터를 제어하는 메모리 제어부와, 상기 모뎀에 의해 활성화되고, 상기 이동 단말기로 초기 전원이 공급될 시 상기 모뎀으로부터 독출 명령의 수신으로 초기화에 요구되는 기본 코드를 출력하는 마스크 롬과, 상기 메모리 제어부로부터의 제어에 의해 활성화되고, 상기 모뎀으로부터의 소정 데이터에 대응한 에러 정정 코드를 생성하여 상기 메모리 제어부를 통해 상기 모뎀으로 제공하는 에러 정정 코드 생성부를 포함함을 특징으로 한다.In a second aspect for achieving the above object, the present invention provides a method for interfacing data between an exclusive-OR flash memory for storing predetermined data and a modem for processing predetermined data for writing to the exclusive-OR flash memory. An apparatus, comprising: a memory controller for controlling an error correction code written to the exclusive AND flash memory and data received from the modem when a chip select signal and a write command are enabled, and activated by the modem; A mask ROM outputting a basic code required for initialization upon receipt of a read command from the modem when initial power is supplied to the terminal, and an error corresponding to predetermined data from the modem, activated by control from the memory controller. Generate a correction code to It is characterized in that it comprises a generator providing an error correction code to the modem.
상기한 바와 같은 목적을 달성하기 위한 제3견지에 있어 본 발명은 소정 데이터들을 저장하는 배타적 논리곱 플래시 메모리와, 상기 배타적 논리곱 플래시 메모리에 기록된 소정 데이터를 처리하는 모뎀을 구비하는 이동 단말기에서 상기 배타적 논리곱 플래시 메모리와 상기 모뎀간의 데이터를 인터페이스 하는 방법에 있어서, 상기 모뎀에 의해 제1칩 선택신호와 기록 명령이 인에이블될 시 상기 배타적 논리곱 플래시 메모리의 활성화를 위한 제2칩 선택신호와 명령 래치 인에이블 신호를 인에이블 시켜 기록 명령을 상기 배타적 논리곱 플래시 메모리로 전송하는 과정과, 상기 명령 래치 인에이블 신호를 디세이블 시키고, 어드레스 래치 인에이블 신호를 인에이블 시켜 기록 어드레스를 전송하며, 상기 배타적 논리곱 플래시 메모리에 상기 모뎀으로부터 소정 데이터를 기록하는 과정과, 상기 제2칩 선택신호를 디세이블 시키는 과정을 포함함을 특징으로 한다.
상기한 바와 같은 목적을 달성하기 위한 제4견지에 있어 본 발명은 소정 데이터들을 저장하는 배타적 논리곱 플래시 메모리와, 상기 배타적 논리곱 플래시 메모리로부터 기록한 소정 데이터를 처리하는 모뎀과 상기 배타적 논리곱 플래시 메모리로부터 기록한 상기 소정 데이터에 대응한 에러 정정 코드를 생성하는 에러 정정 코드 생성부를 구비하는 이동 단말기에서 상기 배타적 논리곱 플래시 메모리와 상기 모뎀간의 데이터를 인터페이스 하는 방법에 있어서, 상기 모뎀에 의해 제1칩 선택신호와 독출 명령이 인에이블될 시 상기 배타적 논리곱 플래시 메모리의 활성화를 위한 제2칩 선택신호와 명령 래치 인에이블 신호를 인에이블 시켜 독출 명령을 상기 배타적 논리곱 플래시 메모리로 전송하는 과정과, 상기 명령 래치 인에이블 신호를 디세이블 시키고, 어드레스 래치 인에이블 신호를 인에이블 시켜 독출 어드레스를 상기 배타적 논리곱 플래시 메모리로 전송하며, 상기 해당 데이터의 에러 정정 코드와 독출 어드레스로 데이터를 독출하는 과정과, 상기 어드레스 래치 인에이블 신호와 제3칩 선택신호를 디세이블시켜 상기 에러 정정 코드 생성부로부터 상기 데이터에 대응한 에러 정정 코드를 생성하는 과정과, 상기 생성된 에러 정정 코드와 독출 에러 정정 코드를 비교하여 상기 독출 데이터의 에러 발생 여부를 판단하는 과정과, 상기 에러가 발생하였다고 판단될 시 상기 독출 데이터에 대해 에러 정정을 수행하는 과정을 포함함을 특징으로 한다.In a third aspect to achieve the above object, the present invention provides a mobile terminal comprising an exclusive logical product flash memory for storing predetermined data and a modem for processing predetermined data recorded in the exclusive logical product flash memory. A method of interfacing data between the exclusive logical AND flash memory and the modem, the method comprising: a second chip selection signal for activating the exclusive logical AND flash memory when the first chip select signal and the write command are enabled by the modem; And enabling the command latch enable signal to transmit a write command to the exclusive AND flash memory, disabling the command latch enable signal, and enabling the address latch enable signal to transmit a write address. To the modem in the exclusive AND flash memory. The process of recording the predetermined data and the emitter, the second chip select signal, characterized in that it comprises the step of disabling.
In a fourth aspect for achieving the above object, the present invention provides an exclusive AND memory flash memory for storing predetermined data, a modem for processing predetermined data recorded from the exclusive AND memory flash memory, and the exclusive AND memory flash memory. A method for interfacing data between the exclusive logical product flash memory and the modem in a mobile terminal including an error correction code generator for generating an error correction code corresponding to the predetermined data recorded by the first chip, the first chip being selected by the modem. When the signal and the read command are enabled, enabling a second chip select signal and an instruction latch enable signal for activating the exclusive AND flash memory, and transmitting a read command to the exclusive AND flash memory; Disable the Command Latch Enable Signal And enabling an address latch enable signal to transmit a read address to the exclusive logical product flash memory, and to read data with an error correction code and a read address of the corresponding data, and the address latch enable signal. Disabling a third chip selection signal to generate an error correction code corresponding to the data from the error correction code generator; and comparing the generated error correction code with a read error correction code to generate an error of the read data. And determining whether or not an error has occurred and performing error correction on the read data.
상기한 바와 같은 목적을 달성하기 위한 제5견지에 있어 본 발명은 소정 데이터들을 저장하는 배타적 논리곱 플래시 메모리와, 상기 배타적 논리곱 플래시 메모리로부터 초기화하기 위한 기본 데이터를 가지는 프로그램 가능 메모리와, 상기 배타적 논리곱 플래시 메모리로부터 다른 어드레스를 가지는 작업 메모리와, 상기 배타적 논리곱 플래시 메모리로부터 독출한 소정 데이터를 처리하는 모뎀을 구비하는 이동 단말기에서 상기 배타적 논리곱 플래시 메모리와 상기 모뎀간의 데이터를 인터페이스 하는 방법에 있어서, 상기 프로그램 가능 메모리로부터 기본 데이터의 기초하여 모뎀을 초기화하는 과정과, 상기 기본 데이터의 기초하여 상기 배타적 논리곱 플래시 메모리로부터 데이터를 독출하며, 상기 작업 메모리에 독출한 데이터를 기록하는 과정을 포함함을 특징으로 한다.In a fifth aspect for achieving the above object, the present invention provides an exclusive AND memory flash memory for storing predetermined data, a programmable memory having basic data for initializing from the exclusive AND product, and the exclusive data. A method of interfacing data between an exclusive logical AND flash memory and a modem in a mobile terminal having a working memory having a different address from the logical AND flash memory and a modem for processing predetermined data read from the exclusive logical AND flash memory. And initializing a modem based on basic data from the programmable memory, reading data from the exclusive logical product flash memory based on the basic data, and writing the read data to the working memory. A it characterized in that it comprises.
이하 본 발명의 실시 예를 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
우선 본 발명의 실시 예에서 NOR 플래시 메모리를 NAND 플래시 메모리로 대체하여 사용하기 위해서는 몇 가지의 구성이 추가되어야 한다.First, in order to replace and use the NOR flash memory with the NAND flash memory in the embodiment of the present invention, several configurations must be added.
첫 번째로, 이동 단말기의 초기 전원이 공급되는 경우 모뎀은 초기 설정을 위해 기본 코드(벡터 테이블, 부트 코드, 로드 코드)의 랜덤 억세스가 가능하여야 한다. 종래 NOR 플래시 메모리의 경우는 랜덤 억세스가 가능하여 상기 기본 코드가 상기 NOR 플래시 메모리에 저장되어 있어도 무관하다. 하지만, 본 발명의 실시 예에 따른 NAND 플래시 메모리는 랜덤 억세스가 불가능하여 상기 기본 코드의 랜덤 억세스가 가능한 별도의 구성이 요구된다.First, when the initial power of the mobile terminal is supplied, the modem should be able to randomly access the basic code (vector table, boot code, load code) for initial setting. In the conventional NOR flash memory, random access is possible, and the basic code may be stored in the NOR flash memory. However, since the NAND flash memory according to the embodiment of the present invention cannot be randomly accessed, a separate configuration capable of random access of the basic code is required.
두 번째로, 모뎀이 NAND 플래시 메모리를 억세스할 수 있도록 상기 모뎀으로부터의 명령에 따라 상기 NAND 플래시 메모리를 제어하고, 상기 NAND 플래시 메모리의 제어 상태를 상기 모뎀으로 알려주는 역할을 하는 별도의 구성이 요구된다.Secondly, a separate configuration is required to control the NAND flash memory according to a command from the modem so that a modem can access the NAND flash memory and inform the modem of the control state of the NAND flash memory. do.
삭제delete
전술한 바를 감안한 본 발명의 실시 예에 따른 이동 단말기에서 모뎀과 메모리간의 인터페이스장치를 도 2에서 보이고 있는 도면이다. 우선, 상기 도 2에서도 보여지고 있는 바와 같이 본 발명의 실시 예에 따른 구성은 크게 모뎀(210), 메모리부(230) 및 상기 모뎀(210)과 상기 메모리부(230)간의 데이터를 인터페이스하기 위한 인터페이스부(220)로 구분된다.2 is a diagram illustrating an interface device between a modem and a memory in a mobile terminal according to an exemplary embodiment of the present invention. First, as shown in FIG. 2, a configuration according to an exemplary embodiment of the present invention is largely used to interface data between the
상기 도 2를 참조하면, 상기 인터페이스부(220)는 메모리 제어부(NAND Flash Control Block, 이하 "NFC부"라 칭함)(222), 마스크 롬(MASK ROM)(224), 에러 정정 코드 생성부(Error Correction Code Block, 이하 "ECC부"라 칭함)(226)로 구성한다. 상기 마스크 롬(MASK ROM)(224)은 상기 모뎀(210)에 의한 랜덤 억세스가 가능하다. 따라서, 상기 마스크 롬(224)은 초기 동작을 위해 요구되는 기본 데이터(벡터 테이블, 부트 코드, 로드 코드)를 저장하고, 상기 모뎀(210)에 의해 상기 기본 데이터들이 랜덤 억세스되도록 한다. 상기 초기 동작을 위해 요구되는 기본 데이터인 벡터 테이블, 부트 코드, 로드 코드 등은 복사 프로그램으로 낸드 플래쉬 메모리(232)에서 필요한 데이터를 작업 메모리로 복사하기 위한 프로그램 데이터가 된다.Referring to FIG. 2, the
상기 ECC부(226)는 상기 모뎀(210)과 상기 메모리부(230)간에 전송되는 데이터를 입력하고, 상기 입력 데이터에 대한 패리티 코드(ECCDATAL[7:0], ECCDATAH[7:0], ECCDATAX[7;0])를 생성한다. 따라서, 상기 패러티 코드를 상기 모뎀(210)으로 제공함으로서 해당 데이터에 대한 비트 에러 검사 및 정정이 수행되도록 한다. 즉, 상기 마스크 롬(224)은 상기 모뎀(210)으로부터의 인에이블 신호(ROM1_CSB)에 의해 인에이블되고, 상기 모뎀(210)으로부터의 소정 어드레스 신호(A[13:1])에 의해 독출한 해당 데이터(D[15:0])를 상기 모뎀(210)으로 출력한다. 상기 NFC부(222)는 상기 모뎀(210)이 상기 메모리부(230)로 데이터를 기록하거나 상기 메모리부(230)로부터의 데이터를 독출할 수 있도록 상기 메모리부(230)를 제어하는 기능을 수행한다. 즉, 상기 NFC부(220)는 상기 모뎀(210)으로부터의 명령(ROM2_CSB, GP_CSB, WRB, RDB)을 입력으로 하고, 상기 입력 명령에 의해 상기 메모리부(230)를 제어(NFROM_CSB, CLE, ALE, NAND_WRB, NAND_RDB)함으로서 상기 모뎀(210)이 요구하는 동작이 이루어지도록 한다. 한편, 상기 NFC부(220)는 상기 메모리부(230)의 현재 제어 상태를 검사하여 상기 모뎀(210)으로 알려 주는 기능을 포함한다. 한편, 상기 NFC부(222)는 상기 ECC부(226)로부터 생성된 패러티 코드를 상기 모뎀(210)이 읽을 수 있을 수 있도록 상기 패러티 코드를 인터페이싱한다.
The
상기 메모리부(230)는 NAND 플래시 메모리(232)와 작업 메모리(234)로 구성한다. 상기 NAND 플래시 메모리(232)는 상기 메모리 제어부(222)로부터의 제어에 의해 해당 데이터를 기록하건 독출한다. 상기 작업 메모리(234)는 상기 모뎀(210)으로부터 제공되는 데이터를 임시 저장함으로서 상기 모뎀(210)으로부터 빠른 데이터 억세스가 가능하도록 한다.The
다음으로 상기 도 2에서 인터페이스부(220)를 기준으로 하여 보여지고 있는 신호들을 정의한다.Next, in FIG. 2, the signals shown based on the
먼저, 상기 인터페이스부(220)로 입력되는 신호들을 정의하면, ROM1_CSB는 마스크 롬(224)을 억세스 할 때 인에이블 시키는 칩 선택신호(Chip Select Signal)이다. ROM2_CSB는 NFC부(222)로 입력하고, 상기 NFC부(222)에 의해 ECC부(226), NAND 플래시 메모리(232) 또는 작업 메모리(234)를 억세스 할 때 인에이블되는 칩 선택 신호이다. GP_CSB는 상기 NFC부(222)로 입력하고, 상기 NFC부(222)에 의해 상기 ECC부(226), NAND 플래시 메모리(232)를 억세스 할 때 인에이블되는 칩 선택신호이다. GP_CSB_OUT은 칩 선택신호이고, A[13:1]는 어드레스 버스 신호(Address bus Signal)이다. RDB(Read Enable signal)는 모뎀(210)이 외부 칩, 즉 상기 NAND 플래시 메모리(230), 작업 메모리(234), ECC부(226), NFC부(222)로부터 데이터를 독출하기 위해 인에이블되는 신호이다. WRB(Write Enable Signal)는 상기 모뎀(210)이 외부 칩, 즉 상기 NAND 플래시 메모리(230), 작업 메모리(234), ECC부(226), NFC부(222)에 데이터를 기록하기 위해 인에이블되는 신호이다. D[15:0]는 데이터 버스 신호(Data Bus Signal)이다.
First, when signals input to the
다음으로, 상기 인터페이스부(220)로부터 출력되는 신호들을 정의하면, ALE(Address Latch Enable Signal)는 상기 NAND 플래시 메모리(232)를 억세스하는 경우 데이터 버스에 어드레스 값을 쓰기 위해 인에이블 시키는 신호이다. CLE(Command Latch Enable Signal)는 상기 NAND 플래시 메모리(232)를 억세스하는 경우 상기 데이터 버스에 명령(Command) 값을 쓰기 위해 인에이블 시키는 신호이다. 상기 명령 값은 상기 NAND 플래시 메모리에 따라 정의될 수 있는 임의의 값이다. NFROM_CSB는 상기 메모리 제어부(222)가 상기 NAND 플래시 메모리(232)를 억세스 하기 위해 인에이블 시키는 칩 선택신호이다. NAND_WRB는 상기 NFC부(222)가 상기 NAND 플래시 메모리(232)로 데이터를 기록하고자 할 때 인에이블되는 신호이다. NAND_RDB는 상기 NFC부(222)가 상기 NAND 플래시 메모리(232)로부터 데이터를 독출하고자 할 때 인에이블 되는 신호이다.Next, when signals output from the
한편, 상기 인터페이스부(220) 내부 신호들에 대해 정의하면, ECC_START는 상기 NFC부(222)가 해당 데이터에 대응하여 패러티 코드를 생성하도록 상기 ECC부(226)를 인에이블 시키는 신호이다. ECC_RCE는 상기 NFC부(222)의 요구에 의해 패러티 코드를 읽기 위해 인에이블 시키는 칩 선택 신호이다. ECCDATAL[7:0], ECCDATAH[7:0], ECCDATAX[7:0]은 상기 NFC부(222)의 요구에 의해 상기 ECC부(226)로부터 생성된 패러티 코드(Parity Code)가 출력되는 신호이다.On the other hand, when the internal signals of the
그 외의 신호들에 대해 정의하면, RBB는 상기 NAND 플래시 메모리(232)의 상태를 나타내는 신호로서, 대기(Ready)상태인지 동작(Busy)상태인지를 나타낸다. 상기 모뎀(210)은 상기 NAND 플래시 메모리(232)가 동작(Busy)상태일 때는 데이터를 억세스할 수 없으며, 대기(Ready)상태일 때에만 데이터 억세스(Data Access)가 가능하다. 상기 모뎀(210)은 GPIO_INT를 통해 입력되는 상기 RBB에 의해 상기 NAND 플래시 메모리(232)의 현재 상태를 검사한다. 상기 GPIO_INT는 상기 모뎀(210)이 외부 구성들과의 인터페이스하기 위한 입/출력 핀(General Purpose Input Output Pin)이다. RAM_CSB는 상기 모뎀(210)으로부터 작업 메모리(234)를 억세스 할 때 인에이블되는 칩 선택신호이다. 상기 RAM_CSB는 상기 ROM2_CSB가 상기 NAND 플래시 메모리(232)를 억세스 하지 않을 때 상기 ROM2_CSB를 상기 RAM_CSB에 연결하여 사용할 수 있다.If the other signals are defined, the RBB is a signal indicating the state of the
전술한 바와 같은 구성을 가지는 이동 단말기가 초기 동작 전원이 공급될 시 초기 설정을 위한 기본 코드(Vector Table, Boot Code, Load Code)는 마스크 롬(MASK ROM)(224)에 저장된다. 따라서, 초기 동작 전원이 공급되면 모뎀(210)은 상기 마스크 롬(Mask ROM)에 저장된 기본 코드에 해당하는 데이터를 읽어서 초기화(Booting)를 수행한다. 한편, 상기 이동 단말기의 모뎀(210)은 초기설정이 끝나면, 운용 코드(OS code)와 호 처리 소프트웨어(Call S/W)를 NAND 플래시 메모리(232)에서 읽어서 작업 메모리(234)로 복사하고, 이후에는 상기 작업 메모리(234)를 억세스하여 구동한다. 상기 모뎀(210)이 상기 NAND 플래시 메모리(232)로부터 상기 작업 메모리(234)로 데이터를 복사하는 이유는 SRAM을 사용하는 상기 작업 메모리(234)의 억세스 타임이 짧기 때문이다. 즉, 필요한 데이터를 빠르게 억세스할 수 있기 때문이다. 한편, 상기 모뎀(210)은 각종 응용 데이터(Application data)는 상기 NAND 플래시 메모리(232)로부터 직접 읽거나 기록할 수 있으나 필요에 따라 상기 작업 메모리(234)로 복사하여 억세스 할 수 있다.When the mobile terminal having the configuration as described above is supplied with the initial operation power, basic codes (Vector Table, Boot Code, and Load Code) for initial setting are stored in the
도 3은 상기 도 2의 메모리 제어부(222)의 상세 구성을 보이고 있는 도면이다.3 is a diagram illustrating a detailed configuration of the
상기 도 3을 참조하면, 모뎀(210)으로부터의 칩 인에이블 신호 GP_CSB, WRB를 인에이블 시키고 어드레스신호 A와 데이터 신호 D에 특정 어드레스 값 d와 특정 데이터 값을 기록하면 제1레지스트 그룹의 Q0,Q1,Q2,Q3을 제어한다. 이때, 제 1레지스트 그룹의 Q3은 먹스 선택 신호(Mux_Select)로서 이 값이 '0'일 때는 NAND 플레시 메모리(232)를 제어하는 CLE, ALE, NFROM_CSB, NAND_WRB, NAND_RDB와 ECC부(226)를 제어하기 위한 ECC_RCE를 제1컴비네이션 로직과 제1레지스트 그룹에 의해 제어된다. 한편, 제1레지스트 그룹의 Q3이 '1'일 때는 NAND 플래시 메모리(232)를 제어하는 CLE, ALE, NFROM_CSB, NAND_WRB, NAND_RDB와 ECC부(226)를 제어하기 위한 ECC_RCE를 제2컴비네이션 로직과 제2레지스트 그룹에 의해 제어된다. 즉, 상기 NAND 플래시 메모리(232)와 상기 ECC부(226)를 제1컴비네이션 로직과 제1레지스트 그룹을 이용하여 제어하거나 제2 컴비네이션 로직과 제2레지스트 그룹을 이용하여 제어할 수 있다.Referring to FIG. 3, when the chip enable signals GP_CSB and WRB are enabled from the
이하, 상기 도 2와 도 3을 참조하여 살펴본 구성을 참조하여 본 발명의 실시 예에 따른 동작을 설명하면 다음과 같다. 우선, 본 발명의 실시 예에 따른 동작은 NAND 플래시 메모리(232)에 데이터를 기록하는 동작과 독출하는 동작으로 크게 구분될 수 있다. 따라서, 이하 설명될 본 발명의 실시 예에 따른 동작은 상기 NAND 플래시 메모리(232)에 데이터를 기록하는 동작과 독출하는 동작으로 구분하여 설명하도록 한다.Hereinafter, an operation according to an embodiment of the present invention will be described with reference to the configuration described with reference to FIGS. 2 and 3 as follows. First, an operation according to an exemplary embodiment of the present disclosure may be roughly divided into an operation of writing data to an
도 4는 상기 NAND 플래시 메모리(232)에 데이터를 기록하기 위해 인터페이스부(220)를 구성하는 메모리 제어부(222)가 수행하는 제어 흐름을 보이고 있는 도면이다. 한편, 도 5는 상기 NAND 플래시 메모리(232)로부터 데이터를 독출하기 위해 상기 메모리 제어부(222)가 수행하는 제어 흐름을 보이고 있는 도면이다.4 is a diagram illustrating a control flow performed by the
먼저, 상기 도 4를 참조하여 본 발명의 실시 예에 따라 상기 메모리 제어부(222)가 상기 NAND 플래시 메모리(232)에 데이터를 기록하기 위한 동작을 살펴보면, 상기 NFC부(222)는 410단계에서 모뎀(210)으로부터 상기 NAND 플래시 메모리(232)로의 데이터 기록 요구를 감지한다. 상기 NAND 플래시 메모리(232)로의 데이터 기록 요구는 전술한 도 3의 상세 설명에 의해 상기 모뎀(210)으로부터의 어드레스신호 A와 데이터 신호 D, WRB, 칩 인에이블 신호 GP_CSB 또는 ROM2_CSB에 의해 감지 될 수 있다.First, referring to FIG. 4, when the
상기 NFC부(222)는 상기 데이터 기록 요구를 감지하면 412단계로 진행하여 상기 NAND 플래시 메모리(232)를 억세스하기 위한 칩 선택신호인 NFROM_CSB와 상기 NAND 플래시 메모리(232)에 데이터를 기록하겠다는 명령을 전송하기 위한 CLE를 인에이블 시킨다. 상기 NAND 플래시 메모리(232)는 상기 NFROM_CSB에 의해 인에이블되고, 상기 CLE에 의해 상기 NFC부(222)로부터의 명령을 수신할 준비를 한다. 상기 NFC부(222)는 414단계에서 데이터의 기록을 요구하는 기록 요구 명령(80H)을 데이터 버스를 통해 전송되는 데이터 버스 신호 D[7:0]으로 전송한다. 상기 NAND 플래 시 메모리(232)는 상기 NFC부(222)로부터의 기록 요구 명령을 수신하여 데이터를 기록할 어드레스와 기록할 데이터의 수신을 대기한다. 한편, 상기 NFC부(222)는 416단계로 진행하여 상기 기록 요구 명령을 전송하기 위해 인에이블 시켰던 CLE를 디세이블시키고, 상기 NAND 플래시 메모리(232)를 억세스하기 위한 칩 선택신호인 NFROM_CSB와 어드레스를 전송하기 위한 인에이블 신호로서 ALE를 인에이블 시킨다. 상기 ALE의 인에이블에 의해 상기 NAND 플래시 메모리(232)는 상기 NFC부(222)로부터의 어드레스 전송을 대기한다.When the
상기 NFC부(222)는 418단계에서 상기 데이터 버스 신호 D[7:0]으로 데이터를 기록할 어드레스를 전송한다. 상기 어드레스를 전송한 상기 NFC부(222)는 420단계로 진행하여 어드레스를 전송하기 위해 인에이블 시켰던 ALE를 디세이블 시키고, 패리티 코드 생성을 위해 상기 ECC부(226)의 ECC_START를 인에이블 시킨다.In
한편, 상기 모뎀(210)은 상기 데이터 버스 신호 D[15:0]으로 기록하고자 하는 데이터를 전송한다. 상기 전송된 데이터는 상기 NAND 플래시 메모리(232)로 제공되어 상기 지정된 어드레스에 기록된다. 또한, 상기 전송된 데이터는 ECC부(226)로 제공되며, 상기 ECC부(226)는 상기 제공받은 데이터에 대응하여 패리티 코드 ECDATAL[7:0], ECDATAH[7:0], ECDATAX[7:0]을 생성한다.Meanwhile, the
상기 모뎀(210)은 상기 NFC부(222)를 통해 422단계에서 상기 ECC부(226)의 ECC_RCE를 인에이블 시켜 상기 ECC부(226)에 의해 생성된 상기 패리티 코드 ECCDATAL[7:0], ECCDATAH[7:0], ECCDATAX[7:0]을 읽어 온다. 상기 NFC부(222)를 통해 상기 패리티 코드를 읽어 온 상기 모뎀(210)은 상기 NFC부(222)를 통해 424단계 에서 상기 ECC_START를 디세이블 시키고, 상기 읽어 온 패리티 코드를 상기 NAND 플래시 메모리(232)에 기록하기 위해 상기 NFROM_CSB를 인에이블 시킨다. 그 후 상기 모뎀(210)은 426단계로 진행하여 상기 데이터 버스 신호 D[7:0]으로 상기 패리티 코드를 전송한다. 상기 전송된 패리티 코드는 상기 NAND 플래시 메모리(232)로 제공되어 소정 영역에 저장된다.The
한편, 상기 NFC부(222)는 428단계로 진행하여 상기 CLE를 인에이블 시키고, 430단계에서 상기 데이터의 기록이 정상적으로 이루어졌는지를 확인하기 위한 확인 명령(10H)을 상기 데이터 버스 신호 D[7:0]으로 전송한다. 상기 NFC부(222)는 상기 확인 명령(10H)을 전송한 후 432단계로 진행하여 상기 CLE를 디세이블 시킨다.On the other hand, the
상기 NAND 플래시 메모리(232)는 상기 확인 명령(10H)을 수신하면 자신의 현재 상태를 데이터 버스 신호 D[7:0] 중 D[6]으로 전송한다. 상기 현재 상태는 동작(Busy) 상태와 대기(Ready) 상태로 구분될 수 있다. 한편, 상기 NAND 플래시 메모리(232)는 상기 확인 명령을 수신하지 않더라도 항상 RBB를 통해 자신의 현재 상태를 보고한다. 즉, 상기 모뎀(210)은 상기 RBB를 통해 상기 NAND 플래시 메모리(232)의 현재 상태를 알 수 있다. 또한, 상기 NAND 플래시 메모리(232)는 상기 데이터 버스 신호 D[7:0] 중 D[0]을 통해 상기 데이터의 기록이 정상적으로 이루어졌는지를 보고한다.The
상기 모뎀(210)은 434단계에서 상기 NAND 플래시 메모리(232)로부터 상기 데이터 버스 신호 D[6] 또는 RBB로 보고되는 현재 상태에 의해 상기 NAND 플래시 메모리(232)가 대기 상태에 있는 지를 판단한다. 상기 판단에 의해 상기 NAND 플래시 메모리(232)가 대기 상태에 있다고 판단되면 436단계로 진행한다. 상기 436단계로 진행한 상기 모뎀(210)은 상기 NAND 플래시 메모리(232)로부터 D[0]으로 제공되는 정보에 의해 상기 데이터를 기록함에 있어 에러가 발생하였는지를 판단한다. 상기 판단에 의해 상기 데이터가 정상적으로 기록되었다고 판단하면 상기 NFROM_CSB를 디세이블시키고 전술한 기록을 위한 동작을 종료한다. 하지만, 상기 데이터가 정상적으로 기록되지 않았다고 판단하면 상기 NFROM_CSB를 디세이블시키고 상기 410단계로 리턴하여 전술한 동작을 재 수행한다.In
다음으로, 상기 도 5를 참조하여 본 발명의 실시 예에 따라 상기 메모리 제어부(222)가 상기 NAND 플래시 메모리(232)로부터 데이터를 독출하기 위한 동작을 살펴보면, 상기 NFC부(222)는 510단계에서 모뎀(210)으로부터 상기 NAND 플래시 메모리(232)로부터의 데이터 독출 요구를 감지한다. 상기 NAND 플래시 메모리(232)로부터의 데이터 독출 요구는 전술한 도 3의 상세 설명에 의해 상기 모뎀(210)으로부터의 어드레스신호 A와 데이터 신호 D, RDB, 칩 인에이블 신호 GP_CSB 또는 ROM2_CSB에 의해 감지 될 수 있다.Next, referring to FIG. 5, when the
상기 NFC부(222)는 상기 데이터 독출 요구를 감지하면 512단계로 진행하여 상기 NAND 플래시 메모리(232)를 억세스하기 위한 칩 선택신호인 NFROM_CSB와 상기 NAND 플래시 메모리(232)에 데이터를 독출하겠다는 명령을 전송하기 위한 CLE를 인에이블 시킨다. 상기 NAND 플래시 메모리(232)는 상기 NFROM_CSB에 의해 인에이블되고, 상기 CLE에 의해 상기 NFC부(222)로부터의 명령을 수신할 준비를 한다. 상기 NFC부(222)는 514단계에서 데이터의 독출을 요구하는 독출 요구 명령(00H)을 데이 터 버스 신호 D[7:0]으로 전송한다. 상기 NAND 플래시 메모리(232)는 상기 NFC부(222)로부터의 독출 요구 명령을 수신하여 데이터를 독출할 어드레스의 수신을 대기한다. 한편, 상기 NFC부(222)는 516단계로 진행하여 상기 기록 요구 명령을 전송하기 위해 인에이블 시켰던 CLE를 디세이블시키고, 어드레스를 전송하기 위한 인에이블 신호로서 ALE를 인에이블 시킨다. 상기 ALE의 인에이블에 의해 상기 NAND 플래시 메모리(232)는 상기 NFC부(222)로부터의 어드레스 전송을 대기한다.When the
상기 NFC부(222)는 518단계에서 상기 데이터 버스 신호 D[7:0]으로 데이터를 독출할 어드레스를 전송한다. 상기 어드레스를 전송한 상기 NFC부(222)는 520단계로 진행하여 어드레스를 전송하기 위해 인에이블 시켰던 ALE를 디세이블 시킨다. 상기 NAND 플래시 메모리(232)는 상기 독출 요구 명령(00H)과 상기 어드레스를 수신하면 자신의 현재 상태를 데이터 버스 신호 D[7:0] 중 D[6] 또는 RBB로 전송한다. 상기 현재 상태는 동작(Busy) 상태와 대기(Ready) 상태로 구분될 수 있다. 한편, 상기 NAND 플래시 메모리(232)는 자신의 현재 상태가 대기 상태인 경우에는 상기 제공받은 어드레스에 대응하여 기록된 데이터를 독출하여 상기 데이터 버스 신호 D[7:0]을 통해 전송한다.In
상기 모뎀(210)은 524단계에서 상기 NAND 플래시 메모리(232)로부터 상기 데이터 버스 신호 D[6] 또는 RBB로 보고되는 현재 상태에 의해 상기 NAND 플래시 메모리(232)가 대기 상태에 있는 지를 판단한다. 상기 판단에 의해 상기 NAND 플래시 메모리(232)가 대기 상태에 있다고 판단되면 524단계로 진행한다. 상기 524단계로 진행한 상기 NFC부(222)는 상기 NAND 플래시 메모리(232)에 의해 독출되어 전송된 데이터에 대응한 패리티 코드의 생성을 위해 ECC_START를 인에이블 시킨다. 한편, 상기 ECC부(226)는 상기 독출된 데이터를 입력하고, 상기 독출된 데이터에 대응하여 패리티 코드 ECCDATAL[7:0], ECCDATAH[7:0], ECCDATAX[7:0]을 생성한다.In operation 524, the
상기 모뎀(210)은 상기 NFC부(222)를 통해 526단계에서 상기 ECC부(226)의 ECC_RCE를 인에이블 시켜 상기 ECC부(226)에 의해 생성된 상기 패리티 코드를 읽어온 후 528단계로 진행하여 상기 NFC부(222)를 통해 상기 ECC_START를 디세이블 시킨다. 한편, 상기 모뎀(210)은 상기 NFC부(222)를 통해 530단계에서 상기 독출한 데이터에 대응하여 상기 NAND 플래시 메모리(232)에 기록된 패리티 코드를 독출한다. 상기 모뎀(210)은 상기 기록된 패리티 코드를 독출한 후 532단계로 진행하여 상기 NFROM_CSB를 디세이블 시킨다.The
상기 생성된 패리티 코드와 상기 기록된 패리티 코드를 상기 NFC부(222)를 통해 읽어 온 상기 모뎀(210)은 534단계로 진행하여 상기 두 패리티 코드를 비교한다. 상기 모뎀(210)은 536단계에서 상기 비교 결과에 의해 상기 독출한 데이터에 에러가 발생하였는지를 판단한다. 상기 에러 발생을 판단하는 것은 상기 생성한 패리티 코드와 상기 기록된 패리티 코드가 일치하는지에 의해 결정된다. 만약, 상기 생성한 패리티 코드와 상기 기록된 패리티 코드가 일치하지 않으면 상기 모뎀(210)는 상기 독출한 데이터에 에러가 발생하였다고 판단한다. 그렇지 않고, 상기 생성한 패리티 코드와 상기 기록된 패리티 코드가 일치하면 상기 독출한 데이터에는 에러가 발생하지 않았다고 판단한다.The
상기 모뎀(210)은 상기 536단계에서 에러가 발생하였다고 판단되지 않으면 전술한 데이터를 독출하기 위한 일련의 동작을 종료한다. 하지만, 상기 536단계에서 에러가 발생하였다고 판단하면 상기 모뎀(210)은 538단계에서 에러가 발생한 비트들에 대한 정정 동작을 수행한 후 전술한 데이터를 독출하기 위한 일련의 동작을 종료한다.If it is determined in
전술한 바와 같이 본 발명의 실시 예에서는 NAND 플래시 메모리(232)에 데이터를 기록할 때 상기 NAND 플래시 메모리(232)의 데이터 영역에 실제 쓸 데이터를 기록한다. 이때, ECC부(226)는 상기 기록되는 데이터를 입력으로 받아 출력 값으로 상기 데이터에 대응한 패리티 코드(ECCDATAL[7:0], ECCDATAH[7:0], ECCDATAX[7:0])가 출력한다. 모뎀(210)은 상기 ECC부(226)로부터 출력된 패리티 코드를 상기 NAND 플래시 메모리(232)에 기록해 둔다. 한편, 상기 모뎀(210)이 상기 NAND 플래시 메모리(232)에 있는 데이터를 독출할 때 상기 NAND 플래시 메모리(232)로부터의 출력 데이터는 상기 ECC부(226)의 입력으로 인가되고, 상기 ECC부(226)는 상기 인가된 데이터에 대하여 새로운 패리티 코드를 생성한다. 상기 모뎀(210)은 이 새로운 패리티 코드(Parity Code)와 이미 NAND 플래시 메모리의 패리티 저장을 위한 영역에 저장해둔 패리티 코드를 읽어서 서로 비교한다. 상기 모뎀(210)은 상기 비교를 통해 에러 비트가 있는 지를 검사하고, 비트 에러가 있으면 상기 비트 에러에 대해 수정한다.As described above, in the embodiment of the present invention, when data is written to the
한편, 전술한 바와 같이 상기 모뎀(210)은 초기 전원 공급이 이루어질 시 마스크 롬(224)을 억세스하여 기본 코드들을 독출하여 초기화 과정을 수행한다.Meanwhile, as described above, the
상기 도 2를 참조하여 상기 모뎀(210)에 의한 초기화 동작을 살펴보면, 상기 모뎀(210)은 초기 전원이 공급되면 마스크 롬(224)을 억세스하기 위해 칩 선택신호 ROM1_CSB를 인에이블 시킨다. 상기 마스크 롬(224)은 상기 ROM1_CSB에 의해 인에이블되어 상기 모뎀(210)으로부터의 요구를 대기한다. 상기 모뎀(210)은 기본 데이터가 저장된 어드레스를 어드레스 버스 신호 A[13:1]로 상기 마스크 롬(224)으로 제공한다. 상기 어드레스 버스 신호 A[13:1]로 상기 소정 어드레스를 제공받은 상기 마스크 롬(224)은 상기 소정 어드레스에 대응하여 저장된 기본 코드를 독출하고, 상기 독출한 기본 코드를 데이터 버스 신호 D[15:0]으로 전송한다. 상기 모뎀(210)은 상기 데이터 버스 신호 D[15:0]으로 전송되는 상기 독출된 기본 코드에 의해 초기화 동작을 수행한다.Referring to FIG. 2, the initialization operation by the
또한, 앞에서도 밝힌 바와 같이 상기 모뎀(210)은 NAND 플래시 메모리(232)로부터 독출한 데이터를 사용함에 있어 빠른 억세스를 위해 상기 독출한 데이터를 작업 메모리(234)에 복사하고, 상기 작업 메모리(234)를 억세스하여 상기 복사한 데이터를 사용한다.In addition, as described above, the
상기 도 2를 참조하여 상기 모뎀(210)에 의해 상기 작업 메모리(234)가 억세스되는 동작을 살펴보면, 모뎀(210)은 상기 작업 메모리(234)를 억세스하기 위한 칩 선택신호 RAM_CSB를 인에이블 시킨다. 앞에서도 밝힌 바와 같이 상기 모뎀(210)이 ROM2_CSB에 의해 NAND 플래시 메모리를 억세스하고 있지 않는 경우 상기 ROM2_CSB를 상기 RAM_CSB로 연결하여 사용할 수 있다. 상기 작업 메모리(234)는 상기 RAM_CSB에 의해 활성화되어 상기 모뎀(210)으로부터의 명령을 대기한다. 상기 모뎀(210)은 상기 NAND 플래시 메모리(232)로부터 독출한 운용 코드, 호 처리 소프 트웨어 등을 상기 작업 메모리(234)에 복사하고자 하는 경우에는 WRB를 인에이블 시킨다. 하지만, 상기 작업 메모리(234)에 기록된 운용 코드, 호 처리 소프트웨어 등을 독출하고자 하는 경우에는 RDB를 인에이블 시킨다. 한편, 상기 모뎀(210)에 의해 인에이블되는 WRB는 상기 작업 메모리(234)의 OE단으로 제공되며, 상기 RDB는 상기 작업 메모리(234)의 WE단으로 제공된다. 상기 작업 메모리(234)는 상기 OE단이 인에이블되면 상기 모뎀(210)으로부터의 소정 어드레스와 복사할 데이터(운용 코드, 호 처리 소프트웨어 등)의 입력을 대기한다. 상기 작업 메모리(234)는 상기 모뎀(210)으로부터 어드레스 버스 신호 [21:1]로 소정 어드레스를 제공받고, 데이터 버스 신호 D[15:0]으로 제공되는 데이터(운용 코드, 호 처리 소프트웨어 등)를 상기 소정 어드레스에 대응하여 기록한다.Referring to FIG. 2, the operation of accessing the working
한편, 상기 작업 메모리(234)는 상기 모뎀(210)에 의해 활성화된 후 상기 WE단이 인에이블되면 상기 모뎀(210)으로부터의 소정 어드레스의 입력을 대기한다. 상기 작업 메모리(234)는 상기 모뎀(210)으로부터 어드레스 버스 신호 [21:1]로 소정 어드레스를 제공받으면 상기 제공받은 소정 어드레스에 대응하여 기록된 데이터(운용 코드, 호 처리 소프트웨어 등)를 독출하여 상기 데이터 버스 신호 D[15:0]으로 전송함으로서 상기 모뎀(210)이 상기 데이터를 제공받을 수 있도록 한다.Meanwhile, the working
도 3은 상기 도 2에서 보여지고 있는 구성들 중 메모리 제어부(NFC부)(222)의 상세 구성을 보이고 있는 도면이다. 상기 도 3에서 보여지고 있는 바와 같이 상기 NFC부(222)는 모뎀(210)으로부터 인가되는 신호들(A[13:0], D[15:0], GP_CSB, WRB, RDB, ROM2_CSB)을 입력으로 하여 NAND 플래시 메모리(232)로 데이터를 기록하거나 독출하기 위해 요구되는 신호들(CLE, ALE, ECC_RCE, NFROM_CSB, GP_CSB_OUT, NAND_WRB, NAND_RDB)을 출력한다.3 is a diagram illustrating a detailed configuration of a memory controller (NFC unit) 222 of the components shown in FIG. As shown in FIG. 3, the
상기 도 3을 참조하면, 상기 GP_CSB와 상기 WRB를 입력으로 하여 논리 합 게이트에 의해 출력되는 신호는 제1레지스트 그룹 클럭(CK)으로 입력된다. 상기 제1레지스트 그룹은 4개의 출력단들(Q0 내지 Q3) 중 Q3을 통해 먹스 선택신호(Mux_Select)를 출력하여 CLE, ALE, ECC_RCE, NFROM_CSB, NAND_WRB, NAND_RDB 각각을 먹싱하는 MUX들의 인에이블 신호로서 사용한다. 한편, 상기 제1레지스트 그룹은 상기 A[13:0]과 상기D[15:0]을 입력으로 하는 제1컴비네이션 로직(Combinational Logic)을 이용하여 특정 어드레스에 특정 데이터 값이 들어올 시 CLE, ALE, ECC_RCE, NFROM_CSB를 쉽게 제어 할 수 있다. 또한 A[10], A[11], A[12], A[13], GP_CSB의 신호는 제2컴비네이션 로직으로 입력된다. 상기 제2컴비네이션 로직은 상기한 신호들을 이용하여 CLE, ALE, ECC_RCE, NFROM_CSB를 만들어 낸다. GP_CSB_OUT는 모뎀으로부터 출력되는 GP_CSB가 NAND 플래시 메모리 혹은 LCD 모듈(도면에 도시하지 않음)을 위한 인터페이스 신호로 쓰인다. 따라서 GP_CSB가 인에이블되고, A[10], A[13] 둘 모두가 '1'일 때 인에이블 되어 상기한 도면에 도시하지 않은 또 다른 하나의 칩 선택신호(Chip Select Signal)로 사용하도록 구성하였다.Referring to FIG. 3, a signal output by a logic sum gate using the GP_CSB and the WRB as inputs is input to a first resist group clock CK. The first resist group outputs a mux select signal Mux_Select through Q3 among the four output terminals Q0 to Q3 to be used as an enable signal of MUXs muxing CLE, ALE, ECC_RCE, NFROM_CSB, NAND_WRB, and NAND_RDB, respectively. do. On the other hand, the first resist group is a CLE, ALE when a specific data value enters a specific address using a first combination logic (Combinational Logic) that is input to the A [13: 0] and the D [15: 0] , ECC_RCE, NFROM_CSB can be controlled easily. In addition, signals of A [10], A [11], A [12], A [13], and GP_CSB are input to the second combination logic. The second combination logic generates CLE, ALE, ECC_RCE, and NFROM_CSB using the signals. GP_CSB_OUT is a GP_CSB output from a modem, which is used as an interface signal for a NAND flash memory or an LCD module (not shown). Therefore, GP_CSB is enabled, and when both A [10] and A [13] are '1', the GP_CSB is enabled and configured to be used as another chip select signal (not shown). It was.
도 6은 상기 도 3에 도시된 컴비네이션 로직 중 일부의 구성을 도시한 도면이다. 그러면 도 6을 참조하여 본 발명에 따른 컴비네이션 로직의 구성을 상세히 설명한다. FIG. 6 is a diagram illustrating a configuration of some of the combination logic illustrated in FIG. 3. Next, the configuration of the combination logic according to the present invention will be described in detail with reference to FIG. 6.
먼저 상기 컴비네이션 로직은 플립플롭(F/F)으로 구성한다. 그러면 상기 컴비네이션 로직의 구성 및 연결 관계에 대하여 설명한다. 제1반전 게이트(NOT1)는 상기 어드레스 신호 중 하나인 제12어드레스 신호[A12]를 입력으로 하여 반전한 후 출력한다. 상기 제1반전 게이트(NOT1)의 출력과 칩 선택신호인 GP_CSB 신호는 제1논리합 연산기(OR1)로 입력된다. 상기 제1논리합 연산기(OR1)는 입력된 두 신호를 논리합 한 후 제3논리합 연산기(OR3)로 출력한다. 상기 제3논리합 연산기(OR3)는 상기 제1논리합 연산기(OR1)의 출력 신호와 기록(WRB) 신호를 수신하여 논리합 하여 출력한다. 상기 제3논리합 연산기(OR3)의 출력은 레지스트 그룹의 클럭 신호(MSM_CLK)로 입력된다.First, the combination logic consists of a flip-flop (F / F). Next, the configuration and connection relationship of the combination logic will be described. The first inverting gate NOT1 inverts the input of the twelfth address signal A12, which is one of the address signals, and outputs it. The output of the first inverted gate NOT1 and the GP_CSB signal, which is a chip select signal, are input to the first logical sum operator OR1. The first logical sum operator OR1 performs a logical sum of the two input signals and outputs the result to the third logical sum operator OR3. The third logical sum operator OR3 receives the output signal and the write signal WRB of the first logical sum operator OR1, and outputs the result of the logical sum. The output of the third logical sum operator OR3 is input to the clock signal MSM_CLK of the resist group.
또한 제2반전 게이트(NOT2)는 상기 어드레스 신호 중 하나인 제13어드레스 신호[A13]를 입력으로 하여 반전한 후 출력한다. 상기 제2반전 게이트(NOT2)의 출력과 상기 칩 선택신호인 GP_CBS 신호는 제2논리합 연산기(OR2)로 입력된다. 상기 제2논리합 연산기(OR2)는 입력된 두 신호를 논리합 한 후 제4논리합 연산기(OR3)와 제5논리합 연산기(OR5)로 출력한다. 상기 제4논리합 연산기(OR5)는 상기 제2논리합 연산기(OR2)의 출력 신호와 기록(WRB) 신호를 수신하여 논리합 하여 출력한다. 상기 제4논리합 연산기(OR4)의 출력은 낸드 플래쉬 메모리의 기록신호인 MSM_NAND_WRB 신호로 출력된다. 또한 상기 제5논리합 연산기(OR5)의 출력은 독출 인에이블(RDB) 신호와 상기 제2논리합 연산기(OR2)의 출력 신호를 입력으로 하고 이를 논리합 하여 낸드 플래쉬 메모리의 읽기 신호인 MSM_NAND_RDB 신호로 출력한다.The second inverting gate NOT2 receives the thirteenth address signal A13, which is one of the address signals, as an input, inverts it, and outputs the inverted gate. The output of the second inversion gate NOT2 and the GP_CBS signal, which is the chip select signal, are input to the second logical sum operator OR2. The second logical sum operator OR2 performs a logical sum of the two input signals and outputs the result to the fourth logical sum operator OR3 and the fifth logical sum operator OR5. The fourth logical sum operator OR5 receives and outputs the output signal and the write signal WRB of the second logical sum operator OR2 and outputs the logical sum. The output of the fourth logical sum operator OR4 is output as an MSM_NAND_WRB signal, which is a write signal of the NAND flash memory. In addition, the output of the fifth logical sum operator OR5 receives a read enable signal RDB signal and an output signal of the second logical sum operator OR2 and outputs the result as an MSM_NAND_RDB signal that is a read signal of a NAND flash memory. .
상기한 바와 같이 구성되는 컴비네이션 로직을 가지는 경우 읽기 및 쓰기의 타이밍은 도 7과 같이 도시할 수 있다. 도 7은 본 발명에 따른 컴비네이션 로직이 상기 도 6과 같이 구성되는 경우 각 신호의 타이밍도이다. 그러면 도 7을 참조하여 읽기 및 쓰기 신호의 타이밍에 대하여 설명한다.In the case of the combination logic configured as described above, the timing of reading and writing may be illustrated in FIG. 7. 7 is a timing diagram of each signal when the combination logic according to the present invention is configured as shown in FIG. 6. Next, the timing of the read and write signals will be described with reference to FIG. 7.
데이터의 기록이 요구되는 경우 먼저 t0의 시점에서 GP_CSB의 신호가 로우(Low) 인에이블 된다. 이후 상기 WRD 신호는 t1의 폴링 에지(Falling edge)에서 시작하여 1클럭의 시간만큼 로우 인에이블 된다. 이는 상기 도 4의 410단계에서 412단계로 진행하는 경우 또는 도 5의 510단계에서 512단계로 진행하는 경우가 된다. 즉, GP_CSB, WRB 인에이블 되므로 410단계 또는 510단계의 조건을 만족한다. 이와 같이 기록에 따른 인에이블 신호가 수신되면 CLE(Command Latch Enable) 신호를 t2의 시점에서 하이(high) 인에이블 시키고, 상기 BFROM_CSB 신호는 로우로 천이하여 인에이블 시킨다. 즉, 상기 412단계 또는 512단계가 수행된다. 이후 상기 인터페이스(I/O) 출력으로 t1 시점의 폴링 에지부터 t7의 폴링 에지 사이에 읽기 명령(Read Cmd) 또는 쓰기 명령(Write Cmd)이 출력된다. 이와 같이 읽기 또는 쓰기 명령은 도 4의 414단계 또는 도 5의 514단계와 대응된다. 그리고 읽기 명령 또는 쓰기 명령이 출력된 이후에 상기 명령의 송신이 가능하게 하는 CLE와 ALE 신호는 t7의 폴링 에지 시점에서 모두 디스에이블 된다.When writing data is required, the signal of GP_CSB is first enabled at the time t0. The WRD signal is then enabled low by one clock, starting at the falling edge of t1. This may be the case when the process proceeds from
상기한 바와 같이 명령이 전송되면, 이후 읽기 또는 쓰기 위한 주소의 출력이 이루어진다. 따라서 주소를 모두 송신하면 데이터를 기록하거나 읽어오기에 앞서 상기 에러 정정 코드 생성부(226)를 활성화 시켜야 한다. 이는 상술한 바와 같이 낸드 플래쉬 메모리의 경우 데이터의 읽기 및 쓰기 시에 오류가 발생할 확률이 높기 때문이다.
As described above, when the command is transmitted, an address for reading or writing is then output. Therefore, when all addresses are transmitted, the error
그러면 상기 에러 정정 코드 생성부(226)의 시작 명령 시점에 대하여 살펴본다. 상기 에러 정정 코드 생성부(226)로 시작 명령을 송신하기 위해 상기 GP_CSB 신호는 t18의 라이징 에지(ridging Edge)에서 활성화된다. 그리고, WRB 신호는 t19의 폴링 에지에서 인에이블 된다. 따라서 상기 낸드 플래쉬 메모리의 CSB 신호(NFRON_CSB)는 t19의 폴링 에지에서 하이로 천이하고, ECC_RCE가 로우로 천이된다. 이를 통해 ECC에서 데이터를 독취할 수 있게 된다. 즉, t20의 시점부터 t25의 시점 사이에 ECC 시작 명령이 전달된다. 그런 이후에 데이터의 독취 또는 쓰기 명령이 수행된다.Next, the start command time point of the error
상기 도 7에서 확인할 수 있는 바와 같이 명령 신호를 전달하기 전의 2클럭과 명령 신호를 전달한 이후 2클럭의 손실이 발생한다. 이는 어드레스 신호 중 하나인 제12어드레스 신호[A12]와, GP_CSB 신호를 이용하여 WR_CLK를 생성한 후 WR_CLK가 플립플롭의 클럭으로 작용하여 수신되는 데이터 값에 따라 ALE, CLE, NFROM_CSB 및 ECC_RCE를 생성하기 때문이다. 또한 제13어드레스 신호[A13]과 GP_CSB는 NAND_WEB, NAND_REB를 생성한다. 이로 인해 상기와 같이 각 명령의 전달 시점 전 후로 2클럭의 손실이 발생한다.As can be seen in FIG. 7, two clocks before the command signal is transmitted and two clocks are lost after the command signal is transmitted. It generates WR_CLK using the twelfth address signal [A12], which is one of the address signals, and the GP_CSB signal, and then WR_CLK acts as a clock of the flip-flop to generate ALE, CLE, NFROM_CSB and ECC_RCE according to the received data value. Because. The thirteenth address signal [A13] and GP_CSB generate NAND_WEB and NAND_REB. As a result, two clocks are lost before and after each command is delivered.
도 8은 본 발명의 다른 실시 예에 따른 컴비네이션 로직의 상세 회로 구성도이다. 이하 도 8을 참조하여 본 발명에 따른 컴비네이션 로직의 회로 구성 및 연결 관계를 상세히 설명한다.8 is a detailed circuit diagram illustrating a combination logic according to another embodiment of the present invention. Hereinafter, a circuit configuration and connection relationship of the combination logic according to the present invention will be described in detail with reference to FIG. 8.
GP_CSB 신호는 제1논리합 게이트(OR1)와, 제2논리합 게이트(OR2) 및 제2반전 게이트(NOT2)로 입력된다. 제2반전 게이트(NOT2)는 상기 GP_CSB 신호를 반전하여 제1논리곱 게이트(AND1)와 제2논리곱 게이트(AND2)로 출력한다. 그러면 상기 제1논리곱 게이트(AND1)는 제12어드레스 신호[A12]를 입력으로 하여 상기 제2반전 게이트(NOT2)의 출력과 논리곱한 신호를 MCP_NAND_CLE로 출력한다. 그리고 상기 제2논리곱 게이트(AND2)는 제11어드레스 신호[A11]와 상기 제2논리곱 게이트(AND2)의 출력 신호를 논리곱 하고, 이를 MCP_NAND_CLE로 출력한다.The GP_CSB signal is input to the first logical sum gate OR1, the second logical sum gate OR2, and the second inversion gate NOT2. The second inversion gate NOT2 inverts the GP_CSB signal and outputs the inverted GP_CSB signal to the first logical gate AND1 and the second logical gate AND2. The first logical gate AND1 receives the twelfth address signal A12 and outputs a signal multiplied by the output of the second inverting gate NOT2 to MCP_NAND_CLE. The second logical gate AND2 performs an AND operation on the eleventh address signal A11 and the output signal of the second logical gate AND2 and outputs the result as MCP_NAND_CLE.
한편 상기 제1반전 게이트(NOT1)는 제13어드레스 신호[A13]를 반전하여 제1논리합 게이트(OR1)의 한 입력으로 출력하며, 다른 한 입력은 상술한 바와 같이 상기 GP_CSB의 신호가 된다. 따라서 상기 제1논리합 게이트(OR1)는 두 신호를 논리합 하여 NAND_CSB 신호를 출력한다. 그리고 제2논리합 게이트(OR2)는 상술한 바와 같이 GP_CSB 신호를 하나의 입력으로 하며, 다른 하나의 입력은 제10어드레스 신호[A10]을 제3반전 게이트(NOT3)에 의해 반전한 신호로 한다. 따라서 상기 제2논리합 게이트(OR2)는 상기 두 입력 신호를 논리합 하여 ECC_RCE 신호로 출력한다.The first inverting gate NOT1 inverts the thirteenth address signal A13 and outputs it to one input of the first logical sum gate OR1. The other input becomes the signal of the GP_CSB as described above. Accordingly, the first logical sum gate OR1 outputs a NAND_CSB signal by ORing two signals. As described above, the second logic gate OR2 uses the GP_CSB signal as one input, and the other input signal is a signal obtained by inverting the tenth address signal A10 by the third inversion gate NOT3. Therefore, the second logical sum gate OR2 performs an OR over the two input signals and outputs the ECC_RCE signal.
상술한 바와 같은 구성을 가지는 컴비네이션 로직은 도 9와 같은 타이밍도를 가진다. 상기 도 9는 본 발명의 제2실시 예에 따른 컴비네이션 로직을 가지는 경우 에러 정정 코드 생성부로 입력되는 신호의 타이밍도이다. The combination logic having the configuration as described above has a timing diagram as shown in FIG. 9 is a timing diagram of a signal input to an error correction code generation unit when the combination logic according to the second embodiment of the present invention is performed.
상기 도 9에서 볼 수 있는 바와 같이 상기 도 7과 대비할 경우 상기 타이밍도에서는 명령 신호의 전과 후에 2클럭의 지연이 발생하지 않게 된다. 이는 GP_CSB 신호의 성질을 이용한 것이다. 상기 GP_CSB 신호와 제10어드레스 신호[A10]와 상기 GP_CSB 신호와 제11어드레스 신호[A11]와 상기 GP_CSB 신호와 제12어드레스 신호[A12] 및 상기 GP_CSB 신호와 제13어드레스 신호[A13]을 각각 ECC_RCE, ALE, CLE, NAND_CSB를 생성하기 때문이다. 또한 제1실시 예에서와 같이 플립플롭을 이용하지 않기 때문이다.As shown in FIG. 9, in contrast to FIG. 7, a delay of 2 clocks does not occur before and after the command signal in the timing diagram. This is based on the nature of the GP_CSB signal. ECC_RCE is the GP_CSB signal, the tenth address signal [A10], the GP_CSB signal, the eleventh address signal [A11], the GP_CSB signal, the twelfth address signal [A12], and the GP_CSB signal and the thirteenth address signal [A13], respectively. This is because it generates ALE, CLE, and NAND_CSB. This is because the flip-flop is not used as in the first embodiment.
전술한 바와 같이 본 발명은 이동 단말기의 메모리를 가격과 용량 및 공급과 구매에 부담이 되는 배타적 논리합 플래시 메모리에서 고용량이면서 낮은 가격이 가능한 배타적 논리곱 게이트 플래시 메모리로 대체함으로서 이동 단말기의 가격을 절감할 수 있을 뿐만 아니라 성능 또한 개선할 수 있다. As described above, the present invention reduces the price of a mobile terminal by replacing the memory of the mobile terminal with an exclusive-OR gate flash memory capable of a high-capacity and low price in an exclusive-OR flash memory that is burdened with price, capacity, supply and purchase. Not only that, but it can also improve performance.
Claims (18)
Priority Applications (10)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA2544250A CA2544250C (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
EP02018217A EP1286263A3 (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
CA2426183A CA2426183C (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
AU2002326176A AU2002326176B2 (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
CN02802946.1A CN1207851C (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
US10/225,113 US6822902B2 (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
BR0205888-0A BR0205888A (en) | 2001-08-20 | 2002-08-20 | Device and method for interfacing between modem and mobile station memory |
PCT/KR2002/001575 WO2003017517A1 (en) | 2001-08-20 | 2002-08-20 | Apparatus and method for interfacing between modem and memory in mobile station |
JP2003521494A JP2005500604A (en) | 2001-08-20 | 2002-08-20 | Interface device and method between modem and memory in a mobile terminal |
US10/865,645 US6868011B2 (en) | 2001-08-20 | 2004-06-10 | Apparatus and method for interfacing between modem and memory in mobile station |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20010050012 | 2001-08-20 | ||
KR1020010050012 | 2001-08-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20030016156A KR20030016156A (en) | 2003-02-26 |
KR100860682B1 true KR100860682B1 (en) | 2008-09-26 |
Family
ID=27719825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020020033697A KR100860682B1 (en) | 2001-08-20 | 2002-06-17 | Apparatus and method for interfacing between modem and memory in mobile station |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR100860682B1 (en) |
RU (1) | RU2251796C2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001025053A (en) * | 1999-07-09 | 2001-01-26 | Mitsubishi Electric Corp | Memory system for portable telephone |
-
2002
- 2002-06-17 KR KR1020020033697A patent/KR100860682B1/en not_active IP Right Cessation
- 2002-08-20 RU RU2003111128/09A patent/RU2251796C2/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001025053A (en) * | 1999-07-09 | 2001-01-26 | Mitsubishi Electric Corp | Memory system for portable telephone |
Also Published As
Publication number | Publication date |
---|---|
KR20030016156A (en) | 2003-02-26 |
RU2251796C2 (en) | 2005-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8171281B2 (en) | Microprocessor boot-up controller connected to a processor and NAND flash memory for controlling the boot-up of a computer device | |
US9245634B2 (en) | Initialization of flash storage via an embedded controller | |
US5263168A (en) | Circuitry for automatically entering and terminating an initialization mode in a data processing system in response to a control signal | |
KR20070077463A (en) | Method of system booting with a direct memory access in a new memory architecture | |
US6810444B2 (en) | Memory system allowing fast operation of processor while using flash memory incapable of random access | |
US20040255205A1 (en) | Memory card and its initial setting method | |
KR100849296B1 (en) | Device and method for booting coprocessor of system having main processor and coprocessor | |
US5968156A (en) | Programmable peripheral component interconnect (PCI) bridge for interfacing a PCI bus and a local bus having reconstructable interface logic circuit therein | |
JP2005500604A (en) | Interface device and method between modem and memory in a mobile terminal | |
JP2005500604A6 (en) | Interface device and method between modem and memory in a mobile terminal | |
AU2002326176A1 (en) | Apparatus and method for interfacing between modem and memory in mobile station | |
US5664198A (en) | High speed access to PC card memory using interrupts | |
KR100860682B1 (en) | Apparatus and method for interfacing between modem and memory in mobile station | |
US8291270B2 (en) | Request processing device, request processing system, and access testing method | |
US5168562A (en) | Method and apparatus for determining the allowable data path width of a device in a computer system to avoid interference with other devices | |
KR100300281B1 (en) | Microcontroller integrated circuit, test station, and fabrication method having read-only memory including generic programs, such as test programs | |
CN115176313A (en) | Memory startup and initialization system and method | |
JP4431768B2 (en) | Portable electronic device, reading method and writing method | |
CN113467842B (en) | Method for starting embedded device suitable for industrial application scene, embedded device and computer readable storage medium | |
CA2544250C (en) | Apparatus and method for interfacing between modem and memory in mobile station | |
KR100526547B1 (en) | Method for managing nand flash memory in terminal including dual dhip | |
CN116775526B (en) | Expansion device and electronic equipment | |
CN220252843U (en) | Verification device for electronic fuse operation logic | |
CN115729601A (en) | Firmware updating method, device, equipment and computer readable storage medium | |
KR20050095961A (en) | Apparatus and method for initialization of system global variables using block input/output command |
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: 20120830 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20130829 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20140828 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20150828 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20160830 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |