KR100318214B1 - Data interface method between microcomputer and memory card - Google Patents

Data interface method between microcomputer and memory card Download PDF

Info

Publication number
KR100318214B1
KR100318214B1 KR1019980055945A KR19980055945A KR100318214B1 KR 100318214 B1 KR100318214 B1 KR 100318214B1 KR 1019980055945 A KR1019980055945 A KR 1019980055945A KR 19980055945 A KR19980055945 A KR 19980055945A KR 100318214 B1 KR100318214 B1 KR 100318214B1
Authority
KR
South Korea
Prior art keywords
data
card
microcomputer
memory card
spi
Prior art date
Application number
KR1019980055945A
Other languages
Korean (ko)
Other versions
KR20000040344A (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 KR1019980055945A priority Critical patent/KR100318214B1/en
Publication of KR20000040344A publication Critical patent/KR20000040344A/en
Application granted granted Critical
Publication of KR100318214B1 publication Critical patent/KR100318214B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • 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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Facsimiles In General (AREA)
  • Information Transfer Systems (AREA)

Abstract

본 발명은 마이컴과 메모리 카드와의 데이터 인터베이스 방법에 관한 것으로서, 상기 마이컴의 모드 확인 명령을 상기 메모리 카드로 전송하는 1단계; 상기 메모리 카드가 지원하는 통신모드를 상기 마이컴으로 전송하는 2단계; 상기 전송된 지원 통신모드에 대응하는 통신 프로토콜을 선택하는 3단계; 및 상기 선택된 통신 프로토콜을 이용하여 상기 메모리 카드와의 데이터 통신을 수행하는 4단계를 포함하여 이루어져, 메모리 카드의 종류에 따라 즉, 멀티미디어 카드 또는 멀티미디어 롬 카드에 따라 에스피아이(SPI)방식 또는 엠엠씨(MMC)방식의 통신 프로토콜을 선택적으로 사용하고 데이터 송신 및 수신상태에 따라 입/출력포트를 고속의 데이터 전송이 가능한 단방향의 에스피아이(SPI)포트 또는 양방향 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정함으로써, 에스피아이(SPI)포트를 구비한 통상의 마이컴을 이용하여 서로 다른 통신 프로토콜이 요구되는 복수의 메모리 카드와의 데이터 인터페이스를 용이하게 구현할 수 있는 매우 유용한 발명인 것이다.The present invention relates to a data interbase method between a microcomputer and a memory card, the method comprising: transmitting a mode confirmation command of the microcomputer to the memory card; Transmitting a communication mode supported by the memory card to the microcomputer; Selecting a communication protocol corresponding to the transmitted support communication mode; And performing data communication with the memory card using the selected communication protocol, according to the type of the memory card, that is, the multimedia card or the multimedia ROM card according to the SPI method or the MC. (MMC) communication protocol can be selectively used, and the input / output port can be used as a unidirectional SPI port for high-speed data transmission or a general input / output port for bi-directional data transmission / reception according to data transmission and reception status. The variable setting is a very useful invention that can easily implement a data interface with a plurality of memory cards requiring different communication protocols using a conventional microcomputer having an SPI port.

Description

마이컴과 메모리 카드와의 데이터 인터페이스 방법Data interface method between microcomputer and memory card

본 발명은, 마이컴과 메모리 카드와의 데이터 인터페이스 방법에 관한 것으로 더욱 상세하게는, 에스피아이(SPI: Serial Peripheral Interface)포트(Port)를 구비한 통상의 마이컴을 사용하여, 서로다른 방식의 통신 프로토콜이 요구되는 복수의 메모리 카드 즉, 멀티미디어 카드 또는 멀티미디어 롬(ROM) 카드와의 데이터 인터페이스를 용이하게 구현하는 마이컴과 메모리 카드와의 데이터 인터페이스 방법에 관한 것이다.The present invention relates to a data interface method between a microcomputer and a memory card, and more particularly, a communication protocol of a different method using a conventional microcomputer having a SPI (Serial Peripheral Interface) port. A data interface method between a microcomputer and a memory card which easily implements a data interface with a plurality of required memory cards, that is, a multimedia card or a multimedia ROM card.

최근에는, 전자기기 특히, 영상기록/재생장치 및 컴퓨터 등의 급속한 발전과 더불어 대용량의 데이터를 보다 용이하게 독출 및 기록할 수 있는 기록매체가 다수의 관련업체들로부터 급속히 개발, 제안되고 있는 데, 현재 상용화가 적극 추진되고 있는 대표적인 기록매체로서는 통상의 플래시 메모리(Flash Memory)를 기록매체로 사용하는 메모리 카드, 이른바 멀티미디어 카드(MMC)를 들 수 있다.Recently, with the rapid development of electronic devices, especially image recording / playback devices and computers, recording media that can read and record large amounts of data more easily have been rapidly developed and proposed by many related companies. Representative recording media for which commercialization is currently being actively promoted include a memory card using a conventional flash memory as a recording medium, a so-called multimedia card (MMC).

도 1은, 상기 멀티미디어 카드(MMC : Multimedia Card, 이하 'MMC' 라 함.)에 대한 구성을 개략적으로 도시한 것으로서, 상기 MMC 카드(1)는 데이터를 반복 기록 및 독출할 수 있는 비휘발성 메모리인 플래시(Flash)메모리(3); 상기 플래시 메모리(3)의 데이터를 독출 및 기록함과 아울러, 접속된 외부 마이컴(2)과의 인터페이스(Interface)를 수행하는 컨트롤러(Controller)(4)로 구성된다.FIG. 1 schematically shows a configuration of the multimedia card (MMC), wherein the MMC card 1 is a nonvolatile memory capable of repeatedly recording and reading data. In-flash memory 3; A controller 4 reads and writes data of the flash memory 3 and performs an interface with the connected external microcomputer 2.

상기와 같이 구성되는 MMC카드(1)는, 통상적으로 가로 24mm, 세로 32mm 및 두께 1.4mm의 크기로 제조되며, 상기 컨트롤러(4)는, MMC카드 개발과 함께 제안된 엠엠씨(MMC)방식의 통신 프로토콜(Protocol)은 물론 일반적인 에스피아이(SPI)방식의 통신 프로토콜(Protocol) 모두에 의해, 데이터 인터페이스가 이루어지도록 데이터 통신 프로토콜을 갖추고 있다.The MMC card 1 configured as described above is typically manufactured in a size of 24 mm wide, 32 mm long and 1.4 mm thick, and the controller 4 is of the MMC method proposed with the MMC card development. In addition to the communication protocol (Protocol) as well as the general SPI communication protocol (Protocol), a data communication protocol is provided so that the data interface is achieved.

그러나, 현재까지 개발 및 상용화된 통상의 마이컴(2)은, 상기 에스피아이(SPI)방식의 통신 프로토콜만을 사용하고 있으며, 또한 상기 마이컴(2)에 구비된 입/출력포트(Port)는 상기 에스피아이(SPI)방식에 최적 설계된 에스피아이(SPI) 전용 포트(Port)이다. 한편, 상기 에스피아이(SPI) 전용 포트는, 커맨드(Command)등을 포함한 데이터를 신속히 송신 또는 수신할 수 있는 단방향 입/출력포트로서, 양방향 데이터 송수신이 요구되는 엠엠씨(MMC)방식의 통신 프로토콜에는 부적합한 문제점이 있다.However, the conventional microcomputer 2 developed and commercialized so far uses only the communication protocol of the SPI method, and the input / output port provided in the microcomputer 2 is the SPP. This is a SPI dedicated port designed for SPI. On the other hand, the SPI dedicated port is a unidirectional input / output port capable of quickly transmitting or receiving data including a command, and is an MMC communication protocol requiring bidirectional data transmission and reception. There is an inadequate problem.

더욱이, 최근에는 독일의 최대 메모리 카드 생산업체인 지멘즈(Zimense)사(社)에서 멀티미디어 롬(Rom)카드를 개발 중에 있는 데, 상기 멀티미디어 롬(Rom)카드는, 엠엠씨(MMC)방식의 통신 프로토콜에 의해서만 데이터 독출이 이루어지기 때문에 에스피아이(SPI)방식의 통신 프로토콜을 사용하는 통상의 마이컴(2)을 이용해서는 상기 멀티미디어 롬(Rom)카드와의 데이터 인터페이스가 불가능하게 되는 문제점이 있다.In addition, recently, a multimedia ROM card is being developed by Siemens, Germany's largest memory card producer. The multimedia ROM card is an MMC type. Since the data is read only by the communication protocol, there is a problem that the data interface with the multimedia ROM card becomes impossible using the conventional microcomputer 2 using the SPI communication protocol.

따라서, 본 발명은 상기와 같은 문제를 해결하기 위해 창작된 것으로서, 메모리 카드의 종류, 즉 멀티미디어 카드 또는 멀티미디어롬 카드에 따라, 그에 상응하는 통신 프로토콜을 선택적으로 사용함과 아울러, 엠엠씨(MMC)방식의 통신 프로토콜에 의해서만 데이터 인터페이스가 가능한 멀티미디어 카드의 사용시, 단방향의 에스피아이(SPI) 전용 포트(Port)를 양방향의 일반 입/출력포트로 선택 절환함으로써, 멀티미디어 카드(MMC)는 물론, 멀티미디어 롬(ROM) 카드와의 데이터 인터페이스를 모두 가능하게 하는 마이컴과 메모리 카드와의 데이터 인터페이스 방법을 제공하는 데, 그 목적이 있는 것이다.Therefore, the present invention was created to solve the above problems, and according to the type of the memory card, that is, the multimedia card or the multimedia ROM card, and selectively use the corresponding communication protocol, the MC (MMC) method When using a multimedia card capable of data interface only by the communication protocol of the computer, the unidirectional SPI dedicated port is switched to a general bi-directional input / output port, so that the multimedia card (MMC) as well as the multimedia ROM ( It is an object of the present invention to provide a data interface method between a microcomputer and a memory card that enables both a data interface with a ROM) card.

도 1은 메모리 카드에 대한 개략적인 구성도를 도시한 것이고,1 is a schematic configuration diagram of a memory card,

도 2a 및 도 2는 멀티미디어 카드와 마이컴간의 접속상태 및 송수신 데이터를 도시한 것이고,2A and 2 illustrate a connection state and transmission / reception data between a multimedia card and a microcomputer,

도 3a 및 도 3b는 본 발명에 따른 마이컴과 멀티미디어 카드와의 데이터 인터페이스 방법에 대한 동작 흐름도를 도시한 것이고,3A and 3B illustrate an operation flowchart of a data interface method between a microcomputer and a multimedia card according to the present invention;

도 4a 및 도 4b는 멀티미디어 롬 카드와 마이컴의 접속상태 및 송수신 데이터를 도시한 것이고,4A and 4B illustrate a connection state and transmission / reception data of a multimedia ROM card and a microcomputer,

도 5는 본 발명에 따른 마이컴과 멀티미디어 롬 카드와의 데이터 인터페이스 방법에 대한 동작 흐름도를 도시한 것이고,5 is a flowchart illustrating an operation of a data interface method between a microcomputer and a multimedia ROM card according to the present invention;

도 6a 및 도 6b는 본 발명에 따른 데이터 포맷을 도시한 것이다.6A and 6B illustrate a data format according to the present invention.

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

1 : 메모리 카드 2 : 외부 마이컴1: memory card 2: external microcomputer

3 : 플래시(Flash)메모리 4 : 컨트롤러(Controller)3: Flash memory 4: Controller

상기와 같은 목적을 달성하기 위한 본 발명에 따른 마이컴과 메모리 카드와의 데이터 인터페이스 방법은, 상기 마이컴의 모드 확인 명령을 상기 메모리 카드로 전송하는 1단계: 상기 메모리 카드가 지원하는 통신모드를 상기 마이컴으로 전송하는 2단계; 상기 전송된 지원 통신모드에 대응하는 통신 프로토콜을 선택하는 3단계; 및 상기 선택된 통신 프로토콜을 이용하여 상기 메모리 카드와의 데이터 통신을 수행하는 4단계를 포함하여 이루어짐을 특징으로 한다.In accordance with another aspect of the present invention, there is provided a data interface method between a microcomputer and a memory card. The method may include: transmitting a mode check command of the microcomputer to the memory card. Transmitting to the second step; Selecting a communication protocol corresponding to the transmitted support communication mode; And performing data communication with the memory card using the selected communication protocol.

상기와 같이 이루어지는 본 발명에 따른 마이컴과 메모리 카드와의 데이터 인터페이스 방법은, 메모리 카드가 멀티미디어 카드인지 또는 멀티미디어 롬 카드 인지를 판별하고, 상기 판별결과 멀티미디어 카드이면, 에스피아이(SPI)방식의 통신 프로토콜을 사용하여 데이터 인터페이스를 수행하고, 멀티미디어 롬 카드이면, 엠엠씨(MMC)방식의 통신 프로토콜을 사용하여 데이터 인터페이스를 수행하는 한편, 데이터 송신 또는 수신상태에 따라 상기 에스피아이(SPI)포트를 양방향 데이터 송수신이 가능한 일반 입/출력포트로 선택 절환함으로써, 서로 다른 통신 프로토콜이 요구되는 멀티미디어 카드(MMC)와 멀티미디어 롬(ROM)카드와의 데이터 인터페이스가 이루어지는 것이다.In the data interface method between the microcomputer and the memory card according to the present invention, the memory card determines whether the memory card is a multimedia card or a multimedia ROM card. If the result of the determination is a multimedia card, an SPI communication protocol is used. In the case of a multimedia ROM card, the data interface is performed using an MMC communication protocol, and the SPI port is bidirectional data depending on a data transmission or reception state. By selectively switching to a general input / output port capable of transmitting and receiving, a data interface between a multimedia card (MMC) and a multimedia ROM (ROM) card requiring different communication protocols is achieved.

이하, 본 발명에 따른 메모리 카드와의 데이터 인터페이스 방법에 대해 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a data interface method with a memory card according to the present invention will be described in detail with reference to the accompanying drawings.

우선, 도 2a 및 도 2b는 멀티미디어 카드(MMC)와 외부 마이컴(Micom), 예를 들어, 영상기록/재생장치 내에 구비된 마이컴과의 접속상태 및 에스피아이(SPI)포트의 송/수신 데이터를 도시한 것으로서, 특히 도 2a는 에스피아이(SPI)방식의 통신 프로토콜을 이용하여 상기 MMC 카드(1)의 데이터를 독출 및 기록하기 위한 접속상태를 도시한 것이다. 상기 에스피아이(SPI)방식의 통신 프로토콜은, 상기 MMC카드(1)와 외부 마이컴(2)간의 접속 포트를 단방향의 에스피아이(SPI)포트 4개(P0∼P3)를 사용하여, 직렬 클록(SCK: Serial Clock, 이하 'SCK'라 함.), 직렬 데이터 출력(SDO: Serial Data Out, 이하 'SDO'라 함.), 직렬 데이터 입력(SDI: Serial Data In, 이하 'SDI'라 함.) 및 카드선택 출력 (CS: Card Select, 이하 'CS'라 함.)을 송신 또는 수신한다. 이하, 상기 에스피아이(SPI) 방식을 이용한 MMC카드와의 데이터 인터페이스 동작을 설명하면 다음과 같다.First, FIGS. 2A and 2B show connection states between a multimedia card (MMC) and an external micom, for example, a microcomputer provided in an image recording / playback apparatus, and transmission / reception data of an SPI port. As shown, in particular, Fig. 2A shows a connection state for reading and recording data of the MMC card 1 using a SPI communication protocol. In the SPI communication protocol, a serial clock (SPI) port using four unidirectional SPI ports (P0 to P3) is used as a connection port between the MMC card (1) and the external microcomputer (2). SCK: Serial Clock, hereinafter referred to as 'SCK'), Serial Data Output (SDO: Serial Data Out, hereinafter referred to as 'SDO'), Serial Data Input (SDI: Serial Data In, hereinafter referred to as 'SDI'). ) And card select output (CS: Card Select, hereinafter referred to as 'CS'). Hereinafter, a data interface operation with the MMC card using the SPI method will be described.

