DE20321576U1 - Interface of a multi-function memory card - Google Patents

Interface of a multi-function memory card Download PDF

Info

Publication number
DE20321576U1
DE20321576U1 DE20321576U DE20321576U DE20321576U1 DE 20321576 U1 DE20321576 U1 DE 20321576U1 DE 20321576 U DE20321576 U DE 20321576U DE 20321576 U DE20321576 U DE 20321576U DE 20321576 U1 DE20321576 U1 DE 20321576U1
Authority
DE
Germany
Prior art keywords
data
packet
memory card
interface according
communication
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
DE20321576U
Other languages
German (de)
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Carry Computer Engineering Co Ltd
Original Assignee
Carry Computer Engineering Co Ltd
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
Priority claimed from TW91117942A external-priority patent/TWI261788B/en
Application filed by Carry Computer Engineering Co Ltd filed Critical Carry Computer Engineering Co Ltd
Publication of DE20321576U1 publication Critical patent/DE20321576U1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4247Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
    • G06F13/426Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus using an embedded synchronisation, e.g. Firewire bus, Fibre Channel bus, SSA bus

Abstract

Schnittstelle mit Kommunikationsprotokoll einer Vielfunktion-Speicherkarte, das einen Halbduplex- und 4-Bit-Serienberieb verwendet, wobei beim CLK-Signal in jeder Taktperiode eine 4-Bit-Information D0, D1, D2 und D3 übertragen werden kann, wobei die Übertragungsinformation paketiert wird, wobei das Kommunikationsprotokoll den in der Speicherkarte imitierten Kommunikationsendpunkt als Quelle oder Senke der Informationsübertragung verwendet, und wobei das Datenpaket das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit enthält.interface with communication protocol of a multi-function memory card, the used a half-duplex and 4-bit serial pass, with the CLK signal transmit 4-bit information D0, D1, D2 and D3 in each clock period can be, with the transmission information is packetized, with the communication protocol in the memory card imitated communication endpoint as a source or sink of information transfer and the data packet contains the start bit, the packet identifier, the communication endpoint, the data length, the payload data, the Package state key contains the data format and the end bit.

Figure 00000001
Figure 00000001

Description

Gebiet der ErfindungField of the invention

Die Erfindung betrifft eine Schnittstelle mit Kommunikationsporotokoll einer Speicherkarte, insbesondere ein Kommunikationsprotokoll, das die Schnittstelle einer Vielfunktion-Speicherkarte und die USB-Schnittstelle unterstützen kann, wodurch ein Schnittstellenkonverter überflüssig gemacht wird.The The invention relates to an interface with communication protocol a memory card, in particular a communication protocol, the the interface of a multi-function memory card and the USB interface support can, making an interface converter superfluous.

Hintergrund der ErfindungBackground of the invention

Die Speicherkarte verwendet einen beschreibbaren, nichtflüchtigen Chip als Speichermedium, in dem ein Mikroprozessor integriert ist, der die Lese- und Schreiboperation steuern kann und an die Schnittstelle der Speicherkarte zur Verbindung mit dem elektronischen Anwendungsgerät angeschlossenist, wodurch der Mikroprozessor auf Befehl des elektronischen Anwendungsgerätes die entsprechende Lese- und Schreiboperation ausführen kann.The Memory card uses a writable, non-volatile Chip as a storage medium in which a microprocessor is integrated, which can control the read and write operation and to the interface the memory card is connected for connection to the electronic application device, whereby the microprocessor on command of the electronic application device the can perform appropriate read and write operation.

Diese Speicherkarte weist die Vorteile eines kleinen Volumens und Gewichtes, einer hohe Lese- und Schreibgeschwindigkeit und einen niedrigen Stromverbrauch auf und findet eine breite Anwendung auf digitale Datenprodukte, um Digitaldaten zu speichern. Auf dem Market sind speicherkarten unterschiedlichen Typs zu finden, wie Compact-Flash-Speicherkarte (CF-Speicherkarte), Smart-Media-Speicherkarte (SM-Speicher karte), Multimedia-Speicherkarte (MMC-Speicherkarte), Memory-Stick-Speicherkarte (MS-Speicherkarte), Secure-Digital-Speicherkarte (SD-Speicherkarte) usw. Diese Speicherkarten unterscheiden sich in Abmessung, Mechanik, elektrischem Anschluß, Kommunikationsprotokoll, Befehlsschlüssel und Steuerablauf und haben eigene Vorteile und Nachteile. Die Speicherkarte wird breit auf tragbare Digitalgeräte angewendet, wie Mobiltelefon, Digitalkamera, MP3 Player und PDA. Um das Anwendungsgebiet der Speicherkarte zu vergrÖßern, treten auch Anwendungsgeräte mit der Schnittstelle der Speicherkarte auf, wie Modem mit CF-Schnittstelle, Netzkarte, Digitalkamera mit Memory-Stick-Schnittstelle, Blue-Tooth-Kommunikationskarte, lue-Tooth-Kommunikationskarte mit SD-Schnittstelle usw. Um sich von den Speicherkarten, die nur die Speicherfunktion haben, zu unterscheiden, werden diese Speicherkarten als Ein-Ausgabekarte bezeichnet.These Memory card has the advantages of a small volume and weight, a high reading and writing speed and a low Power consumption and finds a wide application to digital data products, to save digital data. On the market are memory cards different types, such as Compact Flash memory card (CF memory card), smart media memory card (SM memory card), Multimedia memory card (MMC memory card), Memory Stick memory card (MS Memory Card), Secure Digital Memory Card (SD Memory Card) etc. These memory cards differ in size, mechanics, electrical connection, Communication protocol, command key and control flow and have their own Advantages and disadvantages. The memory card becomes wide on portable Digital devices applied, such as mobile phone, digital camera, MP3 player and PDA. To enlarge the field of application of the memory card, step also application devices with the interface of the memory card, such as modem with CF interface, network card, Digital camera with memory stick interface, blue-tooth communication card, lue-tooth communication card with SD interface, etc. To yourself to distinguish from the memory cards, which only have the memory function, These memory cards are called an input / output card.

Die obengenannten Speicherkarten weisen jedoch eigene Nachteile auf. Bei der Compact-Flash-Speicherkarte verwendet die Schnittstelle einen 50poligen Steckanschluß und einen parallelen 8- und 16-Bit-Datenbus, einen Adressenbus mit 26 Leitungen und mehrere Steuerleitungen für unterschiedlichen Zweck.The However, the above-mentioned memory cards have their own disadvantages. In the case of the Compact Flash memory card uses the interface a 50pin plug connection and a parallel 8- and 16-bit data bus, an address bus with 26 Lines and multiple control lines for different purpose.

Die Compact-Flash-Speicherkarte ist durch die folgenden benachteiligt: 1. Der 50polige Steckanschluß hat einen grÖßeren Raumbedarf und erhöht die Herstellungskosten des Schnittstellenverbinders; 2. der Steckanschluß ist kraftaufwendig; 3. die Steckverbindung kann nicht gewährleistet werden; 4. wegen des Parallelbetriebes kann das Anwendungsgerät nicht direkt mit mehreren Speicherkarten verbunden werden; 5. ein Schreibschutz ist nicht vorgesehen.The Compact Flash memory card is disadvantaged by the following: 1. The 50pin plug connection has a larger space requirement and increased the manufacturing cost of the interface connector; 2. the plug connection is power consuming; 3. the plug connection can not be guaranteed; 4th because of Parallel operation, the application device can not directly with several Memory cards are connected; 5. a write protection is not intended.

Bei der Smart-Media-Speicherkarte hat die Schnittstelle einen Kontaktanschluß mit 22 Kontakten, die als Kontaktleisten ausgebildet sind. Zwei Federn sind erforderlich, um die Speicherkarte und den Schreibschutzaufkleber zu erfassen.at the smart media memory card, the interface has a contact terminal at 22 Contacts that are designed as contact strips. Two feathers are required to the memory card and the write-protect label capture.

Die Smart-Media-Speicherkarte ist durch die folgenden benachteiligt: 1. Die Federn zur Erfassung der Speicherkarte und des Schreibschutzaufklebers nehmen einen Platz ein und erhöht die Kosten des Schnittstellenverbinders; 2. die Kontakte sind in zwei Reihen eingeordnet, wodurch beim Einsetzen und Herausziehen der Speicherkarte die erste Kontaktreihe der Speicherkarte zunächst mit der zweiten Kontaktreihe im Steckplatz in Kontakt tritt; 3. der VCC- und GND-Kontakt sind in der Mitte vorgesehen, was zu einem Kurzschluß führen kann; 4. der Schreibschutzaufkleber kann die Speicherdaten in der Speicherkarte nicht direkt schützen Und benötigt eine Erfassung des Schreibschutzzustandes durch das Anwendungsgerät; 5. eine reelle Adressierung wird verwendet, wodurch eine Unterstützung für die logische Adressierung unmöglich ist; 6. wegen der reellen Adressierung muß das Format des Chips modifiziert werden, wenn das Speichermedium erweitert wird.The Smart media memory card is disadvantaged by the following: 1. The springs to capture the memory card and the write-protect label take a seat and raise the cost of the interface connector; 2. the contacts are in arranged two rows, whereby when inserting and pulling out of Memory card, the first contact series of the memory card with the second row of contacts in the slot comes into contact; 3. the VCC and GND contact are provided in the middle, resulting in a Short circuit can lead; 4. The write-protect label can save the memory data in the memory card do not protect directly And needed a detection of the write protection state by the application device; 5. one Real addressing is used, which provides support for the logical Addressing impossible is; 6. because of the real addressing the format of the chip must be modified when the storage medium expands.

