FR2773626A1 - Adaptor for connection of peripheral to serial computer port already in use - Google Patents

Adaptor for connection of peripheral to serial computer port already in use Download PDF

Info

Publication number
FR2773626A1
FR2773626A1 FR9800275A FR9800275A FR2773626A1 FR 2773626 A1 FR2773626 A1 FR 2773626A1 FR 9800275 A FR9800275 A FR 9800275A FR 9800275 A FR9800275 A FR 9800275A FR 2773626 A1 FR2773626 A1 FR 2773626A1
Authority
FR
France
Prior art keywords
computer
card reader
application
driver
data
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.)
Pending
Application number
FR9800275A
Other languages
French (fr)
Inventor
Philippe Guenebaud
Mickael Lefevre
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.)
SCM SCHNEIDER MICROSYSTEME MIC
SCM Schneider Microsysteme Microsystemes Schneider Entwick u Vert
Original Assignee
SCM SCHNEIDER MICROSYSTEME MIC
SCM Schneider Microsysteme Microsystemes Schneider Entwick u Vert
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SCM SCHNEIDER MICROSYSTEME MIC, SCM Schneider Microsysteme Microsystemes Schneider Entwick u Vert filed Critical SCM SCHNEIDER MICROSYSTEME MIC
Priority to FR9800275A priority Critical patent/FR2773626A1/en
Priority to EP98964548A priority patent/EP1047997A1/en
Priority to JP2000540500A priority patent/JP2002509314A/en
Priority to PCT/FR1998/002912 priority patent/WO1999036857A1/en
Publication of FR2773626A1 publication Critical patent/FR2773626A1/en
Pending 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/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link

Abstract

The adaptor has two parts: software for the computer and a physical adaptor. The software provides a new driver (4) which behaves as a master driver for the existing serial device (A) and also as a communication driver. The physical interface has a standard serial chip (UART) providing switched (10) communication between the computer, the existing serial device and the added peripheral.

Description

L'invention a pour objet un procédé et son dispositif pour connecter sur le même port série d'un ordinateur déjà utilisé par un périphérique, un autre périphérique. The subject of the invention is a method and its device for connecting to the same serial port of a computer already used by a peripheral, another peripheral.

Le but est de relier un périphérique tel qu'un lecteur de carte à puce ou tout autre périphérique entre un ordinateur et un port série déjà utilisé et connecté par un autre périphérique quelconque (par exemple une souris, un joystick, un modem, ...). Ce port série utilise un protocole de communication de type RS232 ou 12C ou SPI ou autres,
Selon l'état de la technique, si on prend l'exemple de la souris, celle ci est reliée directement par une liaison série. Pour effectuer l'échange de données entre la souris et l'ordinateur, il est utilisé un driver souris et une UART résidant dans l'ordinateur (émetteur/récepteur asynchrone universel) qui fait office de moyen de gestion de communication.
The goal is to connect a device such as a smart card reader or any other device between a computer and a serial port already used and connected by any other device (for example a mouse, a joystick, a modem, .. .). This serial port uses a RS232 or 12C or SPI or other type of communication protocol,
According to the state of the art, if we take the example of the mouse, it is connected directly by a serial link. To carry out the data exchange between the mouse and the computer, a mouse driver and a UART residing in the computer (universal asynchronous transmitter / receiver) are used, which acts as a means of communication management.

Il est important de remarquer que selon l'état de la technique, si l'utilisateur veut utiliser une souris sur son ordinateur, il est obligé de configurer le port entrée/sortie utilisé par la souris. De ce fait, l'utilisateur ne peut utiliser sur ce port que la souris, et aucun autre périphérique ne peut être utilisé sur ce même port série. It is important to note that according to the state of the art, if the user wants to use a mouse on his computer, he is obliged to configure the input / output port used by the mouse. As a result, the user can only use the mouse on this port, and no other device can be used on the same serial port.

L'invention tend à résoudre ce problème. The invention tends to solve this problem.

L'état de la technique peut être défini par le brevet suivant
- FR-A -2. 740.885: un procédé pour la gestion et l'exécution des applications de sécurité au sein d'un équipement électronique interactif munis d'un appareil périphérique comportant les moyens sécurisés et des moyens de pointage, comprend un protocole de communication étendu du protocole de communication spécifique aux moyens de pointage dudit appareil périphérique. Ce protocole permet l'utilisation d'un seul port série pour la communication entre des logiciels applicatifs et les moyens de pointage et les moyens sécurisés réunis dans l'appareil périphérique selon l'invention. L'appareil périphérique intègre les fonctions de pointage et de terminal pour les cartes à microcircuit.
The state of the art can be defined by the following patent
- FR-A -2. 740.885: a method for managing and executing security applications in interactive electronic equipment provided with a peripheral device comprising the secure means and pointing means, comprises an extended communication protocol of the specific communication protocol pointing means of said peripheral device. This protocol allows the use of a single serial port for communication between application software and the pointing means and the secure means assembled in the peripheral device according to the invention. The peripheral device integrates the pointing and terminal functions for microcircuit cards.

Spécifiquement à cette invention, il comprend des moyens sécurisés de stockage gestion et exécution des applications de sécurité. Le procédé et l'appareil selon l'invention sont destinés aux applications de protection des logiciels et de gestion des licences d'utilisation de logiciels notamment sur les équipements électroniques interactifs.Specifically to this invention, it includes secure storage, management and execution means for security applications. The method and apparatus according to the invention are intended for software protection applications and software license management applications, in particular on interactive electronic equipment.

