TW201435599A - An external device and a transmission system and the method of the heterogeneous device - Google Patents

An external device and a transmission system and the method of the heterogeneous device Download PDF

Info

Publication number
TW201435599A
TW201435599A TW102109073A TW102109073A TW201435599A TW 201435599 A TW201435599 A TW 201435599A TW 102109073 A TW102109073 A TW 102109073A TW 102109073 A TW102109073 A TW 102109073A TW 201435599 A TW201435599 A TW 201435599A
Authority
TW
Taiwan
Prior art keywords
pin
control module
pci
interface
usb
Prior art date
Application number
TW102109073A
Other languages
Chinese (zh)
Other versions
TWI482027B (en
Inventor
Min-Cheng Lin
Pei-Feng Huang
Original Assignee
Sunix
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 Sunix filed Critical Sunix
Priority to TW102109073A priority Critical patent/TWI482027B/en
Publication of TW201435599A publication Critical patent/TW201435599A/en
Application granted granted Critical
Publication of TWI482027B publication Critical patent/TWI482027B/en

Links

Abstract

An external device and a transmission system and the method of the heterogeneous device can access the USB3.0 and PCI-E at the same time. The external device includes an USB3.0 socket, a first control module and a micro control unit. The USB3.0 socket couples to the computer. The USB3.0 socket includes a plurality of first pins and a plurality of second pins. The first control module couples to the second pins. The first control module receives an operation signal via from the computer. The micro control unit couples to the first pins and the first control module. The micro control unit receives a identify request via the first pins. The micro control unit generates a working signal and sends the working signal to the first control module.

Description

外接設備、異質設備的傳輸系統與其方法 External device, heterogeneous device transmission system and method thereof

一種外接設備、異質設備的傳輸系統與其方法,特別有關於一種透過USB3.0連接PCI-E的外接設備、異質設備的傳輸系統與其方法。 A transmission system and method for an external device and a heterogeneous device, and particularly relates to a transmission system and a method for connecting an external device and a heterogeneous device of a PCI-E through a USB 3.0.

隨著積體電路的快速發展,使得計算機的體積可以輕薄短小並達到更快速的運算能力。對於小型計算機而言,主機內部的空間將有所限制。因此小型計算機不會提供介面卡的擴充。所以小型計算機若要新增其他設備的話,將會透過外接的方式進行擴充。 With the rapid development of integrated circuits, the size of the computer can be thin and light and achieve faster computing power. For small computers, there is a limit to the space inside the host. Therefore, small computers do not provide an expansion of the interface card. Therefore, if a small computer wants to add another device, it will be expanded by external means.

一般而言,通用序列匯流排(Universal Serial Bus,簡稱USB)是項已經很成熟的外接設備的介面。USB的特點是支持熱插拔(Hot-Plug)和即插即用(Plug-and-Play)。而且USB3.0接口也可以相容於舊式USB2.0與USB1.1裝置。 In general, the Universal Serial Bus (USB) is an interface for an already mature external device. USB features support for hot-plug and plug-and-play (Plug-and-Play). And the USB3.0 interface can also be compatible with the old USB2.0 and USB1.1 devices.

隨著大量且快速的傳輸需求,使得USB也發展到第三版(以下簡稱USB3.0)。USB3.0的傳輸速度被提高至5G(Giga bps)。所以USB3.0可以提供更加快速的傳輸速度。因此有廠商提出將其他傳輸介面轉換為USB3.0介面。其他異質設備可以透過USB3.0的介面連接於主機端,使得單一種類的接口達成多種不同類型設備的連接。由於其他傳輸介面的種類相異於USB3.0介面,因此在本說明書中係將其稱為異質設備。中華民國專利號M375925案中提出了一種「具有USB3.0與PCI-E介面的外接系統」(以下簡稱M375925案)。M375925案讓具有周邊設備連接界面(Peripheral Component Interconnect Express,以下簡稱PCI-E)的裝置透過USB3.0的連接線與電腦連接。 With the large and fast transmission requirements, USB has also been developed to the third edition (hereinafter referred to as USB3.0). The transfer speed of USB3.0 is increased to 5G (Giga bps). So USB3.0 can provide faster transfer speeds. Therefore, some manufacturers have proposed to convert other transmission interfaces into USB3.0 interface. Other heterogeneous devices can be connected to the host through the USB 3.0 interface, enabling a single type of interface to connect to many different types of devices. Since the types of other transmission interfaces are different from the USB 3.0 interface, they are referred to as heterogeneous devices in this specification. In the case of the Republic of China Patent No. M375925, a "external system with USB 3.0 and PCI-E interface" (hereinafter referred to as M375925) is proposed. In the M375925, a device with a Peripheral Component Interconnect Express (PCI-E) is connected to a computer via a USB 3.0 cable.

M375925案對USB3.0接頭中的傳輸接腳進行了調整,使得PCI-E的電子裝置可以藉由USB3.0的接頭連接於USB3.0接口。這樣的方 式雖然可以實現PCI-E裝置與USB3.0的連接。但M375925案直接將USB3.0的差分電壓接腳(D+、D-)與PCI-E的參考時脈接腳(REFCLK+、REFCLK-)相接。由於時脈接腳與差分電壓接腳所傳輸的訊號並不相同,所以PCI-E裝置並無法取得對應的時脈。所以在無正確時脈的情況下,PCI-E裝置執行相應的操作將會發生錯誤的運行結果。因此,M375925案並無實際解決兩種協議在不同時脈下的操作。 The M375925 case adjusts the transmission pins in the USB3.0 connector so that the PCI-E electronics can be connected to the USB 3.0 interface via a USB 3.0 connector. Such a party Although the PCI-E device can be connected to USB3.0. However, the M375925 directly connects the differential voltage pins (D+, D-) of USB3.0 to the reference clock pins (REFCLK+, REFCLK-) of PCI-E. Since the signals transmitted by the clock pin and the differential voltage pin are not the same, the PCI-E device cannot obtain the corresponding clock. Therefore, in the absence of a correct clock, the PCI-E device performs the corresponding operation and an erroneous operation result will occur. Therefore, the M375925 case does not actually solve the operation of the two protocols at different clocks.

本發明提供一種異質設備的傳輸系統,其特徵在於根據所連接的設備並選擇相應種類的傳輸協議。 The present invention provides a transmission system for a heterogeneous device, characterized in that a corresponding type of transmission protocol is selected according to the connected device.

本發明的異質設備的傳輸系統包括PCI-E設備與主機端。PCI-E設備具有第一接口、微控制器與第一控制模組,微控制器耦接於第一控制模組,第一接口具有多個第一接腳與多個第二接腳;主機端連接於PCI-E設備,主機端具有第二接口與第二控制模組,第二接口對應設置於PCI-E設備的第一接口;其中,PCI-E設備連接於主機端時,第二控制模組透過第一接腳耦接於微控制器,第二控制模組透過第二接腳耦接於第一控制模組,第二控制模組透過第一接腳驅動微控制器,使微控制器向第一控制模組發送識別訊號,第二控制模組透過第二接腳向第一控制模組發送操作訊號。 The transmission system of the heterogeneous device of the present invention includes a PCI-E device and a host end. The PCI-E device has a first interface, a microcontroller and a first control module, and the microcontroller is coupled to the first control module, the first interface has a plurality of first pins and a plurality of second pins; The terminal is connected to the PCI-E device, the host has a second interface and a second control module, and the second interface is correspondingly disposed on the first interface of the PCI-E device; wherein, when the PCI-E device is connected to the host, the second The control module is coupled to the microcontroller through the first pin, the second control module is coupled to the first control module through the second pin, and the second control module drives the microcontroller through the first pin. The microcontroller sends an identification signal to the first control module, and the second control module sends an operation signal to the first control module through the second pin.

本發明另提出一種外接設備,其特徵在於透過USB3.0接口連接PCI-E設備。 The present invention further provides an external device, which is characterized in that a PCI-E device is connected through a USB 3.0 interface.

本發明的外接設備包括USB3.0接口、第一控制模組與微控制器。USB3.0接口連接於主機端,USB3.0接口具有多個第一腳位與多個第二腳位;第一控制模組連接於USB3.0接口的第二腳位,第一控制模組接收來自於主機端的操作訊號;微控制器耦接於USB3.0接口的第一腳位與第一控制模組,微控制器透過第一腳位接收辨認要求,微控制器根據辨認要求產生識別訊號,並將識別訊號發送至第一控制模組。 The external device of the present invention comprises a USB 3.0 interface, a first control module and a microcontroller. The USB3.0 interface is connected to the host end, and the USB3.0 interface has a plurality of first pin positions and a plurality of second pin positions; the first control module is connected to the second pin position of the USB3.0 interface, and the first control module Receiving an operation signal from the host end; the microcontroller is coupled to the first pin of the USB3.0 interface and the first control module, and the microcontroller receives the identification request through the first pin, and the microcontroller generates the identification according to the identification requirement The signal is sent to the first control module.

本發明更提出一種異質設備的傳輸方法,其特徵在於透過USB3.0接口連接PCI-E設備。 The invention further proposes a transmission method of a heterogeneous device, which is characterized in that a PCI-E device is connected through a USB 3.0 interface.

本發明的異質設備的傳輸方法包括以下步驟:將PCI-E設備 連接於主機端的USB3.0接口;由主機端的第二控制模組透過USB3.0接口的多個第一接腳驅動PCI-E設備的微控制器用以產生識別訊號;第二控制模組透過USB3.0接口的多個第二接腳傳輸操作訊號至PCI-E設備的第一控制模組;將識別訊號傳送至第一控制模組;第一控制模組根據識別訊號與操作訊號進行相應的操作。 The transmission method of the heterogeneous device of the present invention comprises the following steps: the PCI-E device The USB3.0 interface connected to the host end; the second control module of the host end drives the PCI-E device's microcontroller through multiple first pins of the USB3.0 interface to generate the identification signal; the second control module transmits the USB3 The plurality of second pins of the .0 interface transmit the operation signal to the first control module of the PCI-E device; the identification signal is transmitted to the first control module; and the first control module performs the corresponding signal according to the identification signal and the operation signal. operating.

本發明的外接設備、異質設備的傳輸系統與其方法可以提供PCI-E設備運行時所需的正確時脈,因此本發明可以完整的實現熱插拔的目的。本發明可以由USB3.0接口連接USB3.0設備外,也可以連接PCI-E設備,所以可以達到節省空間的目的。有關本發明的特徵與實作,茲配合圖式作最佳實施例詳細說明如下。 The external device of the present invention, the transmission system of the heterogeneous device and the method thereof can provide the correct clock required for the PCI-E device to operate, and thus the present invention can completely realize the purpose of hot plugging. The invention can be connected to the USB3.0 device by the USB3.0 interface, or can be connected to the PCI-E device, so that space saving can be achieved. The features and implementations of the present invention are described in detail below with reference to the drawings.

100‧‧‧傳輸系統 100‧‧‧Transmission system

110‧‧‧PCI-E設備 110‧‧‧PCI-E equipment

111‧‧‧第一接口 111‧‧‧First interface

112‧‧‧微控制器 112‧‧‧Microcontroller

113‧‧‧第一控制模組 113‧‧‧First Control Module

114‧‧‧第一接腳 114‧‧‧First pin

115‧‧‧第二接腳 115‧‧‧second pin

120‧‧‧主機端 120‧‧‧Host side

121‧‧‧第二接口 121‧‧‧second interface

122‧‧‧第二控制模組 122‧‧‧Second control module

第1圖係為本發明的架構圖。 Figure 1 is an architectural diagram of the present invention.

第2圖係為本發明的第一接口的腳位配置示意圖。 Figure 2 is a schematic diagram showing the configuration of the pin of the first interface of the present invention.

第3圖係為本發明的運作流程示意圖。 Figure 3 is a schematic diagram of the operational flow of the present invention.

第4圖係為本發明的另一種運作流程示意圖。 Figure 4 is a schematic diagram of another operational flow of the present invention.

請參考第1圖所示,其係為本發明的架構圖。本發明的異質設備的傳輸系統100包括PCI-E設備110與主機端120。PCI-E設備110具有第一接口111、微控制器112(Micro Control Unit,簡稱MCU)與第一控制模組113(PCI-E Host)。微控制器112耦接於第一接口111與第一控制模組113。微控制器112中可以寫入PCI-E設備110的相關資訊與驅動程序。第一接口111包括多個第一接腳114與第二接腳115。為實現向下相容的目的,所以USB3.0接口中同時包含了USB2.0接腳與USB3.0接腳。在此將第一接口111中的USB2.0的各接腳定義為第一接腳114,USB3.0的各接腳定義為第二接腳115。第一接腳114耦接於微控制器112與主機端120。第二接腳115耦接於第一控制模組113與主機端120。第一接口111所採用的是USB3.0傳輸協議。第一接口111可以採用USB A型(USB A type)或USB B型(USB B type)。 Please refer to FIG. 1 , which is an architectural diagram of the present invention. The transmission system 100 of the heterogeneous device of the present invention includes a PCI-E device 110 and a host terminal 120. The PCI-E device 110 has a first interface 111, a microcontroller 112 (Micro Control Unit, MCU for short), and a first control module 113 (PCI-E Host). The microcontroller 112 is coupled to the first interface 111 and the first control module 113. Information and drivers related to the PCI-E device 110 can be written into the microcontroller 112. The first interface 111 includes a plurality of first pins 114 and second pins 115. For the purpose of backward compatibility, the USB3.0 interface includes both the USB2.0 pin and the USB3.0 pin. Here, each pin of the USB 2.0 in the first interface 111 is defined as a first pin 114, and each pin of the USB 3.0 is defined as a second pin 115. The first pin 114 is coupled to the microcontroller 112 and the host end 120. The second pin 115 is coupled to the first control module 113 and the host end 120. The first interface 111 is a USB 3.0 transmission protocol. The first interface 111 can be a USB A type (USB A type) or a USB Type B (USB B type).

本發明的第一接口111中所採用的接腳配置請參考下文所示,請配合第2圖所示,其係為本發明的第一接口的腳位配置示意圖。第一支接腳係為第一接腳114,其係連接USB2.0的電力接腳(VBus)與PCI-E的電力接腳(Vcc)。第二支接腳係為第一接腳114,其係連接USB2.0的差分電壓接腳(D-)與USB2.0的差分電壓接腳(D-)。第三支接腳係為第一接腳114,其係連接USB2.0的差分電壓接腳(D+)。第四支接腳係為第一接腳114,其係連接USB2.0的接地接腳(GND)與PCI-E的接地接腳(GND)。 For the pin configuration used in the first interface 111 of the present invention, please refer to the following description. Please refer to FIG. 2, which is a schematic diagram of the pin configuration of the first interface of the present invention. The first pin is the first pin 114, which is connected to the USB 2.0 power pin (VBus) and the PCI-E power pin (Vcc). The second pin is the first pin 114, which is a differential voltage pin (D-) of USB2.0 and a differential voltage pin (D-) of USB2.0. The third leg is the first pin 114, which is connected to the differential voltage pin (D+) of USB2.0. The fourth pin is the first pin 114, which is connected to the grounding pin (GND) of the USB2.0 and the grounding pin (GND) of the PCI-E.

第五支接腳係為第二接腳115,其係為USB3.0的接收接腳(RX-)與PCI-E的PERn接腳(PCI Express Receive Negative signal)。第六支接腳係為第二接腳115,其係連接USB3.0的接收接腳(RX+)與PCI-E的PERp接腳(PCI Express Receive Positive signal)。第七支接腳係為第二接腳115,其係連接USB3.0的接地接腳與PCI-E的接地接腳。第八支接腳係為第二接腳115,其係連接USB3.0的傳輸接腳(TX-)與PCI-E的PETn接腳(PCI Express Transmit Negative signal)。第九支接腳係為第二接腳115,其係連接USB3.0的傳輸接腳(TX+)與PCI-E的PETp接腳(PCI Express Transmit Positive signal)。 The fifth pin is the second pin 115, which is a receiving pin (RX-) of USB 3.0 and a PCI Express Receive Negative signal of PCI-E. The sixth pin is a second pin 115 that connects the receiving pin (RX+) of the USB 3.0 and the PERp pin (PCI Express Receive Positive signal) of the PCI-E. The seventh pin is the second pin 115, which is connected to the grounding pin of the USB3.0 and the grounding pin of the PCI-E. The eighth pin is the second pin 115, which is connected to the USB 3.0 transmission pin (TX-) and the PCI-E PET Express pin (PCI Express Transmit Negative signal). The ninth pin is the second pin 115, which is connected to the USB3.0 transmission pin (TX+) and the PCI-E PETp Transpon Positive signal (PCI Express Transmit Positive signal).

本發明的主機端120可以是但不限定為個人電腦(Personal Computer)、筆記型電腦(Notebook)或一體電腦(All in one PC,簡稱AIO)。主機端120包括第二接口121與第二控制模組122。第二控制模組122的種類係根據主機端120的運行過程所決定。當主機端120於開機過程時,第二控制模組122係為基礎輸入輸出系統(Basic Input/output System,簡稱BIOS),第二控制模組122可以驅動平台控制集線器(Platform Controller Hub)進行相應的處理。若主機端120已經進入作業系統(Operation System,簡稱OS)中,則第二控制模組122改由作業系統來執行。第二接口121所採用的也是USB3.0傳輸協議。一般而言,第一接口111的種類係相對於第二接口121的種類。或者,本發明也可以透過USB3.0的連接電纜(Cable)連接於第一接口111與第二接口121。 The host side 120 of the present invention may be, but not limited to, a personal computer, a notebook, or an all-in-one PC (AIO). The host end 120 includes a second interface 121 and a second control module 122. The type of the second control module 122 is determined according to the operation process of the host terminal 120. When the host terminal 120 is in the boot process, the second control module 122 is a Basic Input/Output System (BIOS), and the second control module 122 can drive the Platform Controller Hub to perform corresponding operations. Processing. If the host terminal 120 has entered the operation system (OS), the second control module 122 is executed by the operating system. The second interface 121 is also a USB 3.0 transmission protocol. In general, the type of the first interface 111 is relative to the type of the second interface 121. Alternatively, the present invention can also be connected to the first interface 111 and the second interface 121 via a USB 3.0 connection cable (Cable).

主機端120在不同的運作環境下,將會由不同的對象擔任第 二控制模組122。本發明中係將運作環境分為開機過程中(Booting)與作業環境下。如果主機端120處於開機過程中,則控制模組由BIOS所負責。在完成開機後,主機端120會運行作業系統。因此在作業系統的環境下,則是由作業系統負責PCI-E設備110的插拔偵測的相關處理。 The host side 120 will be served by different objects in different operating environments. Two control modules 122. In the present invention, the operating environment is divided into a booting process and an operating environment. If the host 120 is in the process of booting, the control module is responsible for the BIOS. After the boot is completed, the host 120 runs the operating system. Therefore, in the environment of the operating system, the operating system is responsible for the related processing of the plug-in detection of the PCI-E device 110.

為清楚說明本發明在開機過程中的運作順序,請配合第3圖所示,其係為本發明的運作流程示意圖。本發明的異質設備的傳輸方法包括以下步驟:步驟S310:將擴充設備連接於主機端的第二接口;步驟S320:BIOS判斷擴充設備的種類為USB3.0設備或PCI-E設備;步驟S330:若擴充設備為USB3.0設備,由BIOS對USB3.0設備進行操作;步驟S340:若擴充設備為PCI-E設備,由BIOS透過第一接口的第一接腳驅動PCI-E設備的微控制器並產生識別訊號;步驟S350:BIOS透過第一接口的多個第二接腳傳輸操作訊號至PCI-E設備的第一控制模組;步驟S360:將識別訊號傳送至第一控制模組;以及步驟S370:第一控制模組根據識別訊號與操作訊號進行相應的操作。 In order to clearly explain the operation sequence of the present invention in the booting process, please refer to FIG. 3, which is a schematic diagram of the operational flow of the present invention. The method for transmitting the heterogeneous device of the present invention includes the following steps: Step S310: connecting the expansion device to the second interface of the host device; Step S320: The BIOS determines that the type of the expansion device is a USB3.0 device or a PCI-E device; Step S330: The expansion device is a USB 3.0 device, and the BIOS operates the USB 3.0 device. Step S340: If the expansion device is a PCI-E device, the BIOS drives the PCI-E device's microcontroller through the first pin of the first interface. And generating an identification signal; step S350: the BIOS transmits the operation signal to the first control module of the PCI-E device through the plurality of second pins of the first interface; and step S360: transmitting the identification signal to the first control module; Step S370: The first control module performs corresponding operations according to the identification signal and the operation signal.

為區別辨識前的設備與辨識後的設備,在此將連接時且未辨識的設備定義為擴充設備。將擴充設備透過電纜或接頭的方式連接於主機端120。由於主機端120處於開機狀態中,因此會由BIOS負責第二控制模組122的角色。 In order to distinguish between the device before identification and the device after identification, the device that is connected and not recognized is defined as an expansion device. The expansion device is connected to the host end 120 via a cable or a connector. Since the host terminal 120 is in the power-on state, the BIOS is responsible for the role of the second control module 122.

BIOS可以透過計時與詢問設備資訊的方式確認擴充設備的種類。當BIOS在發出辨認要求後,BIOS會等待微控制器112的回應。由於微控制器112中已經搭載該PCI-E設備110或USB3.0設備的相關資訊,因此微控制器112接到辨認要求會產生相應的回應訊號。若經過一預設時段後,BIOS收到微控制器112的回應訊號,則BIOS將會識別PCI-E設備110。若是經過預設時段後仍未收到回應訊號,BIOS將會把第二接口121所連接的設備視為USB3.0設備。若為USB3.0設備,則BIOS可以透過原本的程序進行連接。 The BIOS can confirm the type of expansion device by timing and interrogating device information. When the BIOS issues an identification request, the BIOS waits for a response from the microcontroller 112. Since the information about the PCI-E device 110 or the USB 3.0 device has been carried in the microcontroller 112, the microcontroller 112 receives the identification request and generates a corresponding response signal. If the BIOS receives a response signal from the microcontroller 112 after a predetermined period of time, the BIOS will recognize the PCI-E device 110. If the response signal is not received after the preset time period, the BIOS will regard the device connected to the second interface 121 as a USB 3.0 device. If it is a USB3.0 device, the BIOS can connect through the original program.

若所連接的擴充設備係為PCI-E設備110,則BIOS透過第一接口111的第一接腳114並驅動PCI-E設備110的微控制器112用以產生識別訊號。其中,識別訊號的種類包括重置訊號(Reset)、喚醒訊號(Wakeup)與睡眠訊號(Sleep)。而微控制器112所產生的識別訊號係配合PCI-E設備110的控制,因此PCI-E設備110在執行操作時可以配合正確的時序。而BIOS透過第一接口111的多個第二接腳115傳輸操作訊號至PCI-E設備110的第一控制模組113。對於步驟S350與S360的執行順序並非僅侷限於此,對於本領域者也可以將這些步驟同時執行或交換順序。 If the connected expansion device is the PCI-E device 110, the BIOS transmits the first pin 114 of the first interface 111 and drives the microcontroller 112 of the PCI-E device 110 to generate an identification signal. The types of the identification signals include a reset signal, a wake-up signal (Wakeup), and a sleep signal (Sleep). The identification signal generated by the microcontroller 112 is coordinated with the control of the PCI-E device 110, so the PCI-E device 110 can cooperate with the correct timing when performing operations. The BIOS transmits the operation signal to the first control module 113 of the PCI-E device 110 through the plurality of second pins 115 of the first interface 111. The order of execution of steps S350 and S360 is not limited to this, and it is also possible for those skilled in the art to simultaneously perform or exchange the sequences.

本發明除了前述的開機過程中,也可以應用在作業系統運行中。在作業系統運行時,由於BIOS將不會對周邊硬體進行管控。所以在作業系統運行時,係由作業系統擔任第二控制模組122的角色。請參考第4圖所示,其係為本發明的另一種運作流程示意圖。此一實施態樣包括以下步驟:步驟S410:將擴充設備連接於主機端的第二接口;步驟S420:作業系統判斷擴充設備的種類為USB3.0設備或PCI-E設備;步驟S430:若擴充設備為USB3.0設備,由作業系統對USB3.0設備進行操作;步驟S440:若擴充設備為PCI-E設備,由作業系統透過第一接口的第一接腳驅動PCI-E設備的微控制器並產生識別訊號;步驟S450:作業系統透過第一接口的多個第二接腳傳輸操作訊號至PCI-E設備的第一控制模組;步驟S460:將識別訊號傳送至第一控制模組;以及步驟S470:第一控制模組根據識別訊號與操作訊號進行相應的操作。 The present invention can also be applied to the operation of the operating system in addition to the aforementioned booting process. When the operating system is running, the BIOS will not control the surrounding hardware. Therefore, when the operating system is running, the operating system functions as the second control module 122. Please refer to FIG. 4, which is a schematic diagram of another operational flow of the present invention. The embodiment includes the following steps: Step S410: connecting the expansion device to the second interface of the host end; Step S420: The operating system determines that the type of the expansion device is a USB3.0 device or a PCI-E device; Step S430: If the device is expanded For the USB3.0 device, the USB 3.0 device is operated by the operating system; Step S440: If the expansion device is a PCI-E device, the operating system drives the PCI-E device's microcontroller through the first pin of the first interface. And generating an identification signal; step S450: the operating system transmits the operation signal to the first control module of the PCI-E device through the plurality of second pins of the first interface; and step S460: transmitting the identification signal to the first control module; And step S470: the first control module performs a corresponding operation according to the identification signal and the operation signal.

由於作業系統對於主機端120的硬體有實質的掌控權力,因此在完成開機後將以作業系統作為第二控制模組122。當作業系統偵測到第二接口121有裝置接入時,作業系統將會調用相關的中斷程序。對於所述的中斷程序可能隨著作業系統種類的不同,而有不一樣的實現方式。 Since the operating system has substantial control over the hardware of the host terminal 120, the operating system is used as the second control module 122 after the booting is completed. When the operating system detects that the second interface 121 has device access, the operating system will call the relevant interrupt program. There may be different implementations for the interrupt program described, depending on the type of work system.

當擴充設備連接於主機端120作業系統會透過第一接腳114 將辨認要求發送至PCI-E設備110的微控制器112。若是擴充設備接到辨認要求,則微控制器112將會返回一回應訊息給主機端120。作業系統在收到回應訊息後,作業系統可以根據回應訊息辨認擴充設備的種類,並調用相關的中斷處理進行該項設備連接。以微軟公司(Microsoft)的視窗作業系統(Windows OS)為例,視窗作業系統可以調用系統管理中斷(System Management Interrupt,簡稱SMI)或驅動程序(Driver)作為PCI-E設備110的識別與連接。 When the expansion device is connected to the host end 120, the operating system passes through the first pin 114. The identification request is sent to the microcontroller 112 of the PCI-E device 110. If the expansion device receives the identification request, the microcontroller 112 will return a response message to the host 120. After receiving the response message, the operating system can identify the type of the expansion device according to the response message and call the relevant interrupt processing to connect the device. Taking Microsoft's Windows operating system (Windows OS) as an example, the Windows operating system can call a System Management Interrupt (SMI) or a Driver (Driver) as the identification and connection of the PCI-E device 110.

接下來,由作業系統透過第一接口111的第一接腳114驅動PCI-E設備110的微控制器112並產生識別訊號。而微控制器112所產生的識別訊號係配合PCI-E設備110的控制,因此PCI-E設備110在執行操作時可以配合正確的時序。而作業系統透過第一接口111的多個第二接腳115傳輸操作訊號至PCI-E設備110的第一控制模組113。對於步驟S450與S460的執行順序並非僅侷限於此,對於本領域者也可以將這些步驟同時執行或交換順序。 Next, the operating system transmits the microcontroller 112 of the PCI-E device 110 through the first pin 114 of the first interface 111 and generates an identification signal. The identification signal generated by the microcontroller 112 is coordinated with the control of the PCI-E device 110, so the PCI-E device 110 can cooperate with the correct timing when performing operations. The operating system transmits the operation signal to the first control module 113 of the PCI-E device 110 through the plurality of second pins 115 of the first interface 111. The order of execution of steps S450 and S460 is not limited to this, and it is also possible for those skilled in the art to simultaneously perform or exchange the sequences.

本發明的外接設備、異質設備的傳輸系統100與其方法可以提供PCI-E設備110運行時所需的正確時脈,因此本發明可以完整的實現熱插拔的目的。本發明可以由USB3.0接口連接USB3.0設備外,也可以連接PCI-E設備110。所以可以達到節省空間的目的外,本發明也兼顧了實用性的目的。 The external device, heterogeneous device transmission system 100 and method thereof of the present invention can provide the correct clock required for the PCI-E device 110 to operate, and thus the present invention can completely achieve the purpose of hot plugging. The present invention can be connected to a USB 3.0 device by a USB 3.0 interface, or can be connected to a PCI-E device 110. Therefore, the object of saving space can be achieved, and the present invention also takes into consideration the purpose of practicality.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

100‧‧‧傳輸系統 100‧‧‧Transmission system

110‧‧‧PCI-E設備 110‧‧‧PCI-E equipment

111‧‧‧第一接口 111‧‧‧First interface

112‧‧‧微控制器 112‧‧‧Microcontroller

113‧‧‧第一控制模組 113‧‧‧First Control Module

114‧‧‧第一接腳 114‧‧‧First pin

115‧‧‧第二接腳 115‧‧‧second pin

120‧‧‧主機端 120‧‧‧Host side

121‧‧‧第二接口 121‧‧‧second interface

122‧‧‧第二控制模組 122‧‧‧Second control module

Claims (10)

一種異質設備的傳輸系統,其特徵在於根據所連接的設備並選擇相應種類的傳輸協議,該異質設備的傳輸系統包括:一PCI-E設備,其係具有一第一接口、一微控制器與一第一控制模組,該微控制器耦接於該第一控制模組,該第一接口具有多個第一接腳與多個第二接腳;以及一主機端,其係連接於該PCI-E設備,該主機端具有一第二接口與一第二控制模組,該第二接口對應設置於該PCI-E設備的該第一接口;其中,該PCI-E設備連接於該主機端時,該第二控制模組透過該第一接腳耦接於該微控制器,該第二控制模組透過該第二接腳耦接於該第一控制模組,該第二控制模組透過該些第一接腳驅動該微控制器,使該微控制器向該第一控制模組發送一識別訊號,該第二控制模組透過該第二接腳向該第一控制模組發送一操作訊號。 A transmission system for a heterogeneous device, characterized in that according to the connected device and selecting a corresponding type of transmission protocol, the transmission system of the heterogeneous device comprises: a PCI-E device having a first interface, a microcontroller and a first control module, the microcontroller is coupled to the first control module, the first interface has a plurality of first pins and a plurality of second pins; and a host end is connected to the first control module The PCI-E device has a second interface and a second control module, and the second interface is corresponding to the first interface of the PCI-E device; wherein the PCI-E device is connected to the host The second control module is coupled to the microcontroller through the first pin, and the second control module is coupled to the first control module through the second pin, the second control module The group drives the microcontroller through the first pins, so that the microcontroller sends an identification signal to the first control module, and the second control module transmits the second control module to the first control module. Send an operation signal. 如請求項1所述之異質設備的傳輸系統,其中該第二接口的腳位排列係為:第一支接腳係為該第一接腳,其係連接USB2.0的電力接腳與PCI-E的電力接腳;第二支接腳係為該第一接腳,其係連接USB2.0的差分電壓接腳(D-)與USB2.0的差分電壓接腳(D-);第三支接腳係為該第一接腳,其係連接USB2.0的差分電壓接腳(D+);第四支接腳係為該第一接腳,其係連接USB2.0的接地接腳與PCI-E的接地接腳;第五支接腳係為該第二接腳,其係連接USB3.0的接收接腳(RX-)與PCI-E的PERn接腳;第六支接腳係為該第二接腳,其係連接USB3.0的接收接腳(RX+)與PCI-E的PERp接腳;第七支接腳係為該第二接腳,其係連接USB3.0的接地接腳與PCI-E的接地接腳;第八支接腳係為該第二接腳,其係連接USB3.0的傳輸接腳(TX-)與PCI-E的PETn接腳;第九支接腳係為該第二接腳,其係連接USB3.0的傳輸接腳(TX+)與PCI-E的PETp接腳。 The transmission system of the heterogeneous device according to claim 1, wherein the pin position of the second interface is: the first pin is the first pin, and the USB pin is connected to the PCI pin and the PCI pin. -E power pin; the second pin is the first pin, which is connected to the differential voltage pin (D-) of USB2.0 and the differential voltage pin (D-) of USB2.0; The three pins are the first pin, which is connected to the differential voltage pin (D+) of the USB2.0; the fourth pin is the first pin, which is connected to the ground pin of the USB2.0. The grounding pin of the PCI-E; the fifth pin is the second pin, which is connected to the receiving pin (RX-) of the USB3.0 and the PERn pin of the PCI-E; the sixth pin The second pin is connected to the receiving pin (RX+) of the USB3.0 and the PERp pin of the PCI-E; the seventh pin is the second pin, which is connected to the USB3.0. The grounding pin and the grounding pin of the PCI-E; the eighth pin is the second pin, which is connected to the USB3.0 transmission pin (TX-) and the PCI-E PETn pin; The pin is the second pin, which is connected to the USB3.0 transmission pin (TX+) and the PCI-E PETp pin. 如請求項1所述之異質設備的傳輸系統,其中該第二控制模組係為一BIOS或一作業系統。 The transmission system of the heterogeneous device according to claim 1, wherein the second control module is a BIOS or an operating system. 如請求項3所述之異質設備的傳輸系統,其中該主機端於開機過程中,該BIOS偵測該第二接口所連接的設備的種類為USB3.0設備或該PCI-E 設備。 The transmission system of the heterogeneous device according to claim 3, wherein the BIOS detects that the type of the device connected to the second interface is a USB 3.0 device or the PCI-E during the booting process. device. 如請求項3所述之異質設備的傳輸系統,其中該主機端於該作業系統運行,該作業系統偵測該第二接口所連接的設備的種類為USB3.0設備或該PCI-E設備。 The transmission system of the heterogeneous device according to claim 3, wherein the host terminal runs on the operating system, and the operating system detects that the type of the device connected to the second interface is a USB 3.0 device or the PCI-E device. 一種外接設備,其特徵在於透過USB3.0接口連接PCI-E設備,該外接設備包括:一USB3.0接口,其係連接於一主機端,該USB3.0接口具有多個第一腳位與多個第二腳位;一第一控制模組,其係連接於該USB3.0接口的該些第二腳位,該第一控制模組接收來自於該主機端的一操作訊號;以及一微控制器,其係耦接於該USB3.0接口的該些第一腳位與該第一控制模組,該微控制器透過該些第一腳位接收一辨認要求,該微控制器根據該辨認要求產生一識別訊號,並將該識別訊號發送至該第一控制模組。 An external device, characterized in that a PCI-E device is connected through a USB3.0 interface, the external device includes: a USB3.0 interface, which is connected to a host end, the USB3.0 interface has a plurality of first pins and a plurality of second pins; a first control module connected to the second pins of the USB 3.0 interface, the first control module receiving an operation signal from the host end; and a micro The controller is coupled to the first pin of the USB 3.0 interface and the first control module, and the microcontroller receives an identification request through the first pin, the microcontroller is configured according to the The identification request generates an identification signal and sends the identification signal to the first control module. 一種異質設備的傳輸方法,其特徵在於透過USB3.0接口連接PCI-E設備,該異質設備的傳輸方法包括以下步驟:將一PCI-E設備連接於一主機端的一USB3.0接口;由該主機端的一第二控制模組透過該USB3.0接口的多個第一接腳驅動該PCI-E設備的一微控制器用以產生一識別訊號;該第二控制模組透過該USB3.0接口的多個第二接腳傳輸一操作訊號至該PCI-E設備的一第一控制模組;將該識別訊號傳送至該第一控制模組;以及該第一控制模組根據該識別訊號與該操作訊號進行相應的操作。 A transmission method of a heterogeneous device, characterized in that a PCI-E device is connected through a USB 3.0 interface, and the transmission method of the heterogeneous device includes the following steps: connecting a PCI-E device to a USB 3.0 interface of a host end; A second control module on the host side drives a microcontroller of the PCI-E device to generate an identification signal through a plurality of first pins of the USB 3.0 interface; the second control module transmits the USB 3.0 interface through the USB 3.0 interface The plurality of second pins transmit an operation signal to a first control module of the PCI-E device; the identification signal is transmitted to the first control module; and the first control module is configured according to the identification signal The operation signal performs corresponding operations. 如請求項7所述之異質設備的傳輸方法,其中該第二控制模組係為一BIOS或一作業系統。 The method for transmitting a heterogeneous device according to claim 7, wherein the second control module is a BIOS or an operating system. 如請求項8所述之異質設備的傳輸方法,其中該PCI-E設備連接於該USB3.0接口的步驟包括:判斷該主機端處於開機過程中或處於作業系統運行中;若該主機端於開機過程中,則由該BIOS偵測該USB3.0接口所連接的設備為一USB3.0設備或該PCI-E設備;以及 若該主機端於該作業系統運行中,則由該作業系統偵測該USB3.0接口所連接的設備為該USB3.0設備或該PCI-E設備。 The method for transmitting a heterogeneous device according to claim 8, wherein the step of connecting the PCI-E device to the USB 3.0 interface comprises: determining that the host terminal is in a booting process or in a running system; if the host terminal is During the boot process, the BIOS detects that the device connected to the USB 3.0 interface is a USB 3.0 device or the PCI-E device; If the host is running in the operating system, the operating system detects that the device connected to the USB 3.0 interface is the USB 3.0 device or the PCI-E device. 如請求項9所述之異質設備的傳輸方法,其中偵測該USB3.0接口所連接的設備的步驟中更包括:該第二控制模組向該USB3.0接口所連接的設備發出一辨認要求;若該USB3.0接口所連接的設備係為該PCI-E設備,該PCI-E設備根據該辨認要求產生一回應訊號並將該回應訊號返回該第二控制模組若該USB3.0接口所連接的設備係為該USB3.0設備,該USB3.0設備根據該辨認要求產生的另一該回應訊號並將該回應訊號返回該第二控制模組。 The method for transmitting a heterogeneous device according to claim 9, wherein the step of detecting the device connected to the USB 3.0 interface further comprises: the second control module issuing a recognition to the device connected to the USB3.0 interface If the device connected to the USB 3.0 interface is the PCI-E device, the PCI-E device generates a response signal according to the identification request and returns the response signal to the second control module, if the USB 3.0 The device connected to the interface is the USB 3.0 device, and the USB 3.0 device generates another response signal according to the identification request and returns the response signal to the second control module.
TW102109073A 2013-03-14 2013-03-14 An external device and a transmission system and the method of the heterogeneous device TWI482027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102109073A TWI482027B (en) 2013-03-14 2013-03-14 An external device and a transmission system and the method of the heterogeneous device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102109073A TWI482027B (en) 2013-03-14 2013-03-14 An external device and a transmission system and the method of the heterogeneous device

Publications (2)

Publication Number Publication Date
TW201435599A true TW201435599A (en) 2014-09-16
TWI482027B TWI482027B (en) 2015-04-21

Family

ID=51943358

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102109073A TWI482027B (en) 2013-03-14 2013-03-14 An external device and a transmission system and the method of the heterogeneous device

Country Status (1)

Country Link
TW (1) TWI482027B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7657692B2 (en) * 1999-08-04 2010-02-02 Super Talent Electronics, Inc. High-level bridge from PCIE to extended USB
US8102843B2 (en) * 2003-01-21 2012-01-24 Emulex Design And Manufacturing Corporation Switching apparatus and method for providing shared I/O within a load-store fabric
TWM420780U (en) * 2011-07-13 2012-01-11 Innodisk Corp Data storage card connectable to SD interface slot

Also Published As

Publication number Publication date
TWI482027B (en) 2015-04-21

Similar Documents

Publication Publication Date Title
EP3234788B1 (en) DATA TRANSMISSION USING PCIe PROTOCOL VIA USB PORT
US9652351B2 (en) System to detect charger and remote host for type-C connector
US20170337069A1 (en) Concurrent testing of pci express devices on a server platform
US20160004287A1 (en) Portable electronic device and power management method thereof
JP6517243B2 (en) Link Layer / Physical Layer (PHY) Serial Interface
US20130031277A1 (en) Method for identifying version type of windows operating system on a host by a usb device
US7000057B1 (en) Method and apparatus for adding OTG dual role device capability to a USB peripheral
US8214571B2 (en) Simple serial interface—method of communication and information exchange, and electronic devices based on this method
US20160224493A1 (en) Universal serial bus (usb) kvm switch using virtual usb for switching among multiple hosts
KR20090004508A (en) Pci express interface apparatus
JP2008257597A (en) Bus connection device, bus connection method, and program for bus connection
US7065597B2 (en) Method and apparatus for in-band signaling of runtime general purpose events
US8990461B2 (en) On-The-Go (OTG) USB devices configuration method for identifying configuration of other connected devices by reacting to change in resistance value on a resistive line
US20140229649A1 (en) Implementing io expansion cards
US7549009B2 (en) High-speed PCI interface system and a reset method thereof
CN103207850B (en) The transmission system of heterogeneous device
TWI741417B (en) Method and device of real time monitoring the connection status of i2c devices
TW202143061A (en) I3c hub promoting backward compatibility with ic
TWI587147B (en) Method and device capable of automatically identifying host operating system
US20150095540A1 (en) External device and a transmission system and the method of the heterogeneous device
TWI482027B (en) An external device and a transmission system and the method of the heterogeneous device
CN107783793B (en) Method for automatically identifying host operating system and USB device
CN105068962A (en) I2C controller access method and I2C controller access system
US7509439B2 (en) Method for maintaining register integrity and receive packet protection during ULPI PHY to LINK bus transactions
CN203217562U (en) External equipment and heterogeneous equipment transmission system