Bei der Multimedia-Speicherkarte hat die Schnittstelle einen Kontaktanschluß mit 7 Kontakten, die als Kontaktleisten ausgebildet sind. Eine Feder ist erforderlich, um die Speicherkarte und den Schreibschutzaufkleber zu erfassen.at the multimedia memory card, the interface has a contact terminal with 7 Contacts that are designed as contact strips. A spring is required to the memory card and the write-protect label capture.

Die Multimedia-Speicherkarte ist durch die folgenden benachteiligt: 1. Ein Serienbetrieb wird verwendet, wobei in jeder Taktperiode nur ein Bit übertragen werden kann, so daß die Übertragungsgeschwindigkeit niedrig ist; 2. ein software-gesteuerter Schreibschutz wird verwendet, wodurch ein spezifisches Software erforderlich ist.The multimedia memory card is disadvantaged by the following: 1. A serial operation is used, wherein in each clock period only one bit can be transmitted, so that the transmission speed is low; 2. Software-controlled write protection is used, which requires specific software.

Bei der Secure-Digital-Speicherkarte hat die Schnittstelle einen Kontaktanschluß mit 9 Kontakten, die als Kontaktleisten ausgebildet sind. Zwei Federn sind erforderlich, um die Speicherkarte und den Schreibschutzschieber zu erfassen.at Secure Digital memory card, the interface has a contact terminal with 9 Contacts that are designed as contact strips. Two feathers are required to the memory card and the write-protect tab capture.

Die Secure-Digital-Speicherkarte ist durch die folgenden benachteiligt: 1. Der Schreibschutzschieber benötigt eine Erfassung des Schreibschutzzustandes durch das Anwendungsgerät.The Secure Digital memory card is disadvantaged by the following: 1. The write protection slider is needed a detection of the write protection state by the application device.

Beider Memory-Stick-Speicherkarte hat die Schnittstelle einen Kontaktanschluß mit 10 Kontakten, die als Kontaktleisten ausgebildet sind. Die Schnittstelle kann selbst ein Speicherkartenerfassungssignal erzeugen. Die Speicherkarte ist mit einem Schreibschutzschalter versehen und hat die Schreibschutzfunktion.In the Memory stick memory card, the interface has a contact terminal with 10 Contacts that are designed as contact strips. the interface can itself generate a memory card detection signal. The memory card is provided with a write-protect switch and has the write-protect function.

Die Memory-Stick-Speicherkarte ist durch die folgenden benachteiligt: 1. Ein Serienbetrieb wird verwendet, wobei in jeder Taktperiode nur ein Bit übertragen werden kann, so daß die Übertragungsgeschwindigkeit niedrig ist; 2. eine reelle Adressierung wird verwendet, wodurch eine Unterstützung für die logische Adressierung unmöglich ist; 3. wegen der reellen Adressierung muß das Format des Chips modifiziert werden, wenn das Speichermedium erweitert wird.The Memory Stick memory card is disadvantaged by the following: 1. A series operation is used, wherein in each clock period transmit only one bit can be, so that the transmission speed is low; 2. A real addressing is used whereby a support for the logical addressing impossible is; 3. because of the real addressing, the format of the chip must be modified when the storage medium expands.

Da die Speicherkarten eigene Vorteile und Nachteile aufweisen und der Personalcomputer nur über ein elektronisches Anwendungsgerät, das eine USB-, PCMCIA- oder IDE-Schnittstelle unterstützt, mit den Speicherkarten einen Datenaustausch vornehmen kann, hat der Erfinder die vorliegende Erfindung entwicklt.There the memory cards have their own advantages and disadvantages and the Personal computer only over one electronic application device, which supports a USB, PCMCIA or IDE interface with the memory cards can make a data exchange, has the Inventor develops the present invention.

Aufgabe der ErfindungObject of the invention

Der Erfindung liegt die Aufgabe zugrunde, ein Kommunikationsprotokoll der Schnittstelle einer Vielfunktion-Speicherkarte zu schaffen, wobei der Anschlug der Schnittstelle 4polig und 8polig ist, wodurch die Vielfunktion-Speicherkarte die USB-Schnittstelle und die in der Erfindung definierte Schnittstelle unterstützen kann, so daß eine Anwendung auf Computer und unterschiedliche elektronische Anwendungsgeräte ermöglicht wird.Of the Invention is based on the object, a communication protocol to create the interface of a multi-function memory card, where the connection of the interface is 4-pin and 8-pin, which the multi-function memory card the USB interface and the in support the invention defined interface, so that an application on computer and different electronic application devices is made possible.

Diese Aufgabe wird durch das erfindungsgemäße Kommunikationsprotokoll der Schnittstelle einer Vielfunktion-Speicherkarte gelöst, das einen Halbduplex- und 4-Bit-Serienbetrieb verwendet. Beim CLK-Signal kann in jeder Taktperiode eine 4-Bit-Information D0, D1, D2 und D3 übertragen werden. Die Übertragungsinformation wird paketiert. Das Kommunikationsprotokoll verwendet den in der Speicherkarte imitierten Kommunikationsendpunkt als Quelle oder Senke der Informationsübertragung. Das Datenpaket enthält das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit.These Task is achieved by the communication protocol according to the invention solved the interface of a multi-function memory card, the Half-duplex and 4-bit serial operation is used. When CLK signal can transmit 4-bit information D0, D1, D2 and D3 in each clock period become. The transmission information will be packaged. The communication protocol uses the in the Memory card mimicking communication endpoint as a source or Depression of information transmission. The data package contains the start bit, the packet identifier, the communication endpoint, the data length, the payload data, the packet status key, the data format and the End bit.

Die Erfindung betrifft ferner einen Steckanschluß der Schnittstelle der Vielfunktion-Speicherkarte, der 4polig und 8polig ist. Die 4polige Ausbildung ist für die USB-Schnittstelle und die 8polige Ausbildung ist für die SFMI-Schnittstelle ausgelegt. Vier von den acht Leitungen für SFMI-Schnittstelle sind mit den vier Leitungen für USB-Schnittstelle gemeinsam. Die anderen vier Leitungen für die SFMI-Schnittstelle sind neben den vier Leitungen für die USB-Schnittstelle angeordnet. Der Steckanschluß kann ein männlicher oder weiblicher Anschluß sein.The Invention further relates to a plug connection of the interface of the multi-function memory card, which is 4-pin and 8-pin. The 4-pole training is for the USB interface and the 8-pole training is for designed the SFMI interface. Four of the eight cables for SFMI interface are with the four wires for USB interface in common. The other four lines for the SFMI interface are next to the four wires for the USB interface arranged. The plug connection can be male or female connection.

Die Erfindung betrifft ferner einen Formatierer, der anhand des Kommunikationsprotokolls der Schnittstelle der Vielfunktion-Speicherkarte die Daten aus dem Speicher in Form Von Datenpaket formatiert, wobei das Datenpaket das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit enthält.The The invention further relates to a formatter based on the communication protocol the interface of the multi-function memory card the data from the Memory in the form of data packet formatted, with the data packet the start bit, the packet identifier, the communication endpoint, the data length, the payload data, the packet status key, the data format and the End bit contains.

Die Erfindung betrifft ferner einen Formatumsetzer, der das USB-Datenpaket auf das Datenpaket umsetzt, das dem Kommunikationsprotokoll der Schnittstelle der Vielfunktion-Speicherkarte entspricht, wobei das Datenpaket das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit enthält.The The invention further relates to a format converter comprising the USB data packet to the data packet that corresponds to the communication protocol of the Interface of the multi-function memory card corresponds to the data packet the start bit, the packet identifier, the communication endpoint, the data length, the payload data, the packet status key, the data format and the End bit contains.

Kurze Beschreibung der ZeichnungenBrief description of the drawings

1 zeigt einen Grundaufbau der erfindungsgemäßen Vielfunktion-Speicherkarte und des entsprechenden Kartenlese-/-schreibgerätes. 1 shows a basic structure of the multi-function memory card according to the invention and the corre sponding card reading / writing device.

2 zeigt die Definition und Funktion der Leitungen der erfindungsgemäßen SDM-Schnittstelle. 2 shows the definition and function of the lines of the SDM interface according to the invention.

3 zeigt einen Grundaufbau des Mikroprozessors der erfindungsgemäßen Vielfunktion-Speicherkarte. 3 shows a basic structure of the microprocessor of the multi-function memory card according to the invention.

4A zeigt eine Blockschaltung der Erfassungsschaltung in Verbindung mit der SDM-Schnittstelle. 4A shows a block circuit of the detection circuit in conjunction with the SDM interface.

4B zeigt eine Blockschaltung der Erfassungsschaltung in Verbindung mit der USB-Schnittstelle. 4B shows a block circuit of the detection circuit in conjunction with the USB interface.

5 zeigt den Inhalt des Paketidentifizierers. 5 shows the contents of the package identifier.

6 zeigt die Datenstruktur des Paketidentifizierers und ihre Beziehung mit dem Takt. 6 shows the data structure of the packet identifier and its relationship with the clock.

7 zeigt die Datenstruktur des Kommunikationsendpunktes und ihre Beziehung mit dem Takt. 7 shows the data structure of the communication endpoint and its relationship with the clock.

8 zeigt die Datenstruktur der Datenlänge und ihre Beziehung mit dem Takt. 8th shows the data structure of the data length and its relationship with the clock.

9 zeigt die Datenstruktur der Datenfolge und ihre Beziehung mit dem Takt. 9 shows the data structure of the data sequence and its relationship with the clock.

10 zeigt die Datenstruktur des Fehlererfassungsschlüssels und ihre Beziehung mit dem Takt. 10 shows the data structure of the error detection key and its relationship with the clock.

11 zeigt die Datenstruktur des Paketzustandsschlüssels und ihre Beziehung mit dem Takt. 11 shows the data structure of the packet state key and its relationship with the clock.

Detaillierte Beschreibung der ErfindungDetailed description of the invention