Le procédé, selon l'invention pour connecter sur le même port série d'un
ordinateur utilisé déjà par un périphérique (A), un autre périphérique (B), consiste à:
- désactiver le pilote de l'application (A), pour pouvoir ensuite procéder au transfert de données sans problème pour le curseur commandé par l'application (A),
- à créer un nouveau pilote pour gérer le pilote de l'application (A) et le port série de l'ordinateur,
- à relier directement la voie de transmission à l'émetteur/récepteur asynchrone universel (UART) de l'application (B) et à l'application (A), ladite voie est utilisée
seulement par le pilote de l'application (A) pour détecter le matériel au démarrage, ladite
voie est aussi disponible à tout instant pour l'application (B),
- à ce que l'UART du lecteur de carte à puce coupe l'application (A) dès qu'il
reçoit des données et envoie immédiatement une réponse à l'ordinateur,
- si l'ordinateur ne lui a pas demandé de données, l'UART du lecteur de carte
vérifie que la demande de données a bien été reçue et en informe l'ordinateur, ensuite
l'ordinateur applique un scénario d'interrogation, durant ce scénario l'ordinateur est maître
et l'application (B) est l'esclave.
The method according to the invention for connecting to the same serial port of a
computer already used by a peripheral (A), another peripheral (B), consists of:
- deactivate the application driver (A), in order to then be able to transfer data without problems for the cursor controlled by the application (A),
- create a new driver to manage the application driver (A) and the computer's serial port,
- to directly connect the transmission channel to the universal asynchronous transmitter / receiver (UART) of the application (B) and to the application (A), said channel is used
only by the application driver (A) to detect the hardware at startup, said
channel is also available at any time for application (B),
- that the UART of the smart card reader cuts the application (A) as soon as it
receives data and immediately sends a response to the computer,
- if the computer did not ask for data, the UART of the card reader
checks that the data request has been received and informs the computer, then
the computer applies an interrogation scenario, during this scenario the computer is master
and the application (B) is the slave.

Le scénario d'interrogation est utilisé afin de ne pas gêner l'utilisateur de la souris
pendant le temps de réponse du lecteur de carte.
The interrogation scenario is used in order not to disturb the user of the mouse
during the response time of the card reader.

A cet effet, ledit scénario se caractérise par trois parties
renvoi d'une demande de données principales au lecteur de carte, ensuite dans
certains cas le lecteur de carte peut envoyer une information pour confirmer la bonne
réception de la demande, ou directement les données demandées,
= > utilisation d'interrogations pour savoir si le lecteur de carte à puce a reçu des
données provenant de la carte et s'il est prêt à envoyer la demande principale de données,
> recherche de la donnée de réponse à la demande principale.
To this end, said scenario is characterized by three parts
return of a main data request to the card reader, then in
some cases the card reader may send information to confirm the correct
receipt of the request, or directly the requested data,
=> use of interrogations to know if the smart card reader has received
data from the card and if it is ready to send the main data request,
> search for response data to the main request.

Selon un autre procédé de réalisation, un contact supplémentaire alimente par les
signaux demande d'invitation à émettre (RTS) et de prêt à recevoir (DSR) provenant
d'un ordinateur à port série, ledit contact relie directement la souris à l'ordinateur en cas de
coupure de l'alimentation du lecteur de carte à puce (ou autre périphérique).
According to another production method, an additional contact supplies by the
request to send (RTS) and ready to receive (DSR) signals from
a computer with a serial port, said contact connects the mouse directly to the computer in the event of
power off the smart card reader (or other device).

L'invention vise également le dispositif pour la mise en oeuvre du procédé. The invention also relates to the device for implementing the method.

Le dispositif pour connecter sur le même port série d'un ordinateur utilisé déjà par
un périphérique (A), un autre périphérique (B), est caractérisé par le fait qu'il comporte
* au niveau de l'ordinateur:
- un nouveau driver , autre interface logicielle qui fait office de
driver principal relié d'une part au driver du périphérique A (déjà utilisé
sur ledit port série) et qui fait office de driver esclave et d'autre part à
l'interface physique (UART) qui fait office de moyen de gestion
communication * au niveau du nouvel interface de l'autre périphérique (B)
- un interrupteur commandé
- un interface (UART2) faisant office de moyen de communication ces deux
éléments étant reliés entre eux et étant reliés également à l'interface physique
(UART,) de l'ordinateur au périphérique (A) déjà utilisé.
The device to connect to the same serial port of a computer already used by
a peripheral (A), another peripheral (B), is characterized in that it comprises
* at the computer level:
- a new driver, another software interface which acts as
main driver linked on the one hand to the driver of device A (already used
on said serial port) and which acts as a slave driver and on the other hand
the physical interface (UART) which acts as a means of management
communication * at the new interface of the other device (B)
- a controlled switch
- an interface (UART2) serving as a means of communication between these two
elements being interconnected and also being connected to the physical interface
(UART,) from the computer to the device (A) already in use.

Selon un mode de réalisation, le périphérique (A) déjà utilisé sur le port série de l'ordinateur est une souris et l'autre périphérique (B) est au moins un lecteur de cartes à puces.  According to one embodiment, the device (A) already used on the serial port of the computer is a mouse and the other device (B) is at least a smart card reader.

Les dessins ci-joints sont donnés à titre d'exemples indicatifs et non limitatifs. Ils représentent un mode de réalisation selon l'invention. Ils permettront de comprendre aisément l'invention. The attached drawings are given as indicative and non-limiting examples. They represent an embodiment according to the invention. They will allow the invention to be easily understood.

La figure 1 est une vue représentant l'architecture actuelle. Figure 1 is a view showing the current architecture.

La figure 2 est une vue schématique et simplifiée du dispositif selon l'invention. Figure 2 is a schematic and simplified view of the device according to the invention.

La figure 3 est une vue selon la figure 2, selon un autre mode de présentation. Figure 3 is a view according to Figure 2, according to another mode of presentation.

La figure 4 est une vue du scénario selon le procédé. Au cours de ce scénario, l'utilisateur peut travailler normalement avec la souris sans problème. Figure 4 is a view of the scenario according to the method. During this scenario, the user can work normally with the mouse without problem.