도 3a 및 도 3b는 멀티미디어 카드(MMC)와의 데이터 인터페이스에 대한 동작 흐름도로서, 우선, 도 3a에 도시한 데이터 기록(Write)동작은, 기록동작을 요구하는 외부 키가 마이컴(2)으로 입력되면, 상기 마이컴(2)은 영상기록/재생장치의 동작모드를 기록(Write)모드로 설정하고(S01), 통신 프로토콜을 에스피아이(SPI)방식으로 리셋(Reset)하는 커맨드(Command)를 MMC카드(1)의 컨트롤러(4)로 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답을 체크(S02)한다. 이후 상기 마이컴(2)은 에스피아이(SPI)방식으로 리셋된 MMC카드 즉 플래시 메모리(3)의 데이터 기록영역을 지정하기 위한 기록영역 커맨드(Write Block Command)를 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답을 체크(S03)한다. 상기 체크 결과(S04), 정상응답이 수신되었으면, 하나의 데이터 블록단위인 512 바이트 즉, 기록하고자하는 데이터를 블록단위로 전송(S05)하고, 전송에러 여부를 체크하기 위하여 16비트의 순환 중복 검사(CRC: Cyclic Redundancy Checking, 이하 'CRC'라 함.)코드를 전송(S06)한다.3A and 3B are an operation flowchart for a data interface with a multimedia card MMC. First, in the data write operation shown in FIG. 3A, when an external key requesting a recording operation is input to the microcomputer 2, FIG. The microcomputer 2 sets the operation mode of the video recording / reproducing apparatus to the write mode (S01), and issues a command to reset the communication protocol to the SPI method by using the MMC card. After transmitting to the controller 4 of (1), the response received from the controller 4 is checked (S02). Thereafter, the microcomputer 2 transmits a write block command for designating a data recording area of the MMC card, that is, the flash memory 3, which has been reset by the SPI method, and then the controller 4 Check the response received from (S03). As a result of the check (S04), if a normal response is received, 512 bytes, that is, one data block unit, that is, data to be recorded are transmitted in block units (S05), and a 16-bit cyclic redundancy check is performed to check for a transmission error. (CRC: Cyclic Redundancy Checking, hereinafter referred to as 'CRC'.) The code is transmitted (S06).