Die erfindungsgemäße Vielfunktion-Speicherkarte hat zwei Bauarten, wovon die Speicherkarte der ersten Bauart die Funktion zum Speichern von Digitaldaten und die Speicherkarte der zweiten Bauart die Funktion zum Ausführen von anderen Ein-Ausgabefunktionen aufweist. Bei den beiden Bauarten enthält die Speicherkarte je einen Mikroprozessor 220, wovon der Mikroprozesor 220 der Speicherkarte der ersten Bauart mit einer Schnittstelle für Flash-Speicher und der Mikroprozessor 220 der Speicherkarte der zweiten Bauart mit einer Schnittstelle zum Unterstützen des Ein-Ausgabe-Bausteins ausgestattet werden muß. Die Speicherkarte der ersten Bauart muß einen Flash-Speichermodul besitzen, um Digitaldaten zu speichern. Die Speicherkarte der zweiten Bauart muß einen Ein-Ausgabe-Baustein, um die Ein-Ausgabefunktion auszuführen.The multi-function memory card of the present invention has two types, of which the memory card of the first type has the function of storing digital data and the memory card of the second type has the function of performing other input-output functions. In the two types, the memory card contains a microprocessor 220 of which the microprocessor 220 the memory card of the first type with an interface for flash memory and the microprocessor 220 the memory card of the second type must be equipped with an interface for supporting the input-output module. The memory card of the first type must have a flash memory module to store digital data. The memory card of the second type must have an input-output device to perform the input-output function.

Die erfindungsgemäße Vielfunktion-Speicherkarte 200 in 1 enthält einen Ein-Ausgabe-Baustein 210, einen Mikroprozesor 220 und eine Speicher 230, die auf einer Platine untergebracht sind. Auf der Platine ist weiterhin ein freiliegender Anschluß der Schnittstelle zur Verbindung mit dem elektronischen Anwendungsgerät 100 Vorgesehen. Diese Platine mit vollständiger elektrischer Funktion wird dann durch Spritzgießen von einem Gehäuse umschlossen, so daß eine Vielfunktion-Speicherkarte oder Ein-Ausgabekarte entsteht.The multi-function memory card according to the invention 200 in 1 contains an input / output module 210 , a microprocessor 220 and a memory 230 which are housed on a circuit board. On the board is still an exposed connection of the interface for connection to the electronic application device 100 Intended. This board with complete electrical function is then enclosed by injection molding of a housing, so that a multi-function memory card or input-output card is formed.

Das elektronische Anwendungsgerät 100, das mit der Vielfunktion-Speicherkarte verbunden ist, enthält ein Anwendungsprogramm 110, einen Formatumsetzer 120 und einen Ein-Ausgabe-Baustein 130.The electronic application device 100 that is connected to the multi-function memory card contains an application program 110 , a format converter 120 and an input / output device 130 ,

Der Ein-Ausgabe-Baustein 210 der Speicherkarte dient zur Datenein-/-ausgabe. Die erfindungsgemäße Vielfunktion-Speicherkarte kann gleichzeitig die USB-Schnittstelle und die in der Erfindung definierte SFMI-Schnittstelle unterstützen. Der Anschluß der Schnittstelle ist 4polig und 8polig.The input / output module 210 The memory card is used for data input / output. The multi-function memory card according to the invention can simultaneously support the USB interface and the SFMI interface defined in the invention. The connection of the interface is 4-pin and 8-pin.

Der 4polige Anschluß ist für die USB-Schnittstelle ausgelegt und enthält eine VCC-Leitung, durch die das verbundene Gerät die Speicherkarte mit Gleichstrom versorgen kann, eine GND-Leitung für Erdung, eine D+-Leitung und eine D–-Leitung für Datenübertragung. Die Schnittstelle der erfindungsgemäßen Vielfunktion-Speicherkarte hat einen 8poligen Anschluß, der einen 4-Bit-Zweiweg-Befehl/Daten/Zustand-Bus (D0-D3), eine Taktsynkronleitung (CLK), eine Systemschnittstellen- und Speicherkartenerfassungsleitung (CD), eine Stromleitung (VCC) und eine Erdungsleitung (GND) enthält. Der Schreibschutz kann durch eine in der Vielfunktion-Speicherkarte integrierte Schreibschutzschalter eingeschaltet werden und über die Schnittstelle dem elektronischen Anwendungsgerät mitgeteilt werden. VCC ist eine Stromleitung, durch die die Speicherkarte mit Gleichstrom versorgen werden kann. GND ist eine Erdungsleitung für einen Erdungsschutz. CLK ist eine Leitung für taktsynchrones Signal und kann den Ein-Ausgabedaten einen Synchronisiertakt liefern, damit die Zeitfolge des Datensignals wieder hergestellt wird. BD_CD ist eine Leitung für Systemschnittstellen- und Speicherkartenerfassungssignal, die zur Erfassung dient, daß die Ein-Ausgabedaten ein USB- oder SFMI-Signal ist. D0 ist die Bit0-Leitung des Zweiweg-Befehl/ Daten/Zustand-Buses und die D–-Leitung im USB-Modulbetrieb. D1 ist die Bit1-Leitung des Zweiweg-Befehl/Daten/Zustand-Buses und die D+-Leitung im USB-Modulbetrieb. D2 ist die Bit2-Leitung des Zweiweg-Befehl/Daten/Zustand-Buses und existiert nicht im USB-Modulbetrieb. D3 ist die Bit3-Leitung des Zweiweg-Befehl/Daten/Zustand-Datenbuses und existiert nicht im USB-Modulbetrieb.The 4-pin connector is for the USB interface and includes a VCC lead that allows the connected device to provide DC power to the memory card, a ground GND lead, a D + lead, and a D lead for data transmission. The interface of the multi-function memory card of the present invention has an 8-pin connector comprising a 4-bit two-way command / data / state bus (D0-D3), a clock sync line (CLK), a system interface and memory card detection line (CD), a power line (VCC) and a ground line (GND) contains. The write protection can be switched on by a write protection switch integrated in the multi-function memory card and communicated via the interface to the electronic application device. VCC is a power line that provides DC power to the memory card. GND is a grounding wire for grounding protection. CLK is an isochronous signal line and can provide a sync clock to the input-output data to restore the timing of the data signal. BD_CD is a conduit for system interface and memory card detection signal, which detects that the input-output data is a USB or SFMI signal. D0 is the Bit0 line of the two-way command / data / state bus and the D line is in USB module operation. D1 is the bit1 line of the two-way command / data / state bus and the D + line is in USB module operation. D2 is the bit 2 line of the two-way command / data / state bus and does not exist in USB module operation. D3 is the bit3 line of the two-way command / data / state data bus and does not exist in USB module operation.

Die obige Beschreibung hat es zur Kenntnis gebracht, daß die erfindungsgemäße SFMI-Schnittstelle und die USB-Schnittstelle vier gemeinsame Leitungen benutzen: VCC, GND, D– (D0) und D+ (D1). Die erfindungsgemäße SFMI-Schnittstelle enthält noch vier weitere Leitungen, CLK, BD_CD, D2 und D3. Daher kann neben den vier Leitungen für USB-Schnittstelle die anderen vier Leitungen angeordnet sein, wodurch die erfindungsgemäße SFMI-Schnittstelle die Leitungen der USB-Schnittstelle benutzen kann.The The above description has made it known that the inventive SFMI interface and the USB interface use four common wires: VCC, GND, D- (D0) and D + (D1). The SFMI interface according to the invention contains four more lines, CLK, BD_CD, D2 and D3. Therefore, besides the four lines for USB interface can be arranged the other four lines, thereby the inventive SFMI interface can use the lines of the USB interface.

Das andere Merkmal der Erfindung besteht in der D0- und D1-Leitung des 4-Bit-Zweiweg-Buses. Wenn das elektronische Anwendungsgerät 100 über die USB-Scgbuttstekke mit der Speicherkarte verbunden ist, kann eine Umsetzung auf den USB-Schnittstellenmodus durchgeführt werden, um die Kommunikation im USB-Modulbetrieb zu unterstützen. Zudem kann die Speicherkarte ohne das elektronische Anwendungsgerät 100 direkt für Personalcomputer oder Digitalgeräte mit USB-Schnittstelle verwendet werden.The other feature of the invention is the D0 and D1 lines of the 4-bit two-way bus. If the electronic application device 100 Connected to the memory card via the USB plug-in connector, conversion to the USB interface mode can be performed to support communication in USB module operation. In addition, the memory card without the electronic application device 100 Can be used directly for personal computers or digital devices with USB interface.

Die Erfindung betrifft ferner einen Steckanschluß der Vielfunktion-Speicherkarte, der 4polig und 8polig ist. Die 4polige Ausbildung ist für die USB-Schnittstelle und die 8polige Ausbildung ist für die SFMI-Schnittstelle ausgelegt. Vier von den acht Leitungen für die SFMI-Schnittstelle sind mit den vier Leitungen für USB-Schnittstelle gemeinsam. Die anderen vier Leitungen für die SFMI-Schnittstelle sind neben den vier Leitungen für die USB-Schnittstelle angeordnet. Der Steckanschluß kann ein männlicher oder weiblicher Anschluß sein.The Invention further relates to a plug-in connection of the multi-function memory card, which is 4-pin and 8-pin. The 4-pole training is for the USB interface and the 8-pole training is for designed the SFMI interface. Four of the eight cables for the SFMI interface are with the four wires for USB interface in common. The other four lines for the SFMI interface are next to the four wires for the USB interface arranged. The plug connection can be male or female connection.