DESCRIPTION ET ARCHITECTURE
Pour transmettre des données de l'ordinateur 6 au lecteur de carte à puce 8 par le même port série que la souris 9, il faut désactiver le pilote de souris 3, pour pouvoir ensuite procéder au transfert de données sans problème pour le curseur commandé par la souris.
DESCRIPTION AND ARCHITECTURE
To transmit data from the computer 6 to the smart card reader 8 via the same serial port as the mouse 9, the mouse driver 3 must be deactivated, so that data can be transferred without problems for the cursor controlled by the mouse.

Il est nécessaire de créer un nouveau pilote permettant de gérer le pilote de souris 3 et le port série de l'ordinateur. It is necessary to create a new driver to manage the mouse driver 3 and the serial port of the computer.

La voie de transmission est reliée directement à ltémetteur/récepteur asynchrone universel (UART) du lecteur de carte à puce 7 et à la souris 9, cette voie est utilisée seulement par le pilote de souris pour détecter le matériel souris au démarrage du système d'exploitation, il est aussi disponible à tout instant pour l'application carte à puce. The transmission channel is connected directly to the universal asynchronous transmitter / receiver (UART) of the smart card reader 7 and to the mouse 9, this channel is used only by the mouse driver to detect the mouse hardware at system startup. operation, it is also available at any time for the smart card application.

Quand il reçoit des données, l'UART du lecteur de carte coupe la souris et envoie immédiatement une réponse à l'ordinateur. Ainsi, l'utilisateur de la souris n'est pas gêné par cette transmission discrète de données. When it receives data, the card reader UART shuts down the mouse and immediately sends a response to the computer. Thus, the mouse user is not bothered by this discreet transmission of data.

Si l'ordinateur 6 ne lui a pas demandé de données, l'UART du lecteur de carte 7 vérifie que la demande de données a bien été reçue et en informe l'ordinateur 6, ensuite l'ordinateur 6 applique un scénario d'interrogation jusqu'à ce que le lecteur de carte à puce 8 reçoit une demande de données. Ce scénario d'interrogation est décrit plus avant dans la description et est représenté à la figure 4. If the computer 6 has not asked for data, the UART of the card reader 7 checks that the data request has been received and informs the computer 6, then the computer 6 applies a interrogation scenario until the smart card reader 8 receives a data request. This interrogation scenario is described further in the description and is represented in FIG. 4.

Tout au long de ce processus, l'ordinateur 6 est le maître et l'UART du lecteur de carte 7 est l'esclave. Throughout this process, the computer 6 is the master and the UART of the card reader 7 is the slave.

La figure 3 représente l'architecture utilisée
1/ Application LECTEUR DE CARTE
2/ Système d'exploitation
3/ Pilote de SOURIS
4/ Pilote de LECTEUR DE CARTE (Driver autre interface - interface logicielle)
5/ Emetteur/récepteur asynchrone universel UART 8250 - PORT SERIE
6/ ORDINATEUR
7/ Interface UART du LECTEUR DE CARTE
8/ MATERIEL du LECTEUR DE CARTE
9/ SOURIS 10/ Interrupteur commandé
Le scénario d'interrogation est le suivant
Le temps de réponse du lecteur de carte à puce 8 peut être de plusieurs minutes et la souris 9 ne peut rester hors service durant toute cette période. Aussi est-il nécessaire d'utiliser un scénario afin de ne pas gêner l'utilisateur de la souris 9 pendant le temps de réponse du lecteur de carte 8.
Figure 3 shows the architecture used
1 / CARD READER application
2 / Operating system
3 / MOUSE pilot
4 / CARD READER driver (Driver other interface - software interface)
5 / Universal asynchronous transmitter / receiver UART 8250 - SERIAL PORT
6 / COMPUTER
7 / UART interface of the CARD READER
8 / MATERIAL OF THE CARD READER
9 / MOUSE 10 / Switch controlled
The interrogation scenario is as follows
The response time of the smart card reader 8 can be several minutes and the mouse 9 cannot remain out of service throughout this period. It is therefore necessary to use a scenario in order not to disturb the user of the mouse 9 during the response time of the card reader 8.

Le scénario se divise en trois phases Dans la première phase, envoi d'une demande de données principale au lecteur de carte à puce 8, ensuite le lecteur de carte 8 envoie une information pour confirmer la bonne réception de la demande. The scenario is divided into three phases In the first phase, sending a main data request to the smart card reader 8, then the card reader 8 sends information to confirm that the request has been received.

Dans la deuxième phase, mise en oeuvre du procédé d'interrogation selon le scénario décrit pour savoir si le lecteur de carte à puce 8 a reçu des données provenant de la carte (non représentée) et s'il est prêt à envoyer la demande de données principale. In the second phase, implementation of the interrogation method according to the scenario described to know if the smart card reader 8 has received data from the card (not shown) and if it is ready to send the request for main data.

Dans la dernière phase, recherche de la donnée de réponse à la demande principale. In the last phase, search for the response data to the main request.

Le scénario est illustré par la figure 4: 1/ Demande de données principale 2/ Réponse OK 3/ Phase 1 4/ Demande de données OK 5/ Réponse KO 6/ Phase 2 7/ Demande de données 8/ Phase 3 9/ Réponse de données principale o Au cours de ce scénario, l'utilisateur peut travailler normalement avec la souris 9 sans
problème.
The scenario is illustrated in Figure 4: 1 / Main data request 2 / OK response 3 / Phase 1 4 / OK data request 5 / KO response 6 / Phase 2 7 / Data request 8 / Phase 3 9 / Response from main data o During this scenario, the user can work normally with the mouse 9 without
problem.

Il faut remarquer que la souris 9 fonctionne en l'absence d'alimentation du lecteur de carte à puce 8. It should be noted that the mouse 9 operates in the absence of power from the smart card reader 8.

Un autre mode de réalisation comprend un autre contact alimenté par des signaux de "demande d'invitation à émettre" (RTS) et de "prêt à recevoir" (DSR) provenant d'un ordinateur à port série. Ce contact relie directement la souris à l'ordinateur en cas de coupure d'alimentation. Another embodiment includes another contact powered by "request to send" (RTS) and "ready to receive" (DSR) signals from a serial port computer. This contact connects the mouse directly to the computer in the event of a power failure.