이후, 상기 동작을 반복 수행하면서, 파일 엔드(File End)를 검출(S07)하여, 기록동작을 종료(S08)함으로써, 기록하고자 하는 데이터 파일을 MMC 카드의 플래시 메모리(3)에 기록(Write)하게 되는 것이다. 상기와 같은 데이터 기록동작은, 데이터를 고속 전송하는 단방향의 에스피아이(SPI) 전용 포트상태에서 이루어지도록 한다.Subsequently, while repeating the above operation, the file end is detected (S07) and the recording operation is terminated (S08), thereby writing the data file to be written to the flash memory 3 of the MMC card. Will be done. Such a data recording operation is performed in a unidirectional SPI dedicated port for high-speed data transfer.

한편, 도 3b는 데이터 독출(Read)동작에 대한 흐름도로서, 독출동작을 요구하는 외부 키가 마이컴(2)으로 입력되면, 상기 마이컴(2)은 영상기록/재생장치의 동작모드를 독출(Read)모드로 설정하고(S11), 통신 프로토콜을 에스피아이(SPI)방식으로 리셋(Reset)하는 커맨드(Command)를 MMC카드(1)의 컨트롤러(4)로 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답을 체크(S12)한다. 이후 상기 마이컴(2)은 에스피아이(SPI)방식으로 리셋된 MMC카드 즉 플래시 메모리(3)의 데이터 독출영역을 지정하기 위한 독출영역 커맨드(Read Block Command)를 다시 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답을 체크(S13)한다. 상기 체크 결과(S14), 정상응답이 수신되면, 설정된 단방향의 에스피아이(SPI)전용 포트를 양방향 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정(S15)하고, 상기 가변 설정된 일반 입/출력포트를 통하여 상기 MMC카드로부터 독출되는 데이터를 데이터 블록단위 즉,512 바이트에 해당하는 데이터 블록단위로 수신(S16)한 후, 전송에러 여부를 체크하기 위한 16비트의 CRC코드를 수신(S17)한다. 이후 상기 동작을 반복 수행하면서 수신되는 파일 엔드(File End)를 검출(S18)하여, 독출동작을 종료(S19)함으로써, 독출하고자 하는 임의의 데이터 파일을 MMC 카드의 플래시 메모리(3)로부터 독출(Read)하게 되는 것이다. 상기와 같은 데이터 독출동작은, 단방향의 에스피아이(SPI)전용 포트를 양방향의 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정함으로써 이루어진다.3B is a flowchart illustrating a data read operation. When an external key requesting a read operation is input to the microcomputer 2, the microcomputer 2 reads an operation mode of the video recording / reproducing apparatus. Mode (S11), and transmits a command to reset the communication protocol to the SPI method to the controller 4 of the MMC card 1, and then from the controller 4 Check the received response (S12). Thereafter, the microcomputer 2 retransmits a read area command (Read Block Command) for designating a data read area of the MMC card, that is, the flash memory 3, which has been reset by the SPI method, and then the controller 4 Check the response received from the (S13). As a result of the check (S14), when the normal response is received, the variable unidirectional SPI dedicated port is variably set to a general input / output port capable of bidirectional data transmission and reception (S15), and the variable set general input / output port After receiving the data read from the MMC card through a data block unit, that is, a data block unit corresponding to 512 bytes (S16), and receives a 16-bit CRC code for checking whether there is a transmission error (S17). Thereafter, while repeatedly performing the above operation, a file end received is detected (S18), and the read operation is terminated (S19), thereby reading an arbitrary data file to be read from the flash memory 3 of the MMC card ( Read). The data read operation is performed by variably setting a unidirectional SPI dedicated port to a general input / output port capable of bidirectional data transmission and reception.