Wie aus 3 ersichtlich ist, enthält der Mikroprozessor 220 eine Ein-Ausgabesteuerung 221, eine Speichersteuerung 222, einen Formatierer 223 und einen Entformatierer 224. Die Ein-Ausgabesteuerung 221 dient zur Steuerung des Ein-Ausgabebausteins 210 der Speicherkarte und entscheidet, daß der Ein-Ausgabebaustein 210 mit dem Eingabemodus oder Ausgabemodus oder mit dem USB-Schnittstellenmodus oder SFMI-Schnittstellenmodus arbeitet. Die Speichersteuerung 222 dient zur Steuerung des Speichers 230. Der Formatierer 223 und der Entformatierer 224 dient zu einer Formatumsetzung zwischen dem USB- und SFMI-Schnittstellensignal, um sich dem Betriebsmodus des Ein-Ausgabebausteins der Speicherkarte anzupassen. Nachfolgend wird die Arbeitsweise des Formatierers 223 und des Entformatierers 224 beschrieben.How out 3 can be seen, contains the microprocessor 220 an input-output control 221 , a memory controller 222 , a formatter 223 and a de-formatter 224 , The input-output control 221 serves to control the input / output module 210 the memory card and decides that the input / output device 210 works with the input mode or output mode, or with the USB interface mode or SFMI interface mode. The memory controller 222 serves to control the memory 230 , The formatter 223 and the de-formatter 224 is used to format conversion between the USB and SFMI interface signal to match the operating mode of the memory board's I / O port. The following is the operation of the formatter 223 and the de-former 224 described.

Systemschnittstellen- und Speicherkartenerfassungssignal: Das Systemschnittstellen- und Speicherkartenerfassungssignal wird in der Speicherkarte mit dem Ein-Ausgabesteuersignal und im elektronischen Anwendungsgerät 100 über einen Widerstand mit der Stromquelle verknüpft. Die USB-Schnittstellen ist nicht mit diesem Signal verbunden. Daher kann die Vielfunktion-Speicherkarte durch dieses Signal die Schnittstelle, die das elektronische Anwendungsgerät 100 verwendet, erfassen und das elektronische Anwendungsgerät 100 das Einsetzen der Vielfunktion-Speicherkarte erfassen.System Interface and Memory Card Detection Signal: The system interface and memory card detection signal is stored in the memory card with the input / output control signal and in the electronic application device 100 linked to the power source via a resistor. The USB interfaces are not connected to this signal. Therefore, the multi-function memory card can use this signal to interface the electronic application device 100 used, capture and the electronic application device 100 capture the insertion of the multi-function memory card.

Die Schnittstellenerfassungsschaltung des Ein-Ausgabenbausteins enthält eine Stromquelle 310, einen BD-Eingabeerfassungsanschluß 320, einen CD-Ausgabeerfassungsanschluß 330, eine erste Diode 360, eine zweite Diode 370, einen ersten Widerstand 340 und einen zweiten Widerstand 350.The interface detection circuit of the input / output module includes a power source 310 , a BD input detection terminal 320 , a CD output detection terminal 330 , a first diode 360 , a second diode 370 , a first resistance 340 and a second resistor 350 ,

Der Ein-Ausgabebaustein kann durch das Vorhandensein oder Nichtvorhandensein des Systemschnittstelen- und Speicherkartenerfassungssignals (BD_CD) eine USB- oder SFMI-Schnittstellen feststellen.Of the An output device may be affected by the presence or absence the system interface and memory card detection signal (BD_CD) detect a USB or SFMI interface.

Wenn die Vielfunktion-Speicherkarte in das elektronische Anwendungsgerät 100 eingesetzt wird, das kontinuierlich bestromt wird, egal ob die Speicherkarte vorhanden ist, wird zunächst das CD-Signal im Hochimpedanzzust gehalten, damit die Erfassung des BD_CD-Signals nicht beeinflußt wird. Anschließend wird der Zustand des BD_CD-Signals geprüft. Wenn das BD_CD-Signal ein hohes Potential aufweist, bedeutet es, daß die Systemseite die Schnittstelle der Vielfunktion-Speicherkarte unterstützt, wodurch die Speicherkarte in den Schnittstellenmodus eintritt. Dabei hat das CD-Signal ein niedriges Potential, wodurch das elektronische Anwendungsgerät 100 mitgeteilt wird, daß die Speicherkarte bereits in seinem Steckplatz eingesetzt ist. Wenn das BD_CD-Signal ein niedriges Potential aufweist, bedeutet es, daß die Systemeite das BD_CD-Siganl nicht über den Widerstand mit der Stromquelle verbunden hat. D.h. die Systemseite unterstützt die USB-Schnittstelle. Daher tritt die Speicherkarte in den USB-Schnittstellenmodus ein.When the multi-function memory card in the electronic application device 100 is used, which is continuously energized, regardless of whether the memory card is present, the CD signal is initially held in Hochimpedanzzust so that the detection of the BD_CD signal is not affected. Then the condition of the BD_CD signal is checked. If the BD_CD signal has a high potential, it means that the system side supports the interface of the multi-function memory card, whereby the memory card enters the interface mode. The CD signal has a low potential, causing the electronic application device 100 is informed that the memory card is already inserted in its slot. If the BD_CD signal has a low potential, it means that the system side has not connected the BD_CD signal to the power source through the resistor. This means that the system side supports the USB interface. Therefore, the memory card enters the USB interface mode.

In den Blockschaltungen gemäß 4A und 4B ist die VCC-Leitung mit der Stromquelle 310 verbunden. Das Systemschnittstellen- und Speicherkartenerfassungssignal BD_CD wird über die vorwärtsgeschaltete, erste Diode 360 mit dem BD-Eingabeerfassungsanschluß 320 und über die rückwärtsgeschaltete zweite Diode 370 mit dem CD-Ausgabeerfassungsanschluß 330 verbunden. Das Systemschnittstelen- und Speicherkartenerfassungssignal BD_CD ist weiterhin über den zweiten Widerstand 350 mit der GND-Leitung und über den ersten Widerstand 340 mit der VCC-Leitung verbunden. Im vorliegenden Ausführungsbeispiel hat der erste Widerstand einen Widerstandswert 10 K Ω und der zweite Widerstand einen Widerstandswert von 100 K Ω. Der Widerstandswert der Widerstände bleibt jedoch nicht darauf beschränkt. Der erste und zweite Widerstand können für BD_CD und VCC einen Spannungsanstieg bewirken.In the block circuits according to 4A and 4B is the VCC line with the power source 310 connected. The system interface and memory card detection signal BD_CD is sent via the forward switched, first diode 360 with the BD input detection terminal 320 and via the second diode connected in reverse 370 with the CD output detection terminal 330 connected. The system interface and memory card detection signal BD_CD is still across the second resistor 350 with the GND line and over the first resistor 340 connected to the VCC line. In the present embodiment, the first resistor has a resistance of 10 K Ω and the second resistor has a resistance of 100 K Ω. The resistance of the resistors, however, is not limited to this. The first and second resistors may cause a voltage increase for BD_CD and VCC.

Wenn die Vielfunktion-Speicherkarte mit der SFMI-Schnittstelle verbunden wird, wie in 4A dargestellt ist, werden die erste Diode 360 und somit der BD-Eingabeerfassungsanschluß 320 angeschaltet. Dadurch kann die SFMI-Schnittstelle erfaßt werden. Wenn das Systemschnittstellen- und Speicherkartenerfassungssignal BD_CD nicht vorliegt, wird die erste Diode 360 nicht angeschaltet. Dadurch kann die USB-Schnittstelle festgestellt werden.When the multifunction memory card is connected to the SFMI interface, as in 4A is shown, the first diode 360 and thus the BD input detection terminal 320 turned on. This allows the SFMI interface to be detected. If the system interface and memory card detection signal BD_CD is not present, the first diode becomes 360 not switched on. This will detect the USB interface.

Im Ausgabemodus wird die SFMI-Schnittstelle festgestellt, wenn die zweite Diode 370 angeschaltet wird. Umgekehrt wird die USB-Schnittstelle festgestellt.In output mode, the SFMI interface is detected when the second diode 370 is turned on. Conversely, the USB interface is detected.

Nachfolgend wird das Kommunikationsprotokoll der Vielfunktion-Speicherkarte beschrieben:
Die Schnittstelle der Vielfunktion-Speicherkarte verwendet einen Halbduplex- und 4-Bit-Serienbetrieb. Beim CLK-Signal kann in jeder Taktperiode eine 4-Bit-Information übertragen werden. Die Informationsübertragungsweise wird von dem elektronischen Anwendungsgerät 100 gesteuert, der den Übertragungsbefehl gibt und die Datenlänge festlegt. Um die Verfügbarkeit der Schnittstelle zu erhöhen und das Systemdesign zu erleichtern, wird die Übertragungsinformation paketiert. Das Kommunikationsprotokoll verwendet den in der Speicherkarte imitierten Kommunikationsendpunkt als Quelle oder Senke der Informationsübertragung.
The following describes the communication protocol of the multi-function memory card:
The multi-function memory card interface uses half-duplex and 4-bit serial operation. With the CLK signal, a 4-bit information can be transmitted in each clock period. The Informationsübertragungsweise is from the electronic application device 100 controlled, which gives the transfer command and sets the data length. In order to increase the availability of the interface and to facilitate the system design, the transmission information is packetized. The communication protocol uses the communication endpoint mimicked in the memory card as the source or sink of the information transmission.

Die Speicherkarte oder Ein-Ausgabekarte dieser Schnittstelle muß mindestens einen Kommunikationsendpunkt unterstützen, der als Steuerendpunkt bezeichnet und die Adresse 0 hat. Das Kartenlese-/-schreibgerät kann durch diesen Steuerendpunkt Informationen über die Funktion der Speicherkarte und die Einstellung der anderen Kommunikationsendpunkt erhalten. Daher kann das Lese- und Schreibgerät die Funktion der Speicherkarte aktivieren und eine Informationsübertragung ausführen.The Memory card or input / output card of this interface must at least support a communication endpoint acting as a control endpoint designated and the address has 0. The card reader / writer can pass through this control endpoint information about the function of the memory card and the setting of the other communication endpoint received. Therefore, the reader and writer can perform the function of the memory card activate and transfer information To run.