La souris série utilise un paquet de données de format fixe à une vitesse de 1200 bauds vers l'hôte en cas d'appui sur un bouton ou de détection d'un mouvement de la souris. o Initialisation de Reset
La souris transmet un caractère "M" dès la mise sous tension ou en cas de déclenchement d'un Reset est initialisé par l'hôte. Ce caractère informe l'hôte de la conformité du message avec le format série constructeur. e Format du message de données série
Lors de la transmission de données à l'hôte, la souris diffuse le format de données suivant, conforme à l'interface série constructeur. Le format de données 1200 bauds utilise un bloc de données 9 bits constitué de 7 bits de données message et de 2 bits de contrôle.
The serial mouse uses a fixed-format data packet at a speed of 1200 baud to the host when a button is pressed or when mouse movement is detected. o Initialization of Reset
The mouse transmits an "M" character as soon as the power is turned on or when a reset is initiated by the host. This character informs the host of the conformity of the message with the serial manufacturer format. e Serial data message format
When transmitting data to the host, the mouse broadcasts the following data format, which conforms to the manufacturer's serial interface. The 1200 baud data format uses a 9-bit data block consisting of 7 bits of message data and 2 control bits.

Le contrôleur de souris transmet le paquet de données de 3 octets suivant, conforme à l'interface, en réponse à un événement souris.The mouse controller transmits the next 3-byte data packet, conforming to the interface, in response to a mouse event.

1/ Octet 1 de données message
Bit Désignation Bit de début (toujours O) 2 Bit 6 de mouvement horizontal 3 Bit 7 de mouvement horizontal (bit de poids fort) 4 Bit 6 de mouvement vertical 5 Bit 7 de mouvement vertical (bit de poids fort) 6 l = Bouton secondaire enfoncé 7 l = Bouton primaire enfoncé 8 Toujours = l (bit de synchronisation message) 9 Bit d'arrêt (toujours 1) 2/ Octet 2 de données message
Bit Désignation Bit de début (toujours O) 2 Bit O de mouvement horizontal 3 Bit 1 de mouvement horizontal 4 Bit 2 de mouvement horizontal 5 Bit 3 de mouvement horizontal 6 Bit 4 de mouvement horizontal 7 Bit 5 de mouvement horizontal 8 Toujours = 0 9 Bit d'arrêt (toujours 1) 3/ Octet 3 de données message
Bit Désignation
Bit de début (toujours O) 2 Bit O de mouvement vertical 3 Bit 1 de mouvement vertical 4 Bit 2 de mouvement vertical 5 Bit 3 de mouvement vertical 6 Bit 4 de mouvement vertical 7 Bit 5 de mouvement vertical 8 Toujours = 0 9 Bit d'arrêt (toujours 1)
UART 8250
Cet UART (émetteur/récepteur asynchrone universel) permet de gérer l'interface port série.
1 / Byte 1 of message data
Bit Designation Start bit (always O) 2 Bit 6 of horizontal movement 3 Bit 7 of horizontal movement (most significant bit) 4 Bit 6 of vertical movement 5 Bit 7 of vertical movement (most significant bit) 6 l = Secondary button pressed 7 l = Primary button pressed 8 Always = l (message synchronization bit) 9 Stop bit (always 1) 2 / Byte 2 of message data
Bit Designation Start bit (always O) 2 Bit horizontal movement 3 Bit 1 horizontal movement 4 Bit 2 horizontal movement 5 Bit 3 horizontal movement 6 Bit 4 horizontal movement 7 Bit 5 horizontal movement 8 Always = 0 9 Stop bit (always 1) 3 / Byte 3 of message data
Bit Designation
Start bit (always O) 2 Bit vertical movement O 3 Bit 1 vertical movement 4 Bit 2 vertical movement 5 Bit 3 vertical movement 6 Bit 4 vertical movement 7 Bit 5 vertical movement 8 Always = 0 9 Bit d '' stop (always 1)
UART 8250
This UART (universal asynchronous transmitter / receiver) is used to manage the serial port interface.

L'UART 16550 est compatible, au niveau logiciel et brochage, avec le 8250 mais a une file d'attente interne fonctionnant sur le principe du "premier entré, premier sorti" (FIFO) et pouvant être activée et désactivée par le logiciel.The UART 16550 is compatible, in software and pinout, with the 8250 but has an internal queue operating on the principle of "first in, first out" (FIFO) and can be activated and deactivated by the software.

Le port COM1 utilise normalement l'adresse 03F8H, COM2 l'adresse 02F8H, COM3 l'adresse 03E8H et COM4 l'adresse 02E8H. Cette adresse la plus basse est généralement appelée l'adresse de port de base et chaque registre adressable est ensuite référencé par adressage relatif à partir de cette valeur de base, comme le montre ce tableau
Si le bit DLAB du LCR (registre de commande de communication) = 0
OOH DONNEE En cas de lecture, registre de données reçues. En cas d'écriture, registre de
maintien de transmission (lecture/écriture).
The COM1 port normally uses the 03F8H address, COM2 the 02F8H address, COM3 the 03E8H address and COM4 the 02E8H address. This lowest address is generally called the base port address and each addressable register is then referenced by relative addressing from this base value, as shown in this table.
If the DLAB bit of the LCR (communication command register) = 0
OOH DATA When read, register of data received. In case of writing, register of
transmission maintenance (read / write).

01H IER Registre de validation d'interruption (lecture/écriture).01H IER Interruption validation register (read / write).