이와같이 에스피아이(SPI)방식 및 엠엠씨(MMC)방식의 통신 프로토콜을 선택적으로 사용할 수 있는 MMC카드의 경우, 에스피아이(SPI)방식의 통신 프로토콜을 사용하는 통상의 마이컴을 사용하되, 데이터 독출시, 단방향의 에스피아이(SPI)포트를 양방향의 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정함으로써, 상기 MMC카드와의 데이터 인터페이스 즉 기록 및 독출동작이 이루어지는 것이다.In the case of the MMC card that can selectively use the SPI and MMC communication protocols, a normal microcomputer using the SPI communication protocol should be used. By variably setting the unidirectional SPI port to a general input / output port capable of bidirectional data transmission and reception, a data interface with the MMC card, that is, writing and reading operation, is performed.

한편, 전술한 바와 같이 엠엠씨(MMC)방식의 통신 프로토콜을 반드시 사용해야 하는 멀티미디어 롬(ROM) 카드와의 데이터 인터페이스 방법은 이하 첨부된 도면을 참조하여 상세히 설명한다.Meanwhile, as described above, a data interface method with a multimedia ROM card that must use an MMC communication protocol will be described in detail with reference to the accompanying drawings.

우선, 도 4a 및 도 4b는 멀티미디어 롬(ROM) 카드와 외부 마이컴(Micom). 예를 들어, 영상기록/재생장치 내에 구비된 마이컴간에 접속상태 및 입/출력포트의 전송 데이터를 도시한 것으로서, 특히 도 4a는 에스피아이(SPI)방식 및 엠엠씨(MMC)방식의 통신 프로토콜을 공용하기 위하여 풀업(Pull-Up)저항(R1,R2,R3,R4)이 4개의 포트(P0,P1,P2,P3) 각각에 접속되어 있으며, 상기 포트(P0∼P3)는 에스피아이(SPI)방식인 경우, SCK, SDO, SDI 및 CS을 송신 또는 수신하며, 엠엠씨(MMC)방식인 경우, CLK(Clock), CMD(Command) 및 DAT(Data)를 각각 송/수신한다. 상기와 같이 구성 및 접속되는 멀티미디어 롬(ROM) 카드와의 데이터 인터페이스 즉, 데이터 독출 동작은 도 5와 같다.First, FIGS. 4A and 4B show a multimedia ROM card and an external micom. For example, the connection state and the transmission data of the input / output ports between the microcomputers provided in the video recording / reproducing apparatus are shown. In particular, FIG. 4A illustrates the communication protocols of the SPI and MMC schemes. For common use, pull-up resistors R1, R2, R3, and R4 are connected to each of the four ports P0, P1, P2, and P3, and the ports P0 to P3 are SPI. ), SCK, SDO, SDI and CS are transmitted or received, and in the case of MMC (MMC), CLK (Clock), CMD (Command) and DAT (Data) are respectively transmitted / received. A data interface, that is, a data read operation, with a multimedia ROM card constructed and connected as described above is illustrated in FIG. 5.