(1) Startbit/Endbit(1) start bit / end bit

Das elektronische Anwendungsgerät 100 und die Speicherkarte müssen beide bei der Informationsübertragung am Anfang des Datenpaketes ein Startbit für eine Taktperiode, bei dem D0-D3 alle 0 ist, und am Ende des Datenpaketes ein Endbit für zwei Taktperioden erzeugen, bei dem D0-D3 alle 1 ist.The electronic application device 100 and the memory card both have to generate a start bit for a clock period where D0-D3 is all 0 in the information transfer at the beginning of the data packet, and an end bit for two clock periods at the end of the data packet where D0-D3 is all one.

(2) Paketidentifizierer (PID)(2) Package Identifier (PID)

Wie aus 5 ersichtlich ist, fängt das Datenpaket mit dem Paketidentifizierer an. Je nach dem Paketidentifizierer ist die Anwendung des Datenpaketes unterschiedlich. Jedes Datenpaket enthält: 1. Paketidentifizierer: verschlüsselt die Übertragungsrichtung, die Adresse des Kommunikationsendpunkte und die Datenlänge; 2. Payload-Daten: enthält einen CRC-Schlüssel für Datenfehlererfassung; 3. Paketzustandsschlüssel: der Empfänger der Payload-Daten sendet den Empfangszustand zurückinformiert, ob die Daten richtig empfangen werden. Der Paketidentifizierer 0001 verschlüsselt den Sachverhalt, daß das elektronische Anwendungsgerät 100 zur Datenausgabe bereitsteht. Der Paketidentifizierer 1001 verschlüsselt den Sachverhalt, daß das elektronische Anwendungsgerät 100 zur Dateneingabe bereitsteht. Der Paketidentifizierer 1101 verschlüsselt den Sachverhalt, daß das elektronische Anwendungsgerät 100 den Kommunikationsendpunkt einstellen oder entsprechende Information erhalten will. Der Paketidentifizierer 0010 verschlüsselt den Sachverhalt, daß der Datenempfänger dem Empfang des Datenpaketes informieren soll. Der Paketidentifizierer 1010 verschlüsselt den Sachverhalt, daß der Empfänger vorübergehend keine Information empfangen kann oder der Sender vorübergehend keine Information senden kann. Der Paketidentifizierer 1110 verschlüsselt den Sachverhalt, daß der Kommunikationsendpunkt deaktiviert werden oder der Steuerendpunkt den Steuerbefehl nicht unterstützen soll.How out 5 As can be seen, the data packet starts with the packet identifier. Depending on the packet identifier, the application of the data packet is different. Each data packet contains: 1. packet identifier: encrypts the transmission direction, the address of the communication endpoints and the data length; 2. payload data: contains a CRC key for data error detection; 3. Packet Status Key: The payload data receiver sends back the receive status as to whether the data is received correctly. The packet identifier 0001 encrypts the fact that the electronic application device 100 ready for data output. The packet identifier 1001 encrypts the fact that the electronic application device 100 ready for data entry. The packet identifier 1101 encrypts the fact that the electronic application device 100 set the communication endpoint or want to receive appropriate information. The packet identifier 0010 encrypts the fact that the data receiver should inform the reception of the data packet. The packet identifier 1010 encrypts the fact that the receiver may temporarily not receive any information or that the transmitter may temporarily not send information. The packet identifier 1110 encrypts the fact that the communication endpoint should be disabled or the control endpoint should not support the control command.

