DE20321576U1 - Interface of a multi-function memory card - Google Patents
Interface of a multi-function memory card Download PDFInfo
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4247—Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
- G06F13/426—Bus 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.
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
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
Die
erfindungsgemäße Vielfunktion-Speicherkarte
Das
elektronische Anwendungsgerät
Der
Ein-Ausgabe-Baustein
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
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
Systemschnittstellen-
und Speicherkartenerfassungssignal: Das Systemschnittstellen- und
Speicherkartenerfassungssignal wird in der Speicherkarte mit dem
Ein-Ausgabesteuersignal und im elektronischen Anwendungsgerät
Die
Schnittstellenerfassungsschaltung des Ein-Ausgabenbausteins enthält eine
Stromquelle
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
In
den Blockschaltungen gemäß
Wenn
die Vielfunktion-Speicherkarte mit der SFMI-Schnittstelle verbunden
wird, wie in
Im
Ausgabemodus wird die SFMI-Schnittstelle festgestellt, wenn die
zweite Diode
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
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
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
(2) Paketidentifizierer (PID)(2) Package Identifier (PID)
Wie
aus
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
(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
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
(4) Datenlänge(4) data length
Wie
aus
(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
(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
(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
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.
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:
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)
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) |
-
2003
- 2003-03-12 DE DE20321576U patent/DE20321576U1/en not_active Expired - Lifetime
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 |