도 5는 멀티미디어 롬(ROM) 카드와의 데이터 인터페이스 방법에 대한 동작 흐름도로서, 데이터 독출(Read)동작을 요구하는 외부 키가 상기 마이컴(2)으로 입력되면, 우선, 입/출력포트(P0∼P3)를 단방향의 에스피아이(SPI)포트로 설정(S50)하고, 접속된 메모리 카드와의 인터페이스를 위하여 에스피아이(SPI)방식으로 리셋(Reset)하는 커맨드(Command)를 상기 접속된 메모리 카드(1)의 컨트롤러(4)로 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답 즉, 메모리 카드(1)의 종류 또는 인터페이스할 수 있는 통신 프로토콜에 대한 정보를 수신, 체크(S51)하고, 상기 응답결과(S52)에 따라 상기 접속된 카드(1)가 에스피아이(SPI)방식을 사용할 수 있는 MMC 카드인 지. 또는, 엠엠씨(MMC)방식으로만 데이터를 인터페이스할 수 있는 멀티미디어 롬(ROM) 카드인가를 판별하는 데, 상기 응답이 정상적으로 수신되는 경우. 상기 접속된 카드가 MMC카드라고 판별하여, 도 3a 및 도 3b에서 전술한 바 있는 에스피아이(SPI)방식으로 데이터 인터페이스를 수행(S100)하고, 상기 응답이 정상적으로 수신되지 않는 경우에는 상기 접속된 카드가 멀티미디어 롬(ROM) 카드라고 판별하여,상기 멀티미디어 롬(ROM) 카드와의 인터페이스가 가능한 엠엠씨(MMC)방식의 통신 프로토콜로 리셋(Reset)하는 커맨드(Command)를 상기 멀티미디어 롬(ROM) 카드(1)의 컨트롤러(4)로 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답을 체크(S53)한다.FIG. 5 is a flowchart illustrating a data interface method with a multimedia ROM card. When an external key for requesting data read operation is input to the microcomputer 2, first, input / output ports P0 to FIG. P3) is set as a unidirectional SPI port (S50), and a command for resetting in an SPI mode for an interface with a connected memory card is provided. After transmitting to the controller 4 of 1), a response received from the controller 4, i.e., information about the type of the memory card 1 or a communication protocol that can be interfaced, is received and checked (S51). The connected card 1 is an MMC card which can use the SPI method according to the response result S52. Or, it is determined whether it is a multimedia ROM card capable of interfacing data only by the MMC, and the response is normally received. If it is determined that the connected card is an MMC card, and performs a data interface (S100) using the SPI method described above with reference to FIGS. 3A and 3B (S100), and if the response is not normally received, the connected card. Is a multimedia ROM card, and resets the multimedia ROM card to a MMC communication protocol capable of interfacing with the multimedia ROM card. After transmitting to the controller 4 of (1), the response received from the controller 4 is checked (S53).

이후, 엠엠씨(MMC)방식의 통신 프로토콜로 리셋된 멀티미디어 롬 (ROM) 카드즉 플래시 메모리(3)의 데이터 독출영역을 지정하기 위한 독출영역 커맨드(Read Block Command)를 전송하는 데, 이때 마이컴(2)은 상기 독출영역 커맨드를 에스피아이(SPI)포트상태에서 고속으로 전송한 후, 상기 컨트롤러(4)로부터 수신되는 응답을 체크(S54)하고, 정상응답 수신시 단방향의 에스피아이(SPI)포트를 양방향 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정(S55)한다.Thereafter, a read block command for specifying a data read area of the multimedia ROM card, that is, the flash memory 3, which has been reset using an MMC communication protocol is transmitted. 2) After the read area command is transmitted at high speed in the SPI port state, the controller checks the response received from the controller 4 (S54), and receives a unidirectional SPI port when receiving a normal response. Set the variable to the general input / output port capable of bi-directional data transmission (S55).