Si le bit DLAB du LCR = 1:
OOH BaudO Bascule diviseur BRG, octet bas (lecture/écriture) 01H Baud i Bascule diviseur BRG, octet haut (lecture/écriture)
Non affecté par le bit DLAB 02H IID Registre identificateur d'interruption (lecture) et registre de commande FIFO (écriture) 03H LCR Registre de commande de communication (lecture/écriture) 04H MCR Registre de commande de modem (lecture/écriture) 05H LSR Registre d'état de communication (lecture) 06H MSR Registre d'état de modem (lecture)
Port 3F8/3F9 - Tableau de diviseur de vitesse de transmission (lecture/écriture! Bit DLAB dans LCR = 1
BITS/SECONDE DIVISEUR BITS/SECONDE DIVISEUR 50 2304 1800 64 75 1536 2000 58
110 1047 2400 48
134 857 4800 24
150 768 9600 12 300 384 19200 6 600 192 38400 3
1200 96 57600 2
1800 64 115200 i 2000 58
Diviseur = 1843200 / (vitesse de transmission * 16).
If the DLAB bit of LCR = 1:
OOH BaudO BRG divider scale, low byte (read / write) 01H Baud i BRG divider scale, high byte (read / write)
Unaffected by DLAB bit 02H IID Interrupt identifier register (read) and FIFO command register (write) 03H LCR Communication command register (read / write) 04H MCR Modem command register (read / write) 05H LSR Communication status register (read) 06H MSR Modem status register (read)
Port 3F8 / 3F9 - Transmission speed divider table (read / write! DLAB bit in LCR = 1
BITS / SECOND DIVIDER BITS / SECOND DIVIDER 50 2,304 1,800 64 75 1,536 2,000 58
110 1047 2400 48
134 857 4800 24
150 768 9600 12 300 384 19 200 6 600 192 38 400 3
1200 96 57 600 2
1800 64 115 200 i 2000 58
Divider = 1843200 / (baud rate * 16).

Port 3F8 - Registre de validation d'interruption IER (lecture/écriture) Bit DLAB dans LCR =0
Registre de données reçues en cas de lecture.
Port 3F8 - IER interrupt validation register (read / write) DLAB bit in LCR = 0
Register of data received when read.

Registre de maintien de transmission en cas d'écriture.Transmission maintenance register in case of writing.

Port 3F9 - Registre de validation d'interruption - IER (lecture/écriture) bit DLAB dans
LCR = 0
Bit Nom Binaire Signification 7,6,5,4 Réservé 0000 xxxx Réservé (zéro) 3 EMI xxxx lxxx Validation d'interruption d'état de modem 2 ELI xxxx xlxx Validation d'interruption d'état de communication i ETI xxxx xxlx Validation d'interruption de registre de transmission
O ERI xxxx xxxl Validation d'interruption données reçues prêtes
Port 3FA - Registre d'identification d'interruption - IIR (lecture seule)
Bit Nom Binaire Signification 7,6 FIQ 11xx xxxx 16550 seulement, les files d'attente FIFO sont validées.
Port 3F9 - Interrupt validation register - IER (read / write) DLAB bit in
LCR = 0
Bit Binary Name Meaning 7,6,5,4 Reserved 0000 xxxx Reserved (zero) 3 EMI xxxx lxxx Validation of modem status interruption 2 ELI xxxx xlxx Validation of communication status interruption i ETI xxxx xxlx Validation d transmission register interruption
O ERI xxxx xxxl Validation of interruption of data received ready
Port 3FA - Interrupt identification register - IIR (read only)
Bit Binary Name Meaning 7.6 FIQ 11xx xxxx 16550 only, FIFO queues are validated.

00xx xxxx 8250 et 16550, les files d'attente FIFO sont dévalidées. 00xx xxxx 8250 and 16550, the FIFO queues are disabled.

5,4 Réservé xx00 xxxx Réservé (zéro) 3 TINT xxxx xlxx 16550 seulement, int. de sortie de session. En attente.
xxxx x0xx 8250 et 16550 1,2 SINT xxxx x00x Interruption d'état de modem, bit modifié dans MSR
xxxx x01x Interruption de registre de transmission, registre de maintien de
xxxx xiOx transmission vide, bit à 1 dans LSR
xxxx xlix Interruption de données reçues prêtes, registre de données plein, bit
à 1 dans LSR. Interruption d'état de communication,
BREAK ou bit
d'erreur dans LSR.
5.4 Reserved xx00 xxxx Reserved (zero) 3 TINT xxxx xlxx 16550 only, int. session exit. Waiting.
xxxx x0xx 8250 and 16550 1.2 SINT xxxx x00x Modem status interrupt, bit changed in MSR
xxxx x01x Interruption of transmission register, maintenance register
xxxx xiOx transmission empty, bit at 1 in LSR
xxxx xlix Interruption of data received ready, data register full, bit
to 1 in LSR. Communication state interruption,
BREAK or bit
error in LSR.

O IP xxxx xxxl Interruption en attente (pas d'interruption active)
xxxx xxx0 Pas d'interruption en attente
Port 3FA - 16550 Registre de commande FIFO - FCR (écriture seule)
Bit Nom Binaire Signification 7,6 TL 00xx xxxx Niveau de déclenchement = 1 octet pour interrupt FIFO récepteur
Olxx xxxx Niveau de déclenchement = 4 octets pour interrupt FIFO récepteur
10xx xxxx Niveau de déclenchement = 8 octets pour interrupt FIFO récepteur
i lxx xxxx Niveau de déclenchement = 14 octets pour interrupt
FIFO récepteur 5,4 Réservé xx00 xxxx Réservé (zéro) 3 Réservé xxxx lxxx Modification des broches RXRDT & TXRDY de mode 0 en mode 1 2 CLT xxxx xlxx Vidange FIFO émetteur
i CLR xxxx xxlx Vidange FIFO récepteur
O IP xxxx xxxl Validation vidange des queues FIFO émetteur et récepteur
Port 3FB - Registre de commande de communication - LCR (lecture/écriture)
Bit Nom Binaire Signification 7 DLAB Oxxx xxxx Adresse relative 0 renvoie à DONNEE, adresse relative 1 à IER
commande lxxx xxxx Adresse relative 0 et 1 renvoie à la bascule diviseur BR
d'adresse 6 SETBRK x0xx xxxx Fonctionnement UART normal
commande xlxx xxxx Envoie signal d'interruption d' interrupt.
O IP xxxx xxxl Interruption pending (no active interruption)
xxxx xxx0 No interruption pending
Port 3FA - 16550 FIFO command register - FCR (write only)
Bit Binary Name Meaning 7.6 TL 00xx xxxx Trigger level = 1 byte for receiver FIFO interrupt
Olxx xxxx Trigger level = 4 bytes for receiver FIFO interrupt
10xx xxxx Trigger level = 8 bytes for receiver FIFO interrupt
i lxx xxxx Trigger level = 14 bytes for interrupt
Receiver FIFO 5.4 Reserved xx00 xxxx Reserved (zero) 3 Reserved xxxx lxxx Modification of the RXRDT & TXRDY pins from mode 0 to mode 1 2 CLT xxxx xlxx Draining FIFO transmitter
i CLR xxxx xxlx Receiver FIFO drain
O IP xxxx xxxl Validation emptying of sender and receiver FIFO queues
Port 3FB - Communication command register - LCR (read / write)
Bit Binary Name Meaning 7 DLAB Oxxx xxxx Relative address 0 refers to DATA, relative address 1 to IER
command lxxx xxxx Relative address 0 and 1 refers to the divider flip-flop BR
address 6 SETBRK x0xx xxxx Normal UART operation
command xlxx xxxx Sends interrupt interrupt signal.

5,4,3 GENPAR xxxx Oxxx Pas de bit de parité
contrôle xx00 lxxx Bit de parité = impaire
de parité xxOl lxxx Bit de parité = paire
xx10 lxxx Bit de parité = 1
xxii lxxx Bit de parité = 0 2 XSTOP xxxx x0xx 1 seul bit d'arrêt
bit d'arrêt xxxx xlxx 2 bits d'arrêt (1,5 si WL = 5) 1,0 WD5 xxxx xx00 Longueur de mot = 5
WD6 xxxx xxOl Longueur de mot = 6
WD7 xxxx xxi O Longueur de mot = 7
WD8 xxxx xxii Longueur de mot = 8
Port 3FC - Registre de commande de modem MCR (lecture/écriture)
Bit Nom Binaire Signification 7,6,5 Réservé 000x xxxx Réservé (zéro) 4 TEST xxxl xxxx Activation de la configuration d'auto-test UART 3 OUT2 xxxx lxxx Contrôle des signaux d'interruption 8250 (sortie User2) 2 OUT1 xxxx xlxx Réinitialisation du modem interne1200 b Hayes (sortie User)
t RTS xxxx xxlx Passe à 1 la sortie RTS vers le connecteur RS232C
O DTR xxxx xxxl Passe à I la sortie DTR vers le connecteur RS232C
Port 3FD - Registre d'état de communication - LSR (lecture seule)
Bit Nom Binaire Signification 7 PE/FE/interr lxxx xxxx Interruption PE/FE 16550 dans file d'attente FIFO
Oxxx xxxx Utilisation de 8250 ou 16450 6 TSRE xlxx xxxx Registre à décalage de transmission vide 5 THRE xxlx xxxx Registre de maintien de transmission vide 4 BI xxxl xxxx Interruption reçue 3 FE xxxx lxxx Erreur de trame 2 PE xxxx xlxx Erreur de parité 1 OE xxxx xxlx Erreur de dépassement
O DR xxxx xxx1 Données reçues prêtes
Port 3FE - Registre d'état de modem - MSR (lecture seule)
Bit Nom Binaire Signification 7 DCD lxxx xxxx Niveau détecté de porteuse de données 6 RI xlxx xxxx Niveau d'indicateur d'appel 5 DSR xxlx xxxx Niveau "prêt à recevoir" 4 CTS xxx1 xxxx Niveau "prêt à transmettre" 3 DCDC xxxx lxxx Changement de DCD 2 RIC xxxx xlxx Changement de RI i DSRC xxxx xxlx Changement de DSR
O CTSC xxxx xxx1 Changement de CTS
REFERENCES
1. Application LECTEUR DE CARTE 2. Système d'exploitation
3. Pilote de SOURIS 4. Pilote de LECTEUR DE CARTE (Driver autre interface - interface logicielle) 5. Emetteur/récepteur asynchrone universel UART 8250 - PORT SERIE 6. ORDINATEUR 7. Interface UART du LECTEUR DE CARTE 8. MATERIEL du LECTEUR DE CARTE 9. SOURIS 10. Interrupteur commandé
5.4.3 GENPAR xxxx Oxxx No parity bit
check xx00 lxxx Parity bit = odd
parity xxOl lxxx Parity bit = pair
xx10 lxxx Parity bit = 1
xxii lxxx Parity bit = 0 2 XSTOP xxxx x0xx 1 single stop bit
stop bit xxxx xlxx 2 stop bits (1.5 if WL = 5) 1.0 WD5 xxxx xx00 Word length = 5
WD6 xxxx xxOl Word length = 6
WD7 xxxx xxi O Word length = 7
WD8 xxxx xxii Word length = 8
Port 3FC - MCR modem command register (read / write)
Bit Binary Name Meaning 7.6.5 Reserved 000x xxxx Reserved (zero) 4 TEST xxxl xxxx Activation of the UART self-test configuration 3 OUT2 xxxx lxxx Control of interrupt signals 8250 (User2 output) 2 OUT1 xxxx xlxx Reset 1200 b internal Hayes modem (User output)
t RTS xxxx xxlx Switches the RTS output to the RS232C connector to 1
O DTR xxxx xxxl Goes to I the DTR output to the RS232C connector
Port 3FD - Communication status register - LSR (read only)
Bit Binary Name Meaning 7 PE / FE / interr lxxx xxxx PE / FE interrupt 16550 in FIFO queue
Oxxx xxxx Use of 8250 or 16450 6 TSRE xlxx xxxx Empty transmission shift register 5 THRE xxlx xxxx Empty transmission maintenance register 4 BI xxxl xxxx Interrupt received 3 FE xxxx lxxx Frame error 2 PE xxxx xlxx Parity error 1 OE xxxx xxlx Overflow error
O DR xxxx xxx1 Data received ready
Port 3FE - Modem status register - MSR (read only)
Bit Binary Name Meaning 7 DCD lxxx xxxx Detected data carrier level 6 RI xlxx xxxx Call indicator level 5 DSR xxlx xxxx "ready to receive" level 4 CTS xxx1 xxxx "ready to transmit" level 3 DCDC xxxx lxxx Change of DCD 2 RIC xxxx xlxx Change of RI i DSRC xxxx xxlx Change of DSR
O CTSC xxxx xxx1 Change of CTS
REFERENCES
1. CARD READER application 2. Operating system
3. MOUSE driver 4. CARD READER driver (Other interface driver - software interface) 5. Universal asynchronous transmitter / receiver UART 8250 - SERIAL PORT 6. COMPUTER 7. UART interface of CARD READER 8. CARD READER HARDWARE 9. MOUSE 10. Switch controlled

Claims (6)

- si l'ordinateur (6) ne lui a pas demandé de données, 1'UART du lecteur de carte (7) vérifie que la demande de données a bien été reçue et en informe l'ordinateur (6) , ensuite l'ordinateur applique un scénario d'interrogation, durant ce scénario l'ordinateur (6) est maître et l'application (B) est l'esclave. - if the computer (6) has not asked for data, the UART of the card reader (7) checks that the data request has been received and informs the computer (6), then the computer applies an interrogation scenario, during this scenario the computer (6) is master and the application (B) is the slave. - ce que l'UART du lecteur de carte (7) coupe l'application (A) dès qu'il reçoit des données et envoie immédiatement une réponse à l'ordinateur (6), - that the UART of the card reader (7) cuts the application (A) as soon as it receives data and immediately sends a response to the computer (6), - relier directement la voie de transmission à l'émetteur/récepteur asynchrone universel l'UART (5) de l'application (B) et à l'application (A), ladite voie est utilisée seulement par le pilote de l'application (A) pour détecter le matériel au démarrage, ladite voie est aussi disponible à tout instant pour l'application (B), - directly connect the transmission channel to the universal asynchronous transmitter / receiver the UART (5) of the application (B) and to the application (A), said channel is used only by the pilot of the application ( A) to detect the equipment at startup, said channel is also available at any time for the application (B), - créer un nouveau pilote pour gérer le pilote de l'application (A) et le port série de l'ordinateur (6), - create a new driver to manage the application driver (A) and the computer serial port (6), - désactiver le pilote de l'application (A), pour pouvoir ensuite procéder au transfert de données sans problème pour le curseur commandé par l'application (A), - deactivate the application driver (A), in order to then be able to transfer data without problems for the cursor controlled by the application (A), qu'il consiste à  that it consists of I. Procédé, pour connecter sur le même port série d'un ordinateur (6) utilisé déjà par un périphérique (A), un autre périphérique (B), caractérisé par le fait I. Method, for connecting to the same serial port of a computer (6) already used by a peripheral (A), another peripheral (B), characterized by the fact REVENDICATIONS 2. Procédé, selon la revendication 1, caractérisé par le fait 2. Method according to claim 1, characterized in that que le dit scénario se caractérise par trois parties  that the said scenario is characterized by three parts renvoi d'une demande de données principales au lecteur de carte (1), ensuite le lecteur de carte (1) envoie une information pour confirmer la bonne réception de la demande, return of a main data request to the card reader (1), then the card reader (1) sends information to confirm that the request has been received, > utilisation d'interrogations pour savoir si le lecteur de carte à puce (1) a reçu des données provenant de la carte et s'il est prêt à envoyer la demande principale de données, > use of queries to find out whether the smart card reader (1) has received data from the card and whether it is ready to send the main data request, = > recherche de la donnée de réponse à la demande principale. => search for response data to the main request. 3. Procédé, selon la revendication 1, caractérisé par le fait 3. Method according to claim 1, characterized in that qu'un contact supplémentaire alimenté par les signaux demande d'invitation à émettre (RTS) et de prêt à recevoir (DSR) provenant d'un ordinateur à port série, an additional contact supplied by the request to send (RTS) and ready to receive (DSR) signals from a computer with a serial port, relie directement la souris (9) à l'ordinateur (6) en cas de coupure de l'alimentation du lecteur de carte à puce (1) (ou autre périphérique). connects the mouse (9) directly to the computer (6) in the event of a power failure for the smart card reader (1) (or other device). 4. Dispositif pour la mise en oeuvre du procédé, selon la revendication 1, pour connecter sur le même port série d'un ordinateur utilisé déjà par un périphérique (A), un autre périphérique (B), caractérisé par le fait 4. Device for implementing the method according to claim 1, for connecting to the same serial port of a computer already used by a peripheral (A), another peripheral (B), characterized by the fact qu'il comporte * au niveau de l'ordinateur: it includes * at the computer level: un nouveau driver , autre interface logicielle qui fait office de driver a new driver, another software interface that acts as a driver principal (4) relié d'une part au driver du périphérique (A) (déjà utilisé main (4) connected on the one hand to the device driver (A) (already used sur ledit port série) et qui fait office de driver esclave (3) et d'autre  on said serial port) and which acts as slave driver (3) and other part à l'interface physique (UART1) (7) qui fait office de moyen de gestion part to the physical interface (UART1) (7) which acts as a management means communication * au niveau du nouvel interface de l'autre périphérique (B) communication * at the new interface of the other device (B) 0 un interrupteur commandé (10) 0 a controlled switch (10) 0 un interface (UART2) (7) faisant office de moyen de communication ces 0 an interface (UART2) (7) serving as a means of communication deux éléments étant reliés entre eux et étant reliés également à l'interface two elements being interconnected and also being connected to the interface physique (UART1) (5) de l'ordinateur (6) au périphérique (A) déjà utilisé. physical (UART1) (5) from the computer (6) to the device (A) already in use. 5. Dispositif, selon la revendication 1, caractérisé en ce 5. Device according to claim 1, characterized in that que le périphérique (A) déjà utilisé sur le port série de l'ordinateur (6) est une souris (9).  that the peripheral (A) already used on the serial port of the computer (6) is a mouse (9). 6. Dispositif, selon la revendication 1, caractérisé par le fait 6. Device according to claim 1, characterized in that que l'autre périphérique (B) est un lecteur de cartes à puces (1).  that the other device (B) is a smart card reader (1).
FR9800275A 1998-01-14 1998-01-14 Adaptor for connection of peripheral to serial computer port already in use Pending FR2773626A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
FR9800275A FR2773626A1 (en) 1998-01-14 1998-01-14 Adaptor for connection of peripheral to serial computer port already in use
EP98964548A EP1047997A1 (en) 1998-01-14 1998-12-30 Method and associated device for connecting on the same serial port already in use, another peripheral
JP2000540500A JP2002509314A (en) 1998-01-14 1998-12-30 Method and device for connecting another peripheral device to an already used serial port
PCT/FR1998/002912 WO1999036857A1 (en) 1998-01-14 1998-12-30 Method and associated device for connecting on the same serial port already in use, another peripheral

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR9800275A FR2773626A1 (en) 1998-01-14 1998-01-14 Adaptor for connection of peripheral to serial computer port already in use

Publications (1)

Publication Number Publication Date
FR2773626A1 true FR2773626A1 (en) 1999-07-16

Family

ID=9521725

Family Applications (1)

Application Number Title Priority Date Filing Date
FR9800275A Pending FR2773626A1 (en) 1998-01-14 1998-01-14 Adaptor for connection of peripheral to serial computer port already in use

Country Status (4)

Country Link
EP (1) EP1047997A1 (en)
JP (1) JP2002509314A (en)
FR (1) FR2773626A1 (en)
WO (1) WO1999036857A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1704488A2 (en) * 2003-12-16 2006-09-27 Ixi Mobile (R&D) Ltd. Control system and method for a communications interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0314530A1 (en) * 1987-10-30 1989-05-03 MICROPHAR, Sàrl dite: A key-type soft ware usage control device with memory
EP0413822A1 (en) * 1988-09-26 1991-02-27 Hitachi Maxell Ltd. Data processing system using ic card
FR2668839A1 (en) * 1990-11-06 1992-05-07 Bull Cp8 SECURITY DEVICE COMPRISING A MEMORY AND / OR A MICROCALCULATOR FOR INFORMATION PROCESSING MACHINES.
DE4326735A1 (en) * 1993-08-09 1995-02-16 Siemens Nixdorf Inf Syst Computer arrangement having at least one smart card (chip card) reading device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0314530A1 (en) * 1987-10-30 1989-05-03 MICROPHAR, Sàrl dite: A key-type soft ware usage control device with memory
EP0413822A1 (en) * 1988-09-26 1991-02-27 Hitachi Maxell Ltd. Data processing system using ic card
FR2668839A1 (en) * 1990-11-06 1992-05-07 Bull Cp8 SECURITY DEVICE COMPRISING A MEMORY AND / OR A MICROCALCULATOR FOR INFORMATION PROCESSING MACHINES.
DE4326735A1 (en) * 1993-08-09 1995-02-16 Siemens Nixdorf Inf Syst Computer arrangement having at least one smart card (chip card) reading device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1704488A2 (en) * 2003-12-16 2006-09-27 Ixi Mobile (R&D) Ltd. Control system and method for a communications interface
EP1704488A4 (en) * 2003-12-16 2007-09-26 Ixi Mobile R & D Ltd Control system and method for a communications interface

Also Published As

Publication number Publication date
EP1047997A1 (en) 2000-11-02
WO1999036857A1 (en) 1999-07-22
JP2002509314A (en) 2002-03-26

Similar Documents

Publication Publication Date Title
EP0829071B1 (en) Smart card system
EP0012886B1 (en) Input/output controller for a data processing system
US5628030A (en) Virtual modem driver apparatus and method
US7127529B2 (en) Smart card system having asynchronous communication with the smart card operating either as master or slave
US5625775A (en) Modem communication interface in a data processing system
FR2682786A1 (en) DOWNLOADING AN OPERATING SYSTEM BY A NETWORK.
WO1990003074A1 (en) System for the automatic notification of message reception in an electronic messaging system
EP0757809A1 (en) Pcmcia interface card for input devices such as barcode scanning engines
EP1356656B1 (en) A system for tracking and monitoring execution of applets with the help of a plurality of multiple exchange logic flow of command/response pairs
EP0829062B1 (en) Smart card reader
FR2808359A1 (en) MULTI-APPLICATIVE CHIP CARD
EP0182678B1 (en) Teleprocessing terminal with external extensions
EP0027851A1 (en) System for controlling the duration of the time interval between data blocks in a computer-to-computer transmission system
EP0698851A1 (en) Memory card or chip card reader system
FR2773626A1 (en) Adaptor for connection of peripheral to serial computer port already in use
EP0940750A3 (en) Data processing method
US20040200896A1 (en) Apparatus for storing and transferring personal data
CN1950810B (en) Backward-compatible parallel DDR bus for use in host-daughtercard interface
Cisco V
EP0700194A1 (en) Telephone device for using a plurality of memory cards
EP0470875B1 (en) Communication controller between a computer and a plurality of ISDN terminals
CA2219823C (en) Smart card system
FR2897704A1 (en) Detachable electronic device e.g. combi-chip, for e.g. portable telephone, has control unit transmitting activation signal based on detection of activation data for passing selection unit from one selection position to another position
WO1991004537A1 (en) Virtual network architecture and loader
EP0961252A3 (en) Automated banking machine with selective accessing of HTML documents and other promotional information during dwell time in the machine transaction sequence