DE10310770A1 - 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 - Google Patents
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 Download PDFInfo
- Publication number
- DE10310770A1 DE10310770A1 DE2003110770 DE10310770A DE10310770A1 DE 10310770 A1 DE10310770 A1 DE 10310770A1 DE 2003110770 DE2003110770 DE 2003110770 DE 10310770 A DE10310770 A DE 10310770A DE 10310770 A1 DE10310770 A1 DE 10310770A1
- Authority
- DE
- Germany
- Prior art keywords
- data
- packet
- communication
- communication protocol
- memory card
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0008—General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
Landscapes
- Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Systems (AREA)
- Communication Control (AREA)
Abstract
Description
Gebiet der ErfindungField of the Invention
Die Erfindung betrifft ein Kommunikationsprotokoll der Schnittstelle 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 invention relates to a communication protocol the interface of a memory card, in particular a communication protocol, that can support the interface of a multi-function memory card and the USB interface, making an interface converter unnecessary.
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 angeschlossen ist, wodurch der Mikroprozessor auf Befehl des elektronischen Anwendungsgerätes die entsprechende Lese- und Schreiboperation ausführen kann.The memory card uses one writable, non-volatile Chip as storage medium in which a microprocessor is integrated, which can control the read and write operation and to the interface the memory card for connection to the electronic application device is what the microprocessor on the command of the electronic application device can perform appropriate read and write operations.
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 Markt sind Speicherkarten unterschiedlichen Typs zu finden, wie Compact-Flash-Speicherkarte (CF-Speicherkarte), Smart-Media-Speicherkarte (SM-Speicherkarte), 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, Blue-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.This memory card has the advantages of a small volume and weight, a high reading and writing speed and low power consumption and is widely used on digital data products to store digital data. On the There are different types of memory cards on the market, 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 is widely applied to portable digital devices such as cell phones, Digital camera, MP3 player and PDA. To the field of application of the memory card to enlarge, kick 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, Blue-Tooth communication card with SD interface etc. To get around to be distinguished from the memory cards, which only have the memory function, these memory cards are referred to as an input / output card.
Die obengenannten Speicherkarten weisen jedoch eignene 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 above memory cards however, have their own disadvantages. With the compact flash memory card the interface uses a 50-pin connector and one parallel 8- and 16-bit data bus, an address bus with 26 lines and several 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 50-pin connector has a larger space requirement and increased the manufacturing cost of the interface connector; 2. the plug connection is energy-intensive; 3. the connector cannot be guaranteed; 4. because of of the parallel operation, the application device cannot directly with several Memory cards are connected; 5. write protection is not intended.
Beider 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.Both smart media memory cards the interface has a contact connection with 22 contacts, which as Contact strips are formed. Two springs are required to capture the memory card and write protect label.
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 sticker take up space and increase the cost the interface connector; 2. The contacts are in two rows classified, which means when inserting and removing the memory card the first row of contacts on the memory card initially with the second row of contacts makes contact in the slot; 3. are the VCC and GND contact provided in the middle, which can lead to a short circuit; 4. the write protection sticker cannot directly protect the stored data in the memory card and needed detection of the write protection state by the application device; 5. one real addressing is used, providing 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 is expanded.
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.With the multimedia memory card the interface has a contact connection with 7 contacts that act as contact strips are trained. A spring is required to hold the memory card and capture the write protect sticker.
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. Series production is used whereby only one bit can be transmitted in each clock period, so that the transmission speed is low is; 2. A software-controlled write protection is used, whereby a specific software is required.
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.With the Secure Digital memory card the interface has a contact connection with 9 contacts, which as Contact strips are formed. Two springs are required to capture the memory card and the write protect tab.
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 slide requires the write protection status to be recorded 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.Both memory stick memory cards the interface has a contact connection with 10 contacts, which as Contact strips are formed. The interface can itself Generate memory card capture signal. The memory card is included a write protection switch and has the write protection 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. Series production is used whereby only one bit can be transmitted in each clock period, so that the transmission speed is low; 2. 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 is expanded.
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 vorliegene Erfindung entwickelt.Because the memory cards have their own advantages and have disadvantages and the personal computer only one electronic application device, that supports a USB, PCMCIA or IDE interface the memory cards can exchange data, the Inventor developed 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 Anschluß 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.The invention is based on the object a communication protocol of the interface of a multi-function memory card to create, connecting the Interface is 4-pin and 8-pin, which makes the multi-function memory card the USB interface and the interface defined in the invention can support so that one Application to computers and various 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.This object is achieved by the communication protocol according to the invention the interface of a multi-function memory card solved that uses half-duplex and 4-bit serial operation. The CLK signal can 4-bit information D0, D1, D2 and D3 are transmitted in each clock period become. The transmission information is packaged. The communication protocol uses the in the Memory card imitated communication end point as source or Sink of information transfer. The data packet contains 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.
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, the 4-pin and 8-pin is. The 4-pin design is for the USB interface and the 8-pin training is for the SFMI interface. Four of the eight lines for SFMI interface are with the four lines for USB interface in common. The other four lines for the SFMI interface are next to the four lines for the USB interface arranged. The plug connection can be a 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 invention further relates to a Formatter based on the communication protocol of the interface the multi-function memory card the data from the memory in the form formatted by data packet, the data packet being 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 invention further relates to a Format converter that converts the USB data packet to the data packet, the communication protocol of the interface of the multi-function memory card corresponds, the data packet being the start bit, the packet identifier, the communication end point, the data length, the payload data, the Package state key contains the data format and the end bit.
Kurze Beschreibung der ZeichnungenShort description of the drawings
Detaillierte Beschreibung der ErfindungDetailed description 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 elektronsiche 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/DatenlZustand-Datenbuses und existiert nicht im USB-Modulbetrieb.The 4-pin connector is for the USB interface designed and contains a VCC line through which the connected device supplies the memory card with direct current can supply a GND line for grounding, a D + line and a D line for data transmission. The interface of the multi-function memory card according to the invention has an 8-pin connector, which is a 4-bit two-way command / data / state bus (D0-D3), a clock synchronous line (CLK), a system interface and memory card acquisition line (CD), a power line (VCC) and a ground line (GND) contains. The Write protection can be provided by a multi-function memory card Integrated write protection switches can be switched on and over the Interface to be communicated to the electronic application device. VCC is a power line through which the memory card can supply direct current can be. GND is an earthing cable for earthing protection. CLK is a line for clock synchronous signal and can the input-output data a synchronization clock deliver so that the time sequence of the data signal is restored becomes. BD_CD is a line for System interface and memory card capture signal used for Serves to capture that Input / output data is a USB or SFMI signal. D0 is the Bit0 line of the two-way command / data / status bus and the D line in USB module mode. D1 is the Bit1 line of the two-way command / data / state bus and the D + line in USB module mode. D2 is the Bit2 line of the two-way command / data / status bus and does not exist in USB module mode. D3 is the Bit3 line of the two-way command / data / data bus and does not exist in USB module mode.
Die obige Beschreigung 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 above description has it Brought to the knowledge that the SFMI interface according to the invention and the USB interface use four common lines: 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, in addition to the four lines for USB interface the other four lines can be arranged, whereby the SFMI interface according to the invention can use the cables 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 connection of the Multi-function memory card that is 4-pin and 8-pin. The 4-pin Education is for the USB interface and the 8-pin configuration are designed for the SFMI interface. Four of the eight lines for the SFMI interface are with the four lines for USB interface together. The other four lines for the SFMI interface are in addition to the four lines for the USB interface arranged. The plug connection can be a 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
The system interface and memory card detection signal is in the memory card with the input / output control signal and in the electronic application device
Die Schnittstellenerfassungsschaltung
des Ein-Ausgabenbausteins enthält
eine Stromquelle
Der Ein-Ausgabebaustein kann durch das Vorhandensein oder Nichtvorhandensein des Systemschnittstellen- und Speicherkartenerfassungssignals (BD CD) eine USB- oder SFMI-Schnittstellen feststellen.The input / output module can be the presence or absence of the system interface and memory card acquisition signal (BD CD) a USB or SFMI interfaces determine.
Wenn die Vielfunktion-Speicherkarte
in das elektronische Anwendungsgerät
Wenn das BD_CD-Siganl ein niedriges Potential aufweist, bedeutet es, daß die Systemseite 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 BD_CD signal is low Potential, it means that the system side has the BD_CD signal no over connected the resistor to the power source. That the system side supports the USB interface. Therefore, the memory card enters the USB interface mode on.
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 Kommunikaitonsprotokoll
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 interface of the multi-function memory card uses half-duplex and 4-bit series operation. With the CLK signal, 4-bit information can be transmitted in each clock period. The information transfer mode 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 Kommunikationsendpunkte 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 this interface must at least support a communication endpoint that acts as a control endpoint designated and has the address 0. The card reader / writer can by this control endpoint information about the function of the memory card and get the setting of the other communication endpoints. Therefore, the reader and writer can function as the memory card activate and an information transfer To run.
(1)Startbit/Endbit(1) start bit / end bit
Das elektronische Anwendungsgerät
(2)Paketidentifizierer (PID)(2) packet identifier (PID)
Wie aus
Der Paketidentifizierer
(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.The communication end point is that Main unit for information transfer the memory card or input / output card and the electronic application device. Corresponding single communication endpoint is in the memory card or I / O card a data buffering zone with a 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 Empänger der Datenpaketes identifiziert.The memory card or input / output card can support a maximum of 16 communication endpoints. By the address of the Communication end point in the data packet becomes the recipient of 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 at least support a communication endpoint whose address is 0. The electronic application device can use this communication endpoint to identify the packet identifier, the functionality, the number of supported communication endpoints, the addresses of the communication endpoints and the communication endpoint format receive.
Der Kommunikationsendpunkt hat vier Arten für unterschiedliche Informationsübertragung zwischen dem elektronischen Anwendungsgerät und der Speicherkarte oder Ein-Ausgabekarte.The communication endpoint has four Species for different information transfer 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 elektronsichen Anwendungsgerätes von der Speicherkarte oder Ein-Ausgabekarte.The data entry endpoint allowed a data entry of the electronic application device from the memory card or input / output card.
Der Datenausgabe-Endpunkt gestattet eine Datenausgabe des elektronsichen Anwendungsgerätes an die Speicherkarte oder Ein-Ausgabekarte.The data output endpoint allowed a data output of the electronic application device to the Memory card or input / output card.
Der diskontinuierliche Dateneingabe-Endpunkt gestattet eine Dateneingabe des elektronsichen Anwendungsgerätes mit vorbestimmten Zeitintervall von der Speicherkarte oder Ein-Ausgabekarte.The discontinuous data entry endpoint allows data entry of the electronic application device with predetermined time interval from the memory card or input / output 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 state 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,
wie 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 transmission of all data packets are activated by the electronic application device (system side). The data packet 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 transmission and sets the packet identifier the communication end point 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 Erfassungsschlüsselentspricht. 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 in the IN package After receiving the above information, the requested data cannot deliver, it can return the status key NAK, which causes the system side to transmit interrupts and can activate a new data transmission, to try again to get the data. If the memory page can deliver the requested data, it sends a start bit and then the data in the corresponding communication end point. When reaching the required data length a 16 bit CRC capture key follows the data. The system side verifies whether the entry key corresponds If so, it sends ACK back. If no, it sends NAK back and can retransmit 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 Erfassungsschlü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 Is SETUP package, the system side sets the package identifier Communication end point and the data length fixed and then transmits the data to be output. When the specified data length is reached, follows a CRC acquisition key for the data of 16 bits. The memory page checks whether the entry key matches. If so, it sends ACK back. If no, it sends NAK back. Doing so will retransmit of the data packet decided by the system side.
(8) Steuerung des Übertragungsmodus(8) Control of the 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.The system side sends in the SETUP phase the data packet containing the packet identifier SETUP, the communication end point with the address 0, the data length of 8 bytes. Subsequently the system side sends the SETUP command key and parameter of 8 bytes and the CRC16 key of 2 bytes. Finally the memory page sends back 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 Tabelle 1 ist die Bedeutung der Parameter dargestellt.The SETUP command key and - Parameter of 8 bytes contains: bmRequestTzpe, bRequest, wValue, wIndex, wLength. Your definition and application are prescribed in the USB standard. In Table 1 the meaning of the parameters is shown.
Tabelle 1: Steuerung des Übertragungsdatenformates 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ützen. In Tabelle 2 wird die Definition des Standardsbefehlsschüssels dargestellt: In addition to the standard 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 standard command key:
Tabelle 2: Standardsbefehlschlüssel Table 2: Standard 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, the direction of transmission 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 the status phase, the receiver sends one key state back and informs whether the data is received correctly.
(9)Anwendung der Schnittstelle der Vielfunktion-Speicherkarte 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.(9) application of the interface of the Multi-function memory card The interface of the multi-function memory card is for suitable for different applications. It can be combined with the corresponding command set and communication protocol Storage device communication device etc. can be applied.
Claims (32)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE20321576U DE20321576U1 (en) | 2002-08-09 | 2003-03-12 | Interface of a multi-function memory card |
Applications Claiming Priority (2)
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 |
TW91117942 | 2002-08-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
DE10310770A1 true DE10310770A1 (en) | 2004-02-26 |
Family
ID=31185936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE2003110770 Ceased 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 |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP2004078880A (en) |
DE (1) | DE10310770A1 (en) |
TW (1) | TWI261788B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5150591B2 (en) * | 2009-09-24 | 2013-02-20 | 株式会社東芝 | Semiconductor device and host device |
-
2002
- 2002-08-09 TW TW91117942A patent/TWI261788B/en not_active IP Right Cessation
- 2002-11-25 JP JP2002340218A patent/JP2004078880A/en active Pending
-
2003
- 2003-03-12 DE DE2003110770 patent/DE10310770A1/en not_active Ceased
Also Published As
Publication number | Publication date |
---|---|
JP2004078880A (en) | 2004-03-11 |
TWI261788B (en) | 2006-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE10310784A1 (en) | Lots of function memory card | |
DE69913166T2 (en) | METHOD OF DATA TRANSFER AND CARD FOR SUCH A TRANSFER | |
CN100421093C (en) | External storage device | |
DE602004007402T2 (en) | EFFICIENT CONNECTION BETWEEN MODULES OF REPLACEABLE ELECTRONIC CIRCUITS | |
CN1993702B (en) | Memory card and card adapter | |
DE60005127T2 (en) | Portable electronic device | |
TW561346B (en) | Multiple removable non-volatile memory cards serially communicating with a host | |
CN100419727C (en) | Card identification compatibility | |
DE60317635T2 (en) | EXTERNAL CONNECTION DEVICE, HOST DEVICE AND DATA COMMUNICATION SYSTEM | |
US20040044819A1 (en) | USB system having card-type USB interface connector | |
DE102010018762A1 (en) | storage device | |
DE102005016379A1 (en) | Electronic device with serial communication interface and control method | |
DE102004015535B4 (en) | Data transmission interface and method | |
JP6986835B2 (en) | Electronic information storage, data processing methods, and data processing programs | |
US6718284B2 (en) | Smart module and adapter apparatus | |
DE102006021389B4 (en) | Circuit arrangement and method for operating a circuit arrangement | |
DE102004059813A1 (en) | Operating procedure for an electronic host card system and storage system | |
US20090204744A1 (en) | Methods and systems for reconfiguring data memory of embedded controller managed flash memory devices | |
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 | |
CN102023939B (en) | Storage device safety circuit | |
DE102005032483B4 (en) | Integrated multi-mode circuit device, smart card system and associated mode selection methods | |
DE20321576U1 (en) | Interface of a multi-function memory card | |
CN101436119A (en) | System and method for media card communication | |
CN212749888U (en) | SMD SD NAND Flash storage IC | |
CN111031342A (en) | Video safety management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8128 | New person/name/address of the agent |
Representative=s name: ZEITLER, VOLPERT, KANDLBINDER, 80539 MUENCHEN |
|
8110 | Request for examination paragraph 44 | ||
8131 | Rejection |