이후, 상기 가변 설정된 일반 입/출력포트를 통하여 수신되는 데이터 라인 시작(Start) 데이터를 체크(S56)하고, 상기 체크결과(S57)에 따라 멀티미디어 롬(ROM) 카드로부터 독출되는 데이터를 블록단위로 즉, 512 바이트에 해당하는 데이터 블록단위로 수신(S58)한다. 이후, 데이터 전송종료를 알리는 엔드 비트(End Bit) 및 파일 엔드(File End) 데이터를 검출(S59,S60)하여 상기 독출(Read)동작을 종료함으로써, 독출하고자 하는 임의의 데이터 파일을 멀티미디어 롬(ROM) 카드(1)로부터 독출(Read)하게 되는 것이다.Thereafter, the data line start data received through the variable set general input / output port is checked (S56), and data read from the multimedia ROM card according to the check result (S57) in block units. That is, the data is received in units of data blocks corresponding to 512 bytes (S58). Thereafter, the end bit and the file end data indicating the end of data transmission are detected (S59 and S60), and the read operation is terminated, so that any data file to be read is read by the multimedia ROM ( ROM) is read from the card (1).

이하, 첨부된 도6 및 도 6b를 참조하여 상기 동작을 보다 상세히 설명한다.Hereinafter, the operation will be described in more detail with reference to FIGS. 6 and 6B.

도 6a 및 도 6b는 본 발명에 따른 데이터 포맷을 도시한 것으로, 우선 전술한 바와 같이, 상기 마이컴(2)은 멀티미디어 카드(MMC) 또는 멀티미디어 롬(ROM) 카드와의 데이터 인터페이스를 위해서는 전송방식을 결정해야 함으로 도 6a의 (a)와 같은 포맷의 SPI 커맨드(Command)를 접속된 카드로 전송하고, R1 리스펀스(Response)를 체크하여 정상적인 리스펀스(Response)가 체크되지 않으면,상기 접속된 카드를 멀티미디어 롬(ROM) 카드로 인식하고, 도 6a의 (b)와 같은 포맷의 MMC 커맨드(Command)를 전송하는 데, 상기 MMC 커맨드(Command)는 메모리 카드와의 인터페이스 방식을 MMC 방식으로 설정(Reset)하는 것이다. 한편, 상기 MMC 커맨드(Command)의 경우, 별도의 리스펀스(Response)가 없기 때문에 또다른 커맨드(Command) 즉, 리스펀스가 있는 커맨드 2(All_Send_CID)를 연속적으로 전송하고, 그에 따른 리스펀스를 체크하며, 이후 상기 멀티미디어 롬 카드로부터 독출할 데이터 독출 블록(Block)의 길이(Length)를 구한다.6A and 6B illustrate a data format according to the present invention. First, as described above, the microcomputer 2 uses a transmission scheme for data interface with a multimedia card (MMC) or a multimedia ROM (ROM) card. 6A (S), the SPI command of the format shown in FIG. 6A is transmitted to the connected card, and if the normal response is not checked by checking the R1 response, the connected card is multimedia. Recognizes as a ROM card, and transmits an MMC command having a format as shown in FIG. 6A (b). The MMC command resets an interface method with a memory card to an MMC method. It is. In the case of the MMC command, since there is no response, another command, that is, the command 2 (All_Send_CID) having a response, is continuously transmitted, and the response is checked. The length of the data read block to be read from the multimedia ROM card is obtained.

만일, 상기 과정에서 전송방식이 SPI 방식을 사용할 수 있는 경우, 즉 멀티미디어 카드(MMC)와 접속된 경우, 상기 도 3b를 참조하여 설명한 바와 같은 데이터 인터페이스를 수행하면 된다.If, in the above process, the transmission method can use the SPI method, that is, when connected to the multimedia card (MMC), the data interface as described above with reference to FIG. 3B may be performed.

그러나, MMC 방식만을 지원하는 멀티미디어 롬(ROM) 카드인 경우, 상기와 같이 인터페이스 방식을 MMC 방식으로 설정(Reset)해야 하며, 이후 커맨드 3와 리스펀스는 도 6b의 (c)에서 도시한 커맨드(Command) 및 리스펀스(Response) 타이밍을 만족시켜야 한다. 한편, 상기 커맨드 3의 포맷은 상기 도 6a의 (a)와 같은 포맷을 따르기 때문에, SPI 방식으로 호스트(Host)커맨드 0x43, 0x00, 0x01, 0xff, 0xff, 0xff를 MMC 카드로 전송하고, NCR 싸이클(Cycle)(2∼64클록)을 만족시키기 위하여 SPI 전용 포트를 일반 포트(Port)로 전환한다.However, in the case of a multimedia ROM card that supports only the MMC method, the interface method must be reset to the MMC method as described above, and then the command 3 and the response are shown in (c) of FIG. 6B. ) And the response timing. On the other hand, since the format of the command 3 follows the format shown in FIG. In order to satisfy (Cycle) (2 to 64 clocks), switch the SPI dedicated port to a regular port.

