EP3195134A1 - Dispositif de gestion d'erreurs sur un bus universel serie - Google Patents
Dispositif de gestion d'erreurs sur un bus universel serieInfo
- Publication number
- EP3195134A1 EP3195134A1 EP15748296.9A EP15748296A EP3195134A1 EP 3195134 A1 EP3195134 A1 EP 3195134A1 EP 15748296 A EP15748296 A EP 15748296A EP 3195134 A1 EP3195134 A1 EP 3195134A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- host
- state
- peripheral
- connection
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Definitions
- the invention relates to the transmission of data on a serial bus and more particularly to the management of errors during a transmission.
- the Universal Serial Bus (or USB for Universal Serial Bus in English) is a serial transmission computer bus used to connect computer peripherals (also called USB devices in English) to a computer (also called host or USB host in English).
- the USB is declined in several versions each allowing to communicate according to a plurality of modes.
- the first version of the USB bus can communicate in two modes: a slow mode (or “Low Speed” whose bit rate is 1.5 Mbps) or a fast mode ("Full Speed” whose bit rate is 12 Mbit / s). s):
- the second version of the USB bus also includes a third mode (called "High Speed" whose bit rate is 480 Mbit / s).
- the USB bus operates on the basis of a token ring (or Token Ring) with which each node of the network has successively the bus.
- Bandwidth is shared temporally among all connected devices. The time is subdivided into frames (frames) or micro-frames (microframes) during which several transfers can take place.
- the communication between the host and the peripherals is done according to a protocol based on the successive interrogation of each peripheral by the host.
- the host wishes to communicate with a device, it issues a token (a data packet, containing the device address, encoded on seven bits) designating a device. If the device recognizes its address in the token, it sends a packet of data in response.
- a token a data packet, containing the device address, encoded on seven bits
- USB defines different types of transfers: command transfer (for device enumeration and configuration), interrupt transfer (used to provide small information with low latency) isochronous transfer and transfer in bulk (to transfer voluminous information).
- USB does not define a way to easily handle connection errors. According to the prior art, the host affects the bit rate of the USB connection when the device is connected. None is planned when, following a fault during the connection phase, a High Speed device is initialized in Full Speed. It stays in Full Speed until it is cut off.
- the user is then forced to disconnect the device and reconnect it to reset the communication.
- the invention therefore aims to remedy the aforementioned problems. It proposes more precisely for this purpose electronic equipment comprising a host controller (1 1) capable of controlling at least one serial universal communication port, adapted to be connected to a plurality of peripherals (12, 13) characterized in that the controller host (1 1) comprises: means for establishing a connection, at a predetermined rate, with a peripheral (12, 13) connected to the communication port, means for measuring the bit rate between the host controller (1 1 ) and the device (12) and signal an error if the measured flow rate is lower than the predetermined flow rate,
- the invention provides robustness when connecting a device and makes it possible to make several attempts in High Speed then in Full Speed rather than losing communication at the first error.
- the means for establishing a new connection with the device comprise a finite state machine.
- the finite state machine comprises at least four states:
- a fourth state corresponding to a communication with a degraded bit rate between the host and the peripheral.
- the finite state machine further comprises a fifth state, corresponding to a termination of the connection between the host and the device.
- the finite state machine goes from the first state to the third state after at least one connection failure at the nominal flow rate.
- the finite state machine goes from the third state to the fifth state after at least one degraded flow connection failure.
- the host has as many automata as peripherals connected to it.
- the finite state machine goes from the third state to the first state after the lapse of a first delay time.
- the finite state machine goes from the fourth state to the first state after the expiration of a second delay time.
- the invention also relates to a vehicle comprising a device according to the invention.
- FIG. 1 shows a schematic view of a network
- FIG. 2 shows a representation of an automaton describing the operation of a supervisor according to the invention.
- Figure 1 shows a schematic view of a network.
- the network connects a host computer 1 1 to a first peripheral 12 and a second peripheral 13 via a USB link.
- the number of devices is limited to two. But it is not beyond the scope of the invention by changing the number of network devices.
- the host computer 1 1 is a motor vehicle calculator. But the invention is not limited to this embodiment. Indeed, it concerns any computer having a USB connector and a USB host controller.
- the first device 12 is also a motor vehicle calculator. But the invention is not limited to this embodiment. Indeed, it concerns any computer having a USB connector and a peripheral USB controller.
- the second device 13 is for example a storage device (hard disk type).
- the means for establishing a new connection with the device comprise a finite state machine comprising the following states: a first state 21 "HS_Connect” corresponding to a connection attempt in High Speed (or bit rate) nominal) of the host 1 1 to the device 12; a second state 22 “HS_MODE” corresponding to a connection established in High Speed between the host 1 1 and the device 12; a third state 23 "FS_Connect” corresponding to a connection attempt in Full Speed (or degraded rate) of the host 1 1 to the device 12; a fourth state 24 "FS_MODE” corresponding to a connection established in Full Speed between the host 1 1 and the device 12 a fifth state "Error” corresponding to a stop attempts to reconnect the host 1 1 to the device 12.
- the host 1 1 comprises as many automata 20 as peripherals 12,13 connected to it.
- the controller of the host 1 1 enters the first state 21 "HS_Connect”.
- the host 1 1 makes an attempt to connect in High Speed with the device 12.
- the host 1 1 makes a third and last attempt.
- the host 1 1 switches to the second state 22 "HS_MODE" and the functional communication can take place in High Speed between the host 1 1 and the device 12.
- a network fault occurs (eg a loss of communication)
- the host 1 1 switches to the first state 21 "HS_Connect” , to make up to three new high speed reconnection attempts.
- the host 1 1 makes a third and last attempt. In case of failure on the third attempt, the host 11 switches to the fifth state "Error".
- the host 1 1 switches to the fourth state 24 "FS_MODE" and the functional communication can take place in full speed between the host 1 1 and the device 12.
- the host 1 1 when the host 1 1 is in the third state 23 "FS_Connect", it can switch in the first state 21 "HS_Connect” for example after the lapse of a first delay time for example, one minute.
- the host 11 when the host 11 is in the fourth state 24 "FS_MODE", it can switch to the first state 21 "HS_Connect” for example after the lapse of a second period of time. delay, for example one minute.
- the host 11 when the host 11 is in the fifth state "Error", it can switch to the third state 23 "FS_Connect” or in the first state 21 "HS_Connect” for example after the flow of a third time delay, for example one minute.
- the number of repetitions for connection attempts is set to three. This is a non-limiting example. Indeed, this number can be lower or higher.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR1458100A FR3025332B1 (fr) | 2014-08-29 | 2014-08-29 | Dispositif de gestion d'erreurs sur un bus universel serie |
| PCT/FR2015/052022 WO2016030595A1 (fr) | 2014-08-29 | 2015-07-23 | Dispositif de gestion d'erreurs sur un bus universel serie |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP3195134A1 true EP3195134A1 (fr) | 2017-07-26 |
Family
ID=52473989
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP15748296.9A Ceased EP3195134A1 (fr) | 2014-08-29 | 2015-07-23 | Dispositif de gestion d'erreurs sur un bus universel serie |
Country Status (4)
| Country | Link |
|---|---|
| EP (1) | EP3195134A1 (fr) |
| CN (1) | CN106663080A (fr) |
| FR (1) | FR3025332B1 (fr) |
| WO (1) | WO2016030595A1 (fr) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108763128A (zh) * | 2018-06-15 | 2018-11-06 | 深圳市沃特沃德股份有限公司 | 处理外设信号的方法、中转设备及车载系统 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6839778B1 (en) * | 2000-06-09 | 2005-01-04 | Cypress Semiconductor Corp. | Speed power efficient USB method |
| JP2003281088A (ja) * | 2002-03-20 | 2003-10-03 | Seiko Epson Corp | Usbインターフェースを搭載した記録装置の評価方法、記録装置の評価用usbインターフェース制御プログラム |
| JP2005182380A (ja) * | 2003-12-18 | 2005-07-07 | Canon Inc | 記録装置、電子機器 |
| US7610416B2 (en) | 2005-04-13 | 2009-10-27 | Microsoft Corporation | Systems and methods for controlling rise and fall times of USB signals |
| JP2008204005A (ja) * | 2007-02-16 | 2008-09-04 | Canon Inc | 周辺装置の通信方法、コンピュータプログラム、及び周辺装置 |
| CN100507867C (zh) * | 2007-06-12 | 2009-07-01 | 北京中星微电子有限公司 | 自动测试usb装置兼容性的系统 |
| US20090019192A1 (en) * | 2007-07-09 | 2009-01-15 | Aten International Co., Ltd. | Usb transmission system and related method for accessing data in a first usb specification with a speed of a second usb specification |
| JP5936498B2 (ja) * | 2012-01-16 | 2016-06-22 | ルネサスエレクトロニクス株式会社 | Usb3.0デバイス及び制御方法 |
-
2014
- 2014-08-29 FR FR1458100A patent/FR3025332B1/fr not_active Expired - Fee Related
-
2015
- 2015-07-23 WO PCT/FR2015/052022 patent/WO2016030595A1/fr not_active Ceased
- 2015-07-23 CN CN201580046738.4A patent/CN106663080A/zh active Pending
- 2015-07-23 EP EP15748296.9A patent/EP3195134A1/fr not_active Ceased
Non-Patent Citations (2)
| Title |
|---|
| COMPAQ HEWLETT-PACKARD: "Universal Serial Bus Specification version 2.0", 27 April 2000 (2000-04-27), XP055532152, Retrieved from the Internet <URL:www.usb.org> [retrieved on 20181210] * |
| See also references of WO2016030595A1 * |
Also Published As
| Publication number | Publication date |
|---|---|
| FR3025332B1 (fr) | 2016-12-02 |
| FR3025332A1 (fr) | 2016-03-04 |
| WO2016030595A1 (fr) | 2016-03-03 |
| CN106663080A (zh) | 2017-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20080162984A1 (en) | Method and apparatus for hardware assisted takeover | |
| US7010639B2 (en) | Inter integrated circuit bus router for preventing communication to an unauthorized port | |
| EP0272969B1 (fr) | Procédé et appareil programmable pour le transcodage de chaînes de caractères | |
| US20050002384A1 (en) | Method of transmitting data through an I2C router | |
| US7630304B2 (en) | Method of overflow recovery of I2C packets on an I2C router | |
| GB2403315A (en) | System for detecting and resetting a device coupled to an inter-integrated circuit router | |
| US20050055456A1 (en) | Method, system, and program for managing a speed at which data is transmitted between network adaptors | |
| JPH0731647B2 (ja) | 分散データ処理ネットワークにおける遠隔保守及び誤り回復方法及び装置 | |
| FR2896368A1 (fr) | Appareil pour ameliorer l'efficacite du microprogramme pour une interface serie multitrame | |
| FR2632096A1 (fr) | Systeme de microcalculateur a bus multiple avec arbitrage d'acces aux bus | |
| US7398345B2 (en) | Inter-integrated circuit bus router for providing increased security | |
| US20040255070A1 (en) | Inter-integrated circuit router for supporting independent transmission rates | |
| EP3195134A1 (fr) | Dispositif de gestion d'erreurs sur un bus universel serie | |
| US20040255193A1 (en) | Inter integrated circuit router error management system and method | |
| EP3167379B1 (fr) | Dispositif de gestion d'erreurs sur un bus universel série | |
| EP2497235B1 (fr) | Outil de diagnostic pour réseaux à haut débit | |
| CN111147401A (zh) | 一种phy卡热插拔方法与装置 | |
| EP2965214A1 (fr) | Procede de surveillance de communications pour systeme sur puce | |
| EP1426843B1 (fr) | Réseau local industriel ou domestique | |
| US20050220122A1 (en) | Methods and systems for a data processing system having radiation tolerant bus | |
| CN121077877B (zh) | 通信设备的console管理接口的故障监测装置及方法 | |
| JP2005004750A (ja) | 集積回路間ルータ分析システムおよび方法 | |
| CN110688267A (zh) | 一种硬盘端口的修复方法及装置 | |
| FR3023437A1 (fr) | Dispositif de detection d'erreurs sur un bus universel serie | |
| EP4368949A1 (fr) | Procede de transmission de donnees selon un protocole comprenant une classe d'objets d'interface de communication de type port-serie, et dispositif electronique executant ledit procede |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20170213 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| AX | Request for extension of the european patent |
Extension state: BA ME |
|
| RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: PSA AUTOMOBILES SA |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| 17Q | First examination report despatched |
Effective date: 20180205 |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R003 |
|
| RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: PSA AUTOMOBILES SA |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
| 18R | Application refused |
Effective date: 20201022 |