Der Paketidentifizierer 1110 ist durch 4 Bits gebildet. Um einen Kommunikationsfehler zu vermeiden, werden diese 4 Bits mit weiteren 4 Bits mit umgekehrter Bitfolge ergänzt, wodurch insgesamt 8 Bits entstehen, die in Steigender Potenz innerhalb von zwei Taktperioden übertragen werden. Wie aus 6 ersichtlich ist, empfängt der Datenempfänger PID und PID'. Wenn PID = (PID')', kann der Empfänger dem Empfang des Paketidentifizierers bestätigen.The packet identifier 1110 is formed by 4 bits. In order to avoid a communication error, these 4 bits are supplemented with another 4 bits with reverse bit sequence, resulting in a total of 8 bits, which are transmitted in increasing power within two clock periods. How out 6 As can be seen, the data receiver receives PID and PID '. If PID = (PID ')', the receiver can acknowledge receipt of the packet identifier.

(3) Kommunikationsendpunkt(3) communication endpoint

Der Kommunikationsendpunkt ist die Haupteinheit für Informationsübertragung der Speicherkarte oder Ein-Ausgabekarte und des elektronischen Anwendungsgerätes. Entsprechend einzelnem Kommunikationsendpunkt ist in der Speicherkarte oder Ein-Ausgabekarte eine Datenpufferungszone mit vorbestimmter Kapazität vorgesehen, in der die Payload-Daten des Datenpaketes zwischen dem elektronischen Anwendungsgerät und der Speicherkarte vorübergehend gespeichert werden.Of the Communication endpoint is the main unit for information transmission the memory card or input / output card and the electronic application device. Corresponding single communication endpoint is in the memory card or input / output card a data buffering zone of predetermined capacity is provided, in which the payload data of the data packet between the electronic application device and the memory card temporarily get saved.

Die Speicherkarte oder Ein-Ausgabekarte kann maximal 16 Kommunikationsendpunkte unterstützen. Durch die Adresse des Kommunikationsendpunktes im Datenpaket wird der Empfänger der Datenpaketes identifiziert.The Memory card or input / output card can have a maximum of 16 communication endpoints support. By the address of the communication end point in the data packet becomes the receiver the data packet identified.

Die Speicherkarte oder Ein-Ausgabekarte muß mindestens einen Kommunikationsendpunkt unterstützen, dessen Adresse 0 ist. Das elektronische Anwendungsgerät kann durch diesen Kommunikationsendpunkt den Paketidentifizierer, die Funktionsweise, die Anzahl der unterstützten Kommunikationsendpunkte, die Adressen der Kommunikationsendpunkte und das Kommunikationsendpunktformat erhalten.The Memory card or input / output card must have at least one communication endpoint support, whose address is 0. The electronic application device can by this communication endpoint the packet identifier, the functionality, the number of supported Communication endpoints, the addresses of the communication endpoints and the communication endpoint format is obtained.

Der Kommunikationsendpunkt hat vier Arten für unterschiedliche Informationsübertragung zwischen dem elektronischen Anwendungsgerät und der Speicherkarte oder Ein-Ausgabekarte.Of the Communication endpoint has four types for different information transmission between the electronic application device and the memory card or Input-output card.

Der Steuerendpunkt ermöglicht dem elektronischen Anwendungsgerät 100 beim Aktivierung der Speicherkarte, den Paketidentifizierer, die Funktionsweise, die Anzahl der unterstützten Kommunikationsendpunkte, die Adressen der Kommunikationsendpunkte und das Kommunikationsendpunktformat zu erhalten.The control endpoint allows the electronic application device 100 upon activation of the memory card, the packet identifier, the operation, the number of supported communication endpoints, the addresses of the communication endpoints, and the communication endpoint format.

Der Dateneingabe-Endpunkt gestattet eine Dateneingabe des elektronischen Anwendungsgerätes von der Speicherkarte oder Ein-Ausgabekarte.Of the Data entry endpoint allows data entry of the electronic Application device of the memory card or input / output card.

Der Datenausgabe-Endpunkt gestattet eine Datenausgabe des elektronischen Anwendungsgerätes an die Speicherkarte oder Ein-Ausgabekarte.Of the Data output endpoint allows data output of the electronic Application device the memory card or input / output card.

Der diskontinuierliche Dateneingabe-Endpunkt gestattet eine Dateneingabe des elektronischen Anwendungsgerätes mit vorbestimmten Zeitintervall von der Speicherkarte oder Ein-Ausgabekarte.Of the discontinuous data entry endpoint allows data entry of the electronic application device at a predetermined time interval from the memory card or I / O card.

Wie aus 7 ersichtlich ist, wird der Kommunikationsendpunkt bei der Paketübertragung direkt nach PID mit 4 Bits im einer Taktperiode übertragen.How out 7 is apparent, the communication end point is transmitted in the packet transmission directly after PID with 4 bits in a clock period.

(4) Datenlänge(4) data length

Wie aus 8 ersichtlich ist, wird die Datenlänge nach dem Kommunikationsendpunkt mit 12 Bits in drei Taktperioden übertragen werden. Die Datenlänge wird in Byte gemessen. 0 × 000 bedeutet 4096 Bytes. 0 × 001 bedeutet 1 Byte.How out 8th is apparent, the data length will be transmitted after the communication end point with 12 bits in three clock periods. The data length is measured in bytes. 0x000 means 4096 bytes. 0x001 means 1 byte.

(5) Payload-Daten(5) Payload data

Die Daten im Datenpaket werden als Payload-Daten bezeichnet. Die Datenlänge legt die Länge der Payload-Daten fest. Jedes Byte wird in zwei Taktperioden übertragen. Die Übertragungsrichtung wird von dem elektronischen Anwendungsgerät 100 im Paketidentifizierer verschlüsselt, wie in 9 dargestellt. Den Payload-Daten folgt ein CRC16-Fehlererfassungsschlüssel für 16 Taltperioden. Der Algorithmus von CRC16 führt eine Division durch 2 aus, die eine Division des Polynoms G(X) = X16 + X15 + X2 + 1 durch 2 sein kann. Die Datenübertragungsfolge ist in 10 gezeigt.The data in the data packet is called payload data. The data length determines the length of the payload data. Each byte is transmitted in two clock periods. The transmission direction is from the electronic application device 100 encrypted in the packet identifier, as in 9 shown. The payload data is followed by a CRC16 error detection key for 16 time periods. The algorithm of CRC16 performs a division by 2, which may be a division of the polynomial G (X) = X16 + X15 + X2 + 1 by 2. The data transfer sequence is in 10 shown.

(6) Paketzustandsschlüssel(6) Package status key

Der Empfänger prüft nach dem Empfang der Payload-Daten, ob der Fehlererfassungsschlüssel entspricht, und informiert, ob die Daten richtig empfangen werden. Wenn die Daten richtig empfangen werden, sendet der Empfänger ACK zurück. Wenn die Daten vorübergehend nicht empfangen werden können oder die Daten fehlerhaft sind, sendet der Empfänger NAK zurück und fordert eine erneute Übertragung. Wenn ein Fehler in der Speicherkarte oder dem Ausführungsbefehl auftritt, sendet der Empfänger STALL zurück, weil in 11 dargestellt ist.The receiver, after receiving the payload data, checks whether the error detection key corresponds and informs whether the data is received correctly. If the data is received correctly, the receiver sends ACK back. If the data can not be received temporarily or the data is incorrect, the receiver will return NAK and request retransmission. If an error occurs in the memory card or the execute command, the receiver returns STALL because in 11 is shown.

(7) Datenformat(7) Data format

Die Übertragung aller Datenpakete werden von dem elektronischen Anwendungsgerät (Systemseite) aktiviert. Das Datenpaket enthält hintereinander das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit. Die Systemseite aktiviert die Datenübertragung und legt den Paketidentifizierer, den Kommunikationsendpunkt und die Datenlänge fest.The transfer All data packets are activated by the electronic application device (system side). The data package contains successively the start bit, the packet identifier, the communication end point, the data length, the payload data, the packet status key, the data format and the End bit. The system side activates the data transfer and sets the package identifier, the communication endpoint and the data length.

Wenn die Speicherseite beim IN-Paket nach dem Empfang der obengenannten Information die geforderten Daten nicht liefern kann, kann sie den Zustandsschlüssel NAK zurücksenden, wodurch die Systemseite die Übertragung unterbricht und eine erneute Datenübertragung aktivieren kann, um nochmals zu versuchen, die Daten zu erhalten. Wenn die Speicherseite die geforderten Daten liefern kann, sendet sie ein Startbit und danach die Daten in dem entsprechenden Kommunikationsendpunkt. Beim Erreichen der geforderten Datenlänge folgt den Daten ein CRC-Erfassungsschlüssel von 16 Bits. Die Systemseite prüft, ob der Erfassungschlüssel entspricht. Wenn ja, sendet sie ACK zurück. Wenn nein, sendet sie NAK zurück und kann eine erneute Übertragung des Datenpaketes aktivieren, um die richtige Daten zu erhalten.If the memory page at the IN packet after receiving the above Information that can not provide the requested data, it can key state Send back NAK, causing the system side to transfer interrupts and can activate a new data transmission, to try again to get the data. If the memory page can provide the requested data, it sends a start bit and after the data in the corresponding communication endpoint. When reaching the required data length The data follows a 16-bit CRC capture key. The system page verifies whether the registration key equivalent. If so, it sends ACK back. If not, send NAK back and can a retransmission of the data packet to get the correct data.

Wenn das Datenpaket ein Out- oder SETUP-Paket ist, legt die Systemseite den Paketidentifizierer, den Kommunikationsendpunkt und die Datenlänge fest und überträgt dann die auszugebenden Daten. Beim Erreichen der festgelegten Datenlänge folgt den Daten ein CRC-Erfassungsschlüssel von 16 Bits. Die Speicherseite prüft, ob der Erfassungschlüssel entspricht. Wenn ja, sendet sie ACK zurück. Wenn nein, sendet sie NAK zurück. Dabei wird die erneute Übertragung des Datenpaketes von der Systemseite entschieden.If the data packet is an out or SETUP packet sets the system page the packet identifier, the communication endpoint and the data length and then transmits the data to be output. Upon reaching the specified data length follows the data a CRC capture key of 16 bits. The memory page checks whether the registration key corresponds. If so, it sends ACK back. If not, send NAK back. This will be the retransmission of the data package decided by the system side.

(8) Steuerung des Übertragungsmodus(8) Control of transmission mode

Das elektronische Anwendungsgerät 100 kann durch die Steuerung des Übertragungsmodus von dem eingestellten Kommunikationsendpunkt 0 die entsprechenden Information über die Speicherkarte erhalten. Die Steuerung des Übertragungsmodus wird in die SETUP-, DATA- und STATUS-Phase untergeteilt.The electronic application device 100 For example, by controlling the transmission mode from the set communication end point 0, the corresponding information about the memory card can be obtained. The transfer mode control is divided into the SETUP, DATA and STATUS phases.

In der SETUP-Phase sendet die Systemseite das Datenpaket, das den Paketidentifizierer SETUP, den Kommunikationsendpunkt mit der Adresse 0, die Datenlänge von 8 Bytes enthält. Anschließend sendet die Systemseite den SETUP-Befehlschlüssel und -Parameter von 8 Bytes und den CRC16-Schlüssel von 2 Bytes. Schließlich sendet die Speicherseite den Zustandsschlüssel zurück und informiert, ob das Datenpaket richtig empfangen wird.In In the SETUP phase, the system side sends the data packet containing the packet identifier SETUP, the communication endpoint with the address 0, the data length of Contains 8 bytes. Subsequently The system side sends the SETUP command key and parameter of 8 bytes and the CRC16 key of 2 bytes. After all the memory page returns the status key and informs whether the data packet is received correctly.

Der SETUP-Befehlschlüssel und -Parameter von 8 Bytes enthält: bmRequestTzpe, bRequest, wValue, wIndex, wLength. Ihre Definition und Anwendung sind im USB-Standard vorgeschrieben. In Tabellelist die Bedeutung der Parameter dargestellt. Adresse Bezeichnung Besetzungsraum (Byte) Einstellwert Beschreibung 0 BmRequestType 1 Bytewert Befehlsformat D7: Datenübertragungsrichtung 0 = Datenausgabe vom Lese- und Schreibgerät zur Speicherkarte 1 = Datenausgabe von der Speicherkarte zum Lese- und Schreibgerät D6...5: Befehlstyp 0 = Standardsbefehl 1 = speicherspezifischer Befehl 3 = vorbehalten D4...0: Befehlszielgegenstand 0 = Gerät selbst 1 = Schnittstelle 2 = Kommunikationsendpunkt 3 = Sonstige 4...31 = vorbehalten 1 bRequest 1 Einstellwert Stellt den Befehlsschlüssel ein (siehe nächste Tabelle) 2 wValue 2 Einstellwert Weist unterschiedliche Bedeutung je nach dem Befehlsschlüssel und eine Länge von 2 Bytes auf 4 wIndex 2 Indexwert weist unterschiedliche Bedeutung je nach dem Befehlsschlüssel und dient zum Einstellen des Indexwertes 6 wLength 2 Zahlenwert Stellt die Datenlänge ein Tabelle 1: Steuerung des Übertragungsdatenformates The SETUP command key and parameter of 8 bytes contains: bmRequestTzpe, bRequest, wValue, wIndex, wLength. Their definition and application are prescribed in the USB standard. The meaning of the parameters is shown in table list. address description Staffing Room (Bytes) setting description 0 BmRequestType 1 byte Command format D7: Data transfer direction 0 = Data output from the reading and writing device to the memory card 1 = Data output from the memory card to the reading and writing device D6 ... 5: Command type 0 = standard command 1 = memory-specific command 3 = reserved D4 ... 0: Command target object 0 = device itself 1 = interface 2 = communication end point 3 = other 4 ... 31 = reserved 1 bRequest 1 setting Sets the command key (see next table) 2 wValue 2 setting Has different meaning depending on the command key and a length of 2 bytes 4 wIndex 2 index value has different meaning depending on the command key and is used to set the index value 6 wLength 2 value Sets the data length Table 1: Control of the transmission data format

Außer dem Standardsbefehlsschlüssel werden der speicherspezifische Befehlsschlüssel und der herstellerspezifische Befehlsschlüssel beide von dem Hersteller selbst festgelegt. Die Speicherkarte oder Ein-Ausgabekarte muß den Standardsbefehl unterstüzen. In Tabelle 2 wird die Definition des Standardsbefehlsschüssels dargestellt: BmRequest Type bRequest wValue wIndex WLength Data 00000000B 00000001B 00000010B CLEAR_FEATURE Feature Select or 0 0 keine 1000000B GET_CONFIGURATION 0 0 1 Konfigurationseinstellwert 1000000B GET_DESCRIPTOR Deskriptortyp Und Indexwert 0 oder Sprachenschlüssel Deskriptorlänge Deskriptordaten 10000001B GET_STATUS 0 0 Schnittstellenschlüssel Kommunikationsendpunktschlüssel 2 Erhält den Speicher-, Schnittstellen- und Kommunikationsendpunktzustand 0000000B SET_ADDRESS Adresse 0 0 keine 0000000B SET_CONFIGURATION Konfigurationseinstellwert 0 0 keine 0000000B SET_DESCRIPTOR Deskriptortyp Und Indexwert 0 oder Sprachenschlüssel Deskriptorlänge Deskriptor 00000000B 00000001B 00000010B SET_FEATURE Feature Select or 0 Schnittstellenschlüssel Kommunikationsendpunktschlüssel 0 keine 00000001B SET_INTERFACE Alternate Setting Schnittstellenschlüssel 0 keine Tabelle 2: Standardsbefehlschlüssel In addition to the default command key, the memory-specific command key and the manufacturer-specific command key are both set by the manufacturer. The memory card or input / output card must support the standard command. Table 2 shows the definition of the default command shell: BmRequest Type bRequest wValue wIndex wLength Data 00000000B 00000001B 00000010B CLEAR_FEATURE Feature Select or 0 0 none 1000000B GET_CONFIGURATION 0 0 1 Konfigurationseinstellwert 1000000B Get_Descriptor Descriptor Type And Index Value 0 or language key Deskriptorlänge descriptor 10000001B GET_STATUS 0 0 Interface key Communication endpoint key 2 Receives the memory, interface and communication endpoint state 0000000B SET_ADDRESS address 0 0 none 0000000B SET_CONFIGURATION Konfigurationseinstellwert 0 0 none 0000000B SET_DESCRIPTOR Descriptor Type And Index Value 0 or language key Deskriptorlänge descriptor 00000000B 00000001B 00000010B SET_FEATURE Feature Select or 0 Interface key Communication endpoint key 0 none 00000001b SET_INTERFACE Alternate Setting Interface Key 0 none Table 2: Default Command Key

In der Datenphase werden die Übertragungsrichtung und die Datenlänge durch bRequest und wLength bestimmt. Die Systemseite aktiviert die Datenübertragung und die Datenlänge wird durch wLength eingestellt.In The data phase becomes the transmission direction and the data length determined by bRequest and wLength. The system page activates the data transfer and the data length is set by wLength.

In der Zustandsphase sendet der Empfänger einen Zustandsschlüssel zurück und informiert, ob die Daten richtig empfangen werden.In In the status phase, the receiver sends back a status key and informs whether the data is received correctly.

(9) Anwendung der Schnittstelle der Vielfunktion-Speicherkarte(9) Using the multi-function memory card interface

Die Schnittstelle der Vielfunktion-Speicherkarte ist für unterschiedliche Anwendungen geeignet. Sie kann in Verbindung mit dem entsprechenden Befehlsvorrat und Kommunikationsprotokoll auf Speichergerät, Kommunikationsgerät usw. Angewendet werden.The Interface of the multi-function memory card is for different Applications suitable. It can be combined with the corresponding one Command set and communication protocol to storage device, communication device, etc. Applied become.

Claims (32)

Schnittstelle mit Kommunikationsprotokoll einer Vielfunktion-Speicherkarte, das einen Halbduplex- und 4-Bit-Serienberieb verwendet, wobei beim CLK-Signal in jeder Taktperiode eine 4-Bit-Information D0, D1, D2 und D3 übertragen werden kann, wobei die Übertragungsinformation paketiert wird, wobei das Kommunikationsprotokoll den in der Speicherkarte imitierten Kommunikationsendpunkt als Quelle oder Senke der Informationsübertragung verwendet, und wobei das Datenpaket das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit enthält.Interface with communication protocol of a multi-function memory card that uses a half-duplex and 4-bit Serienberieb, wherein the CLK signal in each clock period, a 4-bit information D0, D1, D2 and D3 can be transmitted, the transmission information is packetized wherein the communication protocol uses the communication endpoint mimicked in the memory card as the source or sink of information transmission, and wherein the data packet comprises the start bit, the packet identifier, the communications endpoint, the data length, the payload data, the packet status key, the data format and the end bit. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß die Datenfolge des Datenpaketes ist: das Startbit, der Paketidentifizierer, der Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, der Paketzustandsschlüssel, das Datenformat und das Endbit.Interface according to claim 1, characterized in that that the Data sequence of the data packet is: the start bit, the packet identifier, the communication endpoint, the data length, the payload data, the Package state key the data format and the end bit. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß am Anfang des Datenpaketes ein Starbit für eine Taktperiode erzeugt wird, dessen 4 Bits alle 0 sind.Interface according to claim 1, characterized in that that am Beginning of the data packet generates a starboard for one clock period whose 4 bits are all 0. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß am Ende des Datenpaketes ein Endbit für zwei Taktperioden erzeugt wird, dessen D0-D3 alle 1 sind.Interface according to claim 1, characterized in that that am End of the data packet generates an end bit for two clock periods whose D0-D3 are all 1. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß die Anwendung des Datenpaketes je nach dem Paketidentifizierer (PID) unterschiedlich ist, wobei der Paketidentifizierer die Übertragungsrichtung, die Adresse des Kommunikationsendpunktes und die Datenlänge des Datenpaketes verschlüsselt, die Payload-Daten einen CRC-Fehlererfassungsschlüssel enthält, und der Paketzustandsschlüssel von dem Empfänger der Payload-Daten zurückgesendet wird, um zu informieren, ob die Daten richtig empfangen werden.Interface according to claim 1, characterized in that that the Application of the data packet depending on the packet identifier (PID) different, where the packet identifier is the transmission direction, the address of the communication endpoint and the data length of the Encrypted data packets, the Payload data contains a CRC error detection key, and the package state key of the recipient the payload data sent back to inform if the data is received correctly. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß der Paketidentifizierer durch 4 Bits gebildet ist, die mit weiteren 4 Bits mit umgekehrter Bitfolge ergänzt werden, um einen Kommunikationsfehler zu vermeiden, wodurch insgesamt 8 Bits entstehen, die in steigender Potenz innerhalb von zwei Taktperioden übertragen werden.Interface according to claim 1, characterized in that that the Packet identifier is formed by 4 bits, with further 4 bits are added with reverse bit order to a communication error to avoid, whereby altogether 8 bits arise, which in increasing Potency be transmitted within two clock periods. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Paketidentifizierer den Sachverhalt verschlüssel, daß das elektronische Anwendungsgerät (100) zur Datenausgabe bereitsteht.Interface according to claim 5, characterized in that the packet identifier encodes the fact that the electronic application device ( 100 ) is ready for data output. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Paketidentifizierer den Sachverhalt verschlüssel, daß das elektronische Anwendungsgerät (100) zur Dateneingabe bereitsteht.Interface according to claim 5, characterized in that the packet identifier encodes the fact that the electronic application device ( 100 ) is ready for data entry. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Paketidentifizierer den Sachverhalt verschlüssel, daß das elektronische Anwendungsgerät (100) den Kommunikationsendpunkt einstellen oder entsprechende Information erhalten will.Interface according to claim 5, characterized in that the packet identifier encodes the fact that the electronic application device ( 100 ) to set the communication endpoint or receive appropriate information. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Paketidentifizierer den Sachverhalt verschlüssel, daß der Datenempfänger dem Empfang des Datenpaketes informieren soll.Interface according to claim 5, characterized in that that the Packet Identifier encrypt the fact that the data receiver is the Inform the reception of the data packet. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Paketidentifizierer den Sachverhalt verschlüssel, daß der Empfänger vorübergehend keine Information empfangen kann oder der Sender vorübergehend keine Information senden kann.Interface according to claim 5, characterized in that that the Package identifier encrypt the fact that the recipient temporarily no information can receive or the transmitter temporarily no information can send. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Paketidentifizierer den Sachverhalt verschlüssel, daß der Kommunikationsendpunkt deaktiviert werden oder der Steuerendpunkt den Steuerbefehl nicht unterstützen soll.Interface according to claim 5, characterized in that that the Packet identifier encrypt the fact that the communication endpoint or the control endpoint does not disable the control command support should. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Kommunikationsendpunkt bei der Paketübertragung direkt nach PID mit 4 Bits in einer Taktperiode übertragen wird.Interface according to claim 5, characterized in that that the Communication endpoint for packet transmission directly to PID with 4 bits in one clock period becomes. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß entsprechend einzelnem Kommunikationsendpunkt in der Speicherkarte oder Ein-Ausgabekarte eine Datenpufferungszone mit vorbestimmter Kapazität vorgesehen ist, in der die Rayload-Daten des Datenpaketes zwischen dem elektronischen Anwendungsgerät und der Speicherkarte vorübergehend gespeichert werden.Interface according to claim 5, characterized in that that accordingly single communication endpoint in the memory card or input / output card a data buffering zone of predetermined capacity is provided is where the rayload data of the data packet between the electronic application device and the memory card temporarily get saved. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Kommunikationsendpunkt den Steuerendpunkt umfaßt, der dem elektronischen Anwendungsgerät (100) beim Aktivierung der Speicherkarte ermöglicht, den Paketidentifizierer, die Funktionsweise, die Anzahl der unterstützten Kommunikationsendpunkte, die Adressen der Kommunikationsendpunkte und das Kommunikationsendpunktformat zu erhalten.Interface according to Claim 5, characterized in that the communication end point comprises the control end point associated with the electronic application device ( 100 ) upon activation of the memory card enables the packet identifier, the functionality, the number of supported communication endpoints, the addresses of the communication endpoints and the communication endpoint format to be obtained. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Kommunikationsendpunkt den Dateneingabe-Endpunkt umfaßt, der eine Dateneingabe des elektronischen Anwendungsgerät von der Speicherkarte oder Ein-Ausgabekarte gestattet.Interface according to claim 5, characterized in that the communication end point the Da input endpoint that allows data entry of the electronic application device from the memory card or input / output card. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Kommunikationsendpunkt den Datenausgabe-Endpunkt umfaßt, der eine Datenausgabe des elektronischen Anwendungsgerätes an die Speicherkarte oder Ein-Ausgabekarte gestattet.Interface according to claim 5, characterized in that that the Communication endpoint includes the data output endpoint, the a data output of the electronic application device to the Memory card or I / O card allowed. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß der Kommunikationsendpunkt den diskontinuierlichen Dateneingabe-Endpunkt umfaßt, der eine Dateneingabe des elektronischen Anwendungsgerätes mit vorbestimmten Zeitintervall von der Speicherkarte oder Ein-Ausgabekarte gestattet.Interface according to claim 5, characterized in that that the Communication endpoint the discontinuous data entry endpoint comprises the data entry of the electronic application device with predetermined time interval from the memory card or input / output card allowed. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß die Daten im Datenpaket als Payload-Daten bezeichnet werden, wobei jedes Byte in zwei Taktperioden übertragen wird und die Übertragungsrichtung von dem elektronischen Anwendungsgerät (100) im Paketidentifizierer verschlüsselt wird.Interface according to Claim 1, characterized in that the data in the data packet are referred to as payload data, each byte being transmitted in two clock cycles and the transmission direction being determined by the electronic application device ( 100 ) is encrypted in the packet identifier. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß den Payload-Daten ein Fehlererfassungsschlüssel folgt.Interface according to claim 5, characterized in that that the Payload data is followed by an error detection key. Schnittstelle nach Anspruch 5, dadurch gekennzeichnet, daß die Länge des Fehlererfassungsschlüssels 16 Taktperioden ist und der Algorithmus des Fehlererfassungsschlüssels eine Division durch 2 ausführt, die eine Division von Polynom durch 2 enthält.Interface according to claim 5, characterized in that the length of the error detection key 16 Clock periods and the algorithm of the error detection key performs a division by 2, which contains a division of polynomial by 2. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß der Empfänger nach dem Empfang der Payload-Daten prüft, ob der Fehlererfassungsschlüssel entspricht, und informiert, ob die Daten richtig empfangen werden, wobei der Empfänger das ACK-Signal zurücksendet, wenn die Daten richtig empfangen werden.Interface according to claim 1, characterized in that that the receiver after receiving the payload data checks whether the error detection key corresponds, and informs whether the data is received correctly, the receiver returns the ACK signal, if the data is received correctly. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß der Empfänger das NAK-Signal zurücksendet und eine erneute Übertragung fordert, wenn die Daten vorübergehend nicht empfangen werden können oder die Daten fehlerhaft sind.Interface according to claim 1, characterized in that that the receiver sends back the NAK signal and a retransmission calls when the data is temporary can not be received or the data is faulty. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß der Empfänger das STALL-Signal zurücksendet, wenn ein Fehler in der Speicherkarte oder dem Ausführungsbefehl auftritt.Interface according to claim 1, characterized in that that the receiver returns the STALL signal, if there is an error in the memory card or the execution command occurs. Schnittstelle nach Anspruch 1, dadurch gekennzeichnet, daß eine Steuerung des Übertragungsmodus enthalten ist, durch die das elektronische Anwendungsgerät (100) von dem eingestellten Kommunikationsendpunkt die entsprechenden Information über die Speicherkarte erhalten kann.Interface according to Claim 1, characterized in that it contains a control of the transmission mode by which the electronic application device ( 100 ) can receive the corresponding information about the memory card from the set communication endpoint. Schnittstelle nach Anspruch 25, dadurch gekennzeichnet, daß die Steuerung des Übertragungsmodus in die SETUP-, DATA- und STATUS-Phase untergeteilt wird.Interface according to Claim 25, characterized that the Control of transmission mode in the SETUP, DATA and STATUS phases are subdivided. Formatierer, der anhand des Kommunikationsprotokolls der Schnittstelle der Vielfunktion-Speicherkarte (SDM) die Daten aus dem Speicher in Form von Datenpaket formatiert, das das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit enthält.Formatter based on the communication protocol the interface of the multi-function memory card (SDM) the data formatted from memory in the form of data packet containing the start bit, the packet identifier, the communication endpoint, the data length, the Payload data, the packet status key, the data format and the End bit contains. Formatierer nach Anspruch 27, dadurch gekennzeichnet, daß die Datenfolge des Datenpaketes ist: das Startbit, der Paketidentifizierer, der Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, der Paketzustandsschlüssel, das Datenformat und das Endbit.Formatter according to Claim 27, characterized that the Data sequence of the data packet is: the start bit, the packet identifier, the communication endpoint, the data length, the payload data, the Package state key the data format and the end bit. Formatierer nach Anspruch 27, dadurch gekennzeichnet, daß die Anwendung des Datenpaketes je nach dem Paketidentifizierer (PID) unterschiedlich ist, wobei der Paketidentifizierer die Übertragungsrichtung, die Adresse des Kommunikationsendpunktes und die Datenlänge des Datenpaketes verschlüsselt, die Payload-Daten einen CRC-Fehlererfassungsschlüssel enthält, und der Paketzustandsschlüssel von dem Empfänger der Payload-Daten zurückgesendet wird, um zu informieren, ob die Daten richtig empfangen werden.Formatter according to Claim 27, characterized that the Application of the data packet depending on the packet identifier (PID) is different, being the packet identifier the transmission direction, the address of the communication endpoint and the data length of the Encrypted data packets, the Payload data contains a CRC error detection key, and the package state key of the recipient the payload data sent back to inform if the data is received correctly. Formatumsetzer, der das USB-Datenpaket auf das Datenpaket umsetzt, das dem Kommunikationsprotokoll der Schnittstelle der Vielfunktion-Speicherkarte entspricht und das Startbit, den Paketidentifizierer, den Kommunikationsendpunkt, die Datenlänge, die Payload-Daten, den Paketzustandsschlüssel, das Datenformat und das Endbit enthält.A format converter that converts the USB data packet to the data packet that corresponds to the communication protocol of the multi-function memory card interface, and the start bit, the packet identifier, the communication end point, the data length, the payload data, the packet state key, the data format and the end bit contains. Formatumsetzer nach Anspruch 30, dadurch gekennzeichnet, daß die Datenfolge des Datenpaketes ist: das Startbit, der Paketidentifizierer, der Kommunikationsendpunkt, die Datenlänte, die Payload-Daten, der Paketzustandsschlüssel, das Datenformat und das Endbit.Format converter according to claim 30, characterized in that that the Data sequence of the data packet is: the start bit, the packet identifier, the communication endpoint, the data lanes, the payload data, the packet state key, the Data format and the end bit. Formatumsetzer nach Anspruch 30, dadurch gekennzeichnet, daß die Anwendung des Datenpaketes je nach dem Paketidentifizierer (PID) unterschiedlich ist, wobei der Paketidentifizierer die Übertragungsrichtung, die Adresse des Kommunikationsendpunktes und die Datenlänge des Datenpaketes verschlüsselt, die Payload-Daten einen CRC-Fehlererfassungsschlüssel enthält, und der Paketzustandsschlüssel von dem Empfänger der Payload-Daten zurückgesendet wird, um zu informieren, ob die Daten richtig empfangen werden.Format converter according to claim 30, characterized in that that the Application of the data packet depending on the packet identifier (PID) different, where the packet identifier is the transmission direction, the address of the communication endpoint and the data length of the Encrypted data packets, the Payload data contains a CRC error detection key, and the package state key of the recipient the payload data sent back to inform if the data is received correctly.
DE20321576U 2002-08-09 2003-03-12 Interface of a multi-function memory card Expired - Lifetime DE20321576U1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
TW91117942A TWI261788B (en) 2002-08-09 2002-08-09 Small-form-factor memory card interface (II) having multi-functional communication interface, formatter and format converter
TW091117942 2002-08-09
DE2003110770 DE10310770A1 (en) 2002-08-09 2003-03-12 Communication protocol for mini-memory card, has data that is transferred through semi-duplex process and four bitstreams of data transferred in parallel, and signal used as base clock in data transfer

Publications (1)

Publication Number Publication Date
DE20321576U1 true DE20321576U1 (en) 2008-03-13

Family

ID=39185320

Family Applications (1)

Application Number Title Priority Date Filing Date
DE20321576U Expired - Lifetime DE20321576U1 (en) 2002-08-09 2003-03-12 Interface of a multi-function memory card

Country Status (1)

Country Link
DE (1) DE20321576U1 (en)

Similar Documents

Publication Publication Date Title
DE10310784A1 (en) Lots of function memory card
DE69825672T2 (en) External memory device with a transmission protocol selection circuit
DE602004007402T2 (en) EFFICIENT CONNECTION BETWEEN MODULES OF REPLACEABLE ELECTRONIC CIRCUITS
DE60132780T2 (en) Multiple removable non-volatile memory cards with serial connection to a central computer
DE102004033363B4 (en) Multi-standard protocol storage device
DE69913166T2 (en) METHOD OF DATA TRANSFER AND CARD FOR SUCH A TRANSFER
DE112006003267B4 (en) Time multiplexed dynamic circuit integrated circuit
US20050279839A1 (en) Circuit module and memory card kit compliant with various access protocols
DE202012011666U1 (en) Data structures for facilitating communication between a host device and an accessory
US20090100198A1 (en) Addressing multiple devices on a shared bus
DE69817925T2 (en) Smart card reader using a fast transmission protocol
DE10317289A1 (en) Integrated circuit with multiple communication modes and associated operating procedure
DE602004009728T2 (en) Method for increasing the transmission speed of a multimedia card with a differential signal
DE102004015535B4 (en) Data transmission interface and method
JP6986835B2 (en) Electronic information storage, data processing methods, and data processing programs
DE102005016379A1 (en) Electronic device with serial communication interface and control method
DE102004059813A1 (en) Operating procedure for an electronic host card system and storage system
DE102006021389B4 (en) Circuit arrangement and method for operating a circuit arrangement
EP0691655A1 (en) Module card
DE102005032483B4 (en) Integrated multi-mode circuit device, smart card system and associated mode selection methods
DE20321576U1 (en) Interface of a multi-function memory card
DE10310770A1 (en) Communication protocol for mini-memory card, has data that is transferred through semi-duplex process and four bitstreams of data transferred in parallel, and signal used as base clock in data transfer
DE10233429A1 (en) Double interface SD chip card has two internal bus circuits that can be changed and card coupled to adapter
CN101436119A (en) System and method for media card communication
DE20316108U1 (en) Controller with implementation function on USB interface

Legal Events

Date Code Title Description
R207 Utility model specification

Effective date: 20080417

R150 Term of protection extended to 6 years

Effective date: 20080313

R151 Term of protection extended to 8 years

Effective date: 20090206

R152 Term of protection extended to 10 years

Effective date: 20110225

R071 Expiry of right
R071 Expiry of right