즉, 에스피아이 모드이면 단방향 송수신을 위해 SCK,SD1,SD0,CS 포트를 사용하게 하고, 엠엠씨 모드이면 SCK를 CLK, SDI를 CMD로, SDO를 DAT 포트로 사용하고 CS는 사용하지 않도록 마이컴의 프로그램 작성시 미리 설정함으로써, 모드가 확정되면 자동으로 절환되도록 하는 것으로, 도 4a에 도시한 바 있는 출력포트 P0-SCK를 입력포트로 전환한 후, 2클록(CLK)을 발생시키고, 포트 P1의 값이 스타트 비트(Start Bit)인지를 다시 체크하는 데, 상기 체크결과 스타트 비트가 아니면, 상기 스타트 비트가 검출될 때까지 최대 64클록까지 반복하고, 상기 스타트 비트가 검출되면, 포트 P1의 전송 값을 체크하는 한편, 포트 P0--SCK로 1클록(CLK)을 발생시키고 난 후, 콘텐트(Content), 씨알씨(CRC), 엔드 비트(E: End Bit)등을 연속 체크하면서 포트 P0--SCK로 1클록(CLK)을 계속 발생시킨다. 이후 상기 엔드 비트(E)가 검출되면 상 기 체크동작을 완료한다. 한편, 데이터를 독출하기 위해서는 도 6b의 (d)와 같은 독출 블록의 전송 프로토콜을 만족시켜야하기 때문에 상기 인터페이스 방식을 MMC 방식으로 설정한 후, 먼저 SPI 방식으로 호스트 커맨드(Host Command) 0x51, 0x00, 0x00, 0x00, 0x00, 0xff를 MMC 카드에 전송하는 데, 상기 0x51은 블록 독출 커맨드(Command)가 커맨드 17이기 때문이다.In other words, if SPI mode is used, SCK, SD1, SD0, CS ports are used for one-way transmission and reception. In MC mode, SCK is used as CLK, SDI as CMD, SDO is used as DAT port, and CS is not used. By setting in advance at the time of program creation, the mode is automatically switched when the mode is determined. After switching the output port P0-SCK shown in Fig. 4A to the input port, two clocks (CLK) are generated and the port P1 To check again whether the value is a Start Bit, if the check result is not a Start Bit, repeat up to 64 clocks until the Start Bit is detected, and if the Start Bit is detected, send the value of the port P1. On the other hand, after generating one clock (CLK) with the ports P0--SCK, check the content, the CRC, the end bit (E: End Bit), and so on. Continue to generate one clock (CLK) with SCK. After the end bit (E) is detected, the check operation is completed. On the other hand, in order to read the data, the transmission protocol of the read block as shown in (d) of FIG. 6B must be satisfied. After setting the interface method to the MMC method, the host command 0x51, 0x00, 0x00, 0x00, 0x00, and 0xff are transmitted to the MMC card since 0x51 is the block 17 command.

이후, NCR 싸이클(2∼64클록)을 만족시켜야하기 때문에 SPI 전용포트를 일반 포트로 전환하는 데, 먼저 포트 P1--SCK를 입력포트로 전환하며, 포트 P0--SDO로 2클록을 발생시키고, 포트 P1의 값이 스타트 비트(Start Bit)인 지를 체크한다. 상기 체크결과 스타트 비트가 아니면 P0--SCK 포트로 1클록을 발생시키고, 포트 P1에서 스타트 비트 검출될 때까지 상기 동작을 최대 64클록 반복한다. 한편, 스타트 비트가 검출되면, 포트 P1의 전송 값을 체크하는 한편, 포트 P1--SCK로 1클록 발생시키고, 이후 포트 P2--SDI의 값이 스타트 비트인 지를 체크하고, 포트 P0--SCK로 1클록을 발생시킨다. 이후 상기와 같은 동작을 반복하여 포트 P2--SDI의 값이 스타트 비트일 때를 검출하고, 상기 스타트 비트가 검출되면, 독출 데이터를 저장할 임시 버퍼(rxdata, 미도시)를 임의로 설정하며, 직렬(Serial) 1비트 단위로 독출된 데이터를 1바이트 단위로 상기 버퍼의 저장블록 0(rxdata 0)에 저장한 후, 시프트(Shift)하고, 포트 P0--SCK로 1클록을 발생시키는 상기 동작을 8회 반복하여 1바이트의 독출 데이터를 상기 버퍼에 저장한다. 따라서, 상기 저장된 1바이트 데이터 독출 및 저장 동작을 512번 반복한 후, 다시 2바이트를 더 독출하면, 완전한 1블록단위의 데이터를 독출하게 되는 것이다.Since the NCR cycle (2 to 64 clocks) must be satisfied, SPI dedicated ports are converted to general ports. First, switch ports P1--SCK to input ports, and generate 2 clocks with ports P0--SDO. Check that the value of port P1 is the Start Bit. If the check result is not the start bit, one clock is generated to the P0-SCK port, and the operation is repeated up to 64 clocks until the start bit is detected at the port P1. On the other hand, when the start bit is detected, the transmission value of the port P1 is checked, one clock is generated by the ports P1--SCK, and then it is checked whether the value of the port P2--SDI is the start bit, and the ports P0--SCK Generates 1 clock. Thereafter, the above operation is repeated to detect when the value of the port P2-SDI is the start bit, and when the start bit is detected, a temporary buffer (rxdata, not shown) to store read data is arbitrarily set, and serial ( Serial) After the data read in 1 bit unit is stored in the storage block 0 (rxdata 0) of the buffer in 1 byte unit, it is shifted and 8 clocks are generated by the ports P0--SCK. Repeated times, one byte of read data is stored in the buffer. Therefore, after repeating the stored 1-byte data reading and storing operations 512 times, and reading out 2 bytes again, the data of a single block unit is read.

이와같이 엠엠씨(MMC)방식의 통신 프로토콜만으로 데이터 독출이 가능한 멀티미디어 롬(ROM) 카드의 경우, 에스피아이(SPI)포트를 구비한 통상의 마이컴에 엠엠씨(MMC)방식의 통신 프로토콜과, 데이터 송신 및 수신상태에 따라 상기 에스피아이(SPI)포트를 선택적으로 양방향의 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정함으로써, 상기 멀티미디어 롬(ROM) 카드의 데이터 독출동작이 이루어지는 것이다.In the case of a multimedia ROM card capable of reading data using only an MMC communication protocol, an MMC communication protocol and data transmission are performed to a conventional microcomputer equipped with an SPI port. And variablely setting the SPI port to a general input / output port capable of selectively transmitting and receiving data in both directions according to a reception state, thereby performing a data reading operation of the multimedia ROM card.

상기와 같이 구성되고 이루어지는 본 발명에 따른 마이컴과 메모리 카드와의 데이터 인터페이스 방법은, 메모리 카드의 종류에 따라 즉, 멀티미디어 카드 또는 멀티미디어 롬 카드에 따라 에스피아이(SPI)방식 또는 엠엠씨(MMC)방식의 통신 프로토콜을 선택적으로 사용하고, 데이터 송신 및 수신상태에 따라 입/출력포트를 고속의 데이터 전송이 가능한 단방향의 에스피아이(SPI)포트 또는 양방향 데이터 송수신이 가능한 일반 입/출력포트로 가변 설정함으로써, 에스피아이(SPI)포트를 구비한 통상의 마이컴을 이용하여 서로 다른 통신 프로토콜이 요구되는 복수의 메모리 카드 즉, 멀티미디어 카드 및 멀티미디어 롬 카드와의 데이터 인터페이스를 용이하게 구현할 수 있게 되는 매우 유용한 발명인 것이다.The data interface method between the microcomputer and the memory card according to the present invention configured and configured as described above is based on the type of the memory card, that is, the multimedia card or the multimedia ROM card, according to the SPI or MMC method. By selectively using the communication protocol and variablely setting the input / output port to the unidirectional SPI port for high speed data transmission or the general input / output port for bidirectional data transmission and reception according to the data transmission and reception status. It is a very useful invention that can easily implement a data interface with a plurality of memory cards that require different communication protocols, that is, a multimedia card and a multimedia ROM card, using a conventional microcomputer having an SPI port. .

Claims (3)

마이컴과 메모리 카드와의 데이터 인터페이스 방법에 있어서,In the data interface method between a microcomputer and a memory card, 상기 마이컴의 모든 확인 명령을 상기 메모리 카드로 전송하는 1단계;Transmitting all confirmation commands of the microcomputer to the memory card; 상기 메모리 카드가 지원하는 통신모드를 상기 마이컴으로 전송하는 2단계:Step 2 of transmitting a communication mode supported by the memory card to the microcomputer: 상기 전송된 지원 통신모드에 대응하는 통신 프로토콜을 선택하는 3단계: 및Selecting a communication protocol corresponding to the transmitted supported communication mode; and 상기 선택된 통신 프로토콜을 이용하여, 상기 메모리 카드와의 데이터 통신을 수행하는 4단계를 포함하여 이루어짐을 특징으로 하는 마이컴과 메모리 카드와의 데이터 인터페이스 방법.And data communication with the memory card using the selected communication protocol. 4. 제 1항에 있어서,The method of claim 1, 상기 3단계는, 상기 전송된 지원 통신모드에 대응하여 에스피아이(SPI) 모드 또는 엠엠씨(MMC) 모드로 통신 프로토콜을 선택하는 것을 특징으로 하는 메모리 카드와의 데이터 인터페이스 방법.In step 3, a communication protocol is selected in an SPI mode or an MMC mode in response to the transmitted supported communication mode. 제 1항에 있어서,The method of claim 1, 상기 3단계에서, 상기 통신모드가 엠엠씨 모드로 선택되는 경우, 상기 메모리 카드로부터 통신시작 데이터를 검출하여 출력포트를 양방향 입/출력 포트로 가변 설정함을 특징으로 하는 마이컴과 메모리 카드와의 데이터 인터페이스 방법.In step 3, when the communication mode is selected as the MC mode, the data between the microcomputer and the memory card is configured to detect the communication start data from the memory card and variably set the output port to the bidirectional input / output port. Interface method.
KR1019980055945A 1998-12-15 1998-12-15 Data interface method between microcomputer and memory card KR100318214B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980055945A KR100318214B1 (en) 1998-12-15 1998-12-15 Data interface method between microcomputer and memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980055945A KR100318214B1 (en) 1998-12-15 1998-12-15 Data interface method between microcomputer and memory card

Publications (2)

Publication Number Publication Date
KR20000040344A KR20000040344A (en) 2000-07-05
KR100318214B1 true KR100318214B1 (en) 2002-04-22

Family

ID=19563575

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980055945A KR100318214B1 (en) 1998-12-15 1998-12-15 Data interface method between microcomputer and memory card

Country Status (1)

Country Link
KR (1) KR100318214B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100441601B1 (en) * 2001-10-19 2004-07-23 삼성전자주식회사 Memory card, digital device and Method for interfacing data between memory card and digital device
KR100866625B1 (en) * 2007-02-26 2008-11-03 삼성전자주식회사 Method and system for interfacing a plurality of memory devices using MMC or SD protocol

Also Published As

Publication number Publication date
KR20000040344A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
KR100545457B1 (en) External storage device
US7363441B2 (en) Portable storage apparatus and method for freely changing data bus width
US7374108B2 (en) Write protection and use of erase tags in a single host multiple cards system
JP4896450B2 (en) Storage device
JP4817836B2 (en) Card and host equipment
KR20030033029A (en) Multiple removable non-volatile memory cards serially communicating with a host
JP2008547068A (en) USB-SD storage device having a plurality of DMA channels, storage method thereof and recording medium
US6128670A (en) Image input device employing a personal computercard/interface or generic interface
JPH0254387A (en) Transmission system for portable electronic device
JP3480746B2 (en) Portable electronic devices
WO2003071436A1 (en) External connection device, host device, and data communication system
US7831755B2 (en) Method and system for interfacing a plurality of memory devices using an MMC/SD protocol
KR20200095526A (en) Flash memory controller, SD card device, method used in flash memory controller, and host device connected to SD card device
WO2003071437A1 (en) External connection device, host device, and data communication system
KR100318214B1 (en) Data interface method between microcomputer and memory card
US7257669B2 (en) Method for addressing a memory card, a system using a memory card, and a memory card
JPH10268900A (en) Voice recording and reproducing device
JPWO2002069127A1 (en) Storage medium control method, storage medium control device, and storage medium adapter
JPH0546490A (en) Memory card device
JP3117244B2 (en) EEPROM control device
JP3625879B2 (en) Information recording medium with memory check function
US20090113154A1 (en) Non-Volatile Memory Apparatus and Method of Accessing the Same
EP0784325A1 (en) Flash memory system
JP2011192137A (en) Memory card control system, memory card control device and memory card control method
JP2008123450A (en) Recording medium and electronic apparatus capable of accessing memory

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: 20110920

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20121128

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee