US6862643B2 - USB compound device operates a plurality of devices by using the same USB logic circuit and the method for implementation thereof - Google Patents
USB compound device operates a plurality of devices by using the same USB logic circuit and the method for implementation thereof Download PDFInfo
- Publication number
- US6862643B2 US6862643B2 US10/074,910 US7491002A US6862643B2 US 6862643 B2 US6862643 B2 US 6862643B2 US 7491002 A US7491002 A US 7491002A US 6862643 B2 US6862643 B2 US 6862643B2
- Authority
- US
- United States
- Prior art keywords
- usb
- endpoint
- memory
- compound device
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime, expires
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/0227—Cooperation and interconnection of the input arrangement with other functional units of a computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
Definitions
- the invention relates to a Universal Serial Bus (USB) compound device, especially regarding to a USB compound device with low production cost and unrestricted expansion, and the method for implementation thereof.
- USB Universal Serial Bus
- Communication connections utilize a diversity of methods to control the commands and the data flow directions.
- the host device sends a command that allows the slave device to proceed with communication, whereas if the peripheral device does not receive the command, it is then unauthorized to proceed with communication. Therefore, under the structure, the single host device controls the commands and the data flow directions of the entire system.
- the single host device controls the commands and the data flow directions of the entire system.
- USB Universal Serial Bus
- the serial interface is able to connect all kinds of peripherals to the computer system in a simple manner, thus solving the complication caused by connections of terminals with different standards between various peripherals and the computer.
- a USB system includes: a USB host, a USB device and USB interconnection.
- the USB host therein is responsible for controlling the timing and direction of data transmission on the USB.
- the USB device is classified into two categories, one is “hub device” that provides the USB with new connection points, and the other is “function device” that serves as the peripheral of the system, namely a mouse, a keyboard and a printer for instance.
- the actual connection of a USB system forms a tiered-star structure as shown in FIG. 1 , where the hub is the center of each tiered-star connection.
- USB host When the USB device (a hub or a function device) is connected to USB Bus, the USB host will assign a one and only address to the device, and then the USB host communicates with the USB device according to the address; in other words, each USB device has only one address.
- the USB device also includes an endpoint structure, and in the USB device, each endpoint is an independent division that acts as the data output or reception terminal during the data transmission between the USB host and the device.
- Each USB device may possess a set of endpoints adapted for various data transmission characteristics.
- the endpoints are categorized into control, bulk, interrupt, and isochronous endpoints. Except for control endpoints, which allow two-direction data transmission, the rest are further divided into input and output endpoints.
- the USB device possesses a set of endpoints, not exceeding sixteen, which are used to implement device functions, and each endpoint is assigned with a one-and-only number called “endpoint number”. Therefore, the combination of device address, endpoint number and data transmission direction (output or input) enables the endpoint to acquire a unique and specific address on USB Bus.
- the device drivers constructed in the host device of the system communicate with the USB devices via the USB function interface programs provided by the system so as to execute the device function. That is, the device driver and the function device are a one-to-one relationship. Each USB device needs to have a corresponding function program within the host for the purpose of executing the function provided by the device in the system. In order to provide the convenience of USB plug-and-play function, several function device drivers that are commonly used are already embedded in the operating system. Hence, when the device is connected to USB Bus, the system can find the embedded software and executes the function thereof without additional software installation, thus making the USB easier to use.
- USB functions are usually integrated into a USB device.
- a keyboard and a mouse are integrated into one USB device, which is called “multi-function device”.
- the multi-function device is often classified into “composite device” and “compound device”.
- the internal structure of a conventional composite device 20 is shown in FIG. 2 .
- the internal structure is the same as that of a USB device on the whole, including a USB logic 201 and a function block 202 .
- the composite device includes a plurality of endpoints 203 that represents different functions respectively.
- a USB device may possess up to sixteen endpoints maximum. Therefore, the composite device can utilize several endpoints therein to build up a function and utilize the other endpoints therein to build up another function.
- the composite device can build up a mouse function 204 by endpoints 0 and 1 , and then create a keyboard function 205 by endpoints 0 , 2 , and 3 .
- a USB device is able to possess multiple functions according to the said design.
- the composite device is considered as a USB function device by the USB host in a USB system. Consequently, the composite device is only assigned with one address by the USB host. In other words, the embedded multiple functions thereof communicate with the USB host via the same shared USB address.
- the said method is different from the common function devices, which each function possesses its own independent address, and can be recognized by the host so as to load the driver for the function. For this reason, it is possible that a composite device can not utilize the embedded standard driver, and shall use the driver designed for the composite device. Meanwhile, the driver designed for the hardware device needs to be installed before the connection so as to enable the USB host to send or receive data regarding to the specific endpoints of the composite device.
- USB device possesses up to sixteen endpoints maximum, the number of functions that can be constructed inside a composite device is limited.
- the diagrams show a conventional compound device 30 , which is another type of multi-function device.
- a compound device represents a function device with an embedded hub.
- the conventional compound device is a keyboard device in appearance.
- the interior of the keyboard compound device 30 is constructed with a keyboard function device 310 and a hub device 320 (refer to FIG. 3 b ).
- the keyboard compound device 30 is able to provide a plurality of USB connection ports 304 , 305 , and enables a plurality of USB devices 306 , 307 to connect to USB Bus.
- each device has a set of USB logic circuits 311 (or 321 ), and the function blocks 312 (or 322 ).
- each function device consequently has its own independent USB address.
- the USB host is able to load in the embedded standard drivers according to the device type thereof and eliminate the complications caused by installation of specific drivers.
- each USB logic circuit of the USB device represents the same interface, which is used to send and receive messages and proceed with signal format translation, to the USB host; while each function block represents one embedded function of the USB device, i.e., a keyboard, a mouse or a disk. Basically, all USB logic circuits of the USB devices have similar structures.
- the embedded functions of the compound device possess the advantage of being able to make use of standard drivers as a USB device, such type of devices however hold a disadvantage of having redundant circuits.
- the compound device accordingly has two sets of USB logic circuits. If one more function device is embedded in the compound device, one more set of logic is then added to the compound device.
- the embedded functions thereof may not be able to use the standard drivers; whereas for a conventional compound device, the implementation of the embedded functions thereof are as convenient as that of a USB device, however, such type of devices yet possess circuitry repetition and resource wastage as the disadvantage.
- One object of the invention is to provide a compound device, in which a plurality of function devices may connect to the USB via the same set of USB logic.
- the circuitry thereof is as simplified as in prior composite devices, and yet each function is independent in character as in prior compound devices.
- Another object of the invention is to provide a design suitable for planning, in order to let users achieve planning according to different applications and number of functions desired.
- the other object of the invention is to provide an implementation of a USB compound device, in which an embedded hub is absent, and the simulation of a hub is carried out by a circuit or firmware, so that a set of independent USB functions (devices) is able to connect to the host via a mutual upstream USB port while leaving the device function and augmentability unaffected, achieving a convenience of plug-and-play, and accomplishing the purpose of reducing cost.
- the USB compound device includes: a USB transceiver, a serial interface engine and a circuitry, wherein the circuitry, one end is connected to the serial interface engine, and the other end is connected to a plurality of non-USB interfaces, via a microprocessor or controller.
- Such circuitry is one without functions of a USB transceiver and a serial interface engine, and is utilized to store and mange a plurality of device addresses designated by a USB as well as to proceed with data transmission.
- the circuitry includes a generic endpoint state machine, an address/endpoint management mechanism and a memory module.
- the address/endpoint management mechanism is used to save a plurality of address/endpoint configurations.
- the USB compound device executes USB standard communication protocols to communicate with the USB host via the generic endpoint state machine according to the types of the endpoints stored in the address/endpoint management mechanism; while the memory module is used to temporarily store the data being transmitted.
- the plurality of address/endpoint configurations stored in the address/endpoint management mechanism include a set of address/endpoint configuration of a virtual hub, the set of address/endpoint configuration of the virtual hub is used by the circuitry when it executes the function as a hub via the USB transceiver, the serial interface engine and the microprocessor or controller.
- the circuitry also includes an endpoint variable register for storing the states of the plural endpoints, the endpoint variable register is accessed and updated by the generic endpoint state machine.
- the memory module includes a memory buffer and a memory management unit.
- the memory buffer is used for temporarily storing the data being transmitted.
- the memory management unit is used for accessing data from the memory buffer, including: a memory configuration mechanism of endpoint for storing the memory allocation data and the maximum packet sizes of the endpoints in the memory buffer; and a memory access control unit for accessing data from the memory buffer according to the endpoint numbers of signals and the memory allocation data stored in the memory configuration mechanism of endpoint.
- USB compound device further includes an application interface engine for transmitting signals and accessing data between said generic endpoint state machine, said memory access control unit, and the plural non-USB interfaces connected with said circuitry.
- the invention also provides a method for enabling a plurality of function devices to connect to a USB host with the same set of endpoint numbers and have their respective and independent USB addresses, comprising the following steps: configuring the logical endpoints and the correlation between the logical/physical endpoints of the plural function devices in sequence; storing the configurations of the physical endpoints of the plural function devices; initiating the address/endpoint configurations of the plural USB function devices and communicating with the USB host in sequence by utilizing a microprocessor or controller, and then designating the plural function devices their respective USB logical addresses by the USB host; storing the USB addresses designated by the USB host; comparing the specific address of each signal transmitted from the USB Bus with the USB logical addresses; proceeding with logical/physical endpoint translation when the comparison matches; and transmitting the signal to the function device represented by the physical endpoint.
- the invention provides a method for implementing a virtual hub, comprising the following steps: using an address/endpoint configuration as the USB address/endpoint configuration of the virtual hub; receiving signals from or transmitting signals to a USB host by using a USB transceiver; using a serial interface engine to execute the decoding, encoding and format translation of the transmitted signals, and perform cyclic redundancy check code inspection while transmitting/receiving data; using a microprocessor or controller to communicate with the USB host in the function of a hub via software or firmware, and getting a USB address of said virtual hub from the USB host; when the address of the transmitted signal directs to said virtual hub, responding to the USB host with the microprocessor or controller according to the content of the transmitted signal; and managing other USB function devices or reporting the configurations thereof back to the USB host with the microprocessor or controller via software or firmware so as to maintain the USB tiered-star topology.
- FIG. 1 is a schematic diagram showing the connection of a USB system.
- FIG. 2 is a schematic diagram of a prior USB composite device.
- FIG. 3 a is a schematic diagram showing the external structure of a prior keyboard compound device.
- FIG. 3 b is a schematic diagram showing the internal structure of a prior keyboard compound device.
- FIG. 4 is a schematic diagram showing the internal structure of the USB compound device in the first embodiment of the present invention.
- FIG. 5 is a schematic diagram showing the internal structure of the USB compound device in the second embodiment of the present invention.
- FIG. 6 is a schematic diagram showing the internal structure of the USB compound device in the third embodiment of the present invention.
- the compound device 40 of the first embodiment of the invention includes a USB Logic Module 400 and an Application Function Module 500 .
- the USB logic module 400 in the compound device 40 of the invention is designed by using the centralization of resource management, in which a plurality of sets of USB logic originally constructed in one USB compound device are integrated into one single USB logic module. Therefore, a plurality of function blocks may connect to USB Bus via the same set of USB logic circuit.
- the hardware wastage caused by the conventional USB compound devices and the disadvantage possessed by the conventional USB composite devices of being unable to use the standard drivers are solved.
- the USB logic module 400 in the compound device 40 of the invention can be divided into five blocks according to their functions: a USB Physical Layer Block 410 , a USB Link layer Block 420 , a Memory Management Unit 430 , a Memory Buffer Block 440 , and a Application Interface Engine 450 .
- the physical layer block 410 of the USB logic module 400 is the connection point where the compound device 40 physically connects to USB Bus. It includes a USB Transceiver 411 and a Serial Interface Engine (SIE) 412 .
- SIE Serial Interface Engine
- the link layer block 420 of the USB logic module 400 is used to execute USB standard communication protocols, and includes a Generic Endpoint State Machine 421 , an Endpoint Variable Register 422 , an Address/Endpoint Configuration Mechanism 423 , and an Endpoint Configuration Mechanism 424 .
- the memory management unit 430 is responsible for storing data into the memory buffer 440 according to the signals received from the USB link layer block 420 and the application interface engine 450 , or reading data from the memory buffer 440 .
- the memory management unit 430 includes a Memory Configuration Mechanism of Endpoint 431 and a Memory Access Control Unit 432 .
- the application interface engine 450 is in charge of the communication with the link layer block 420 , the memory management unit 430 , and the application function module 500 , and is used to inform the application function module 500 about the state on USB Bus through events or interrupt.
- the application function module 500 then transmits data with the application interface engine 450 based on the type of the event, so as to implement specific function.
- the application interface engine 450 includes an Event Control Module 451 , a Control Interface Module 452 , and a Generic Data Path Module 453 .
- the application function module 500 it is consisted of a Microprocessor 510 and a PS/2 Interface 521 , a Serial Port Interface 522 and an IDE Interface 523 .
- a micro controller may also implement the function of the microprocessor.
- the internal structure of the compound device 40 in the embodiment is described in substance as above. The operation and the functions of the internal structure of the device are then illustrated in detail taking FIG. 4 as reference.
- the microprocessor 510 assigns a set of address/endpoint configuration, which includes a predetermined address/endpoint, to the keyboard device, the mouse device and the hard disk device in sequence according the configurations predetermined in the address/endpoint configuration mechanism 423 of the link layer block 420 .
- the microprocessor 510 also assigns a set of address/endpoint configuration “ 1 ”, including the predetermined address 1 and logical endpoints 0 and 1 , to the virtual hub.
- the virtual hub function as used in the compound device of the invention is to be explained in the following.
- the microprocessor 510 defines buffer block in the memory buffer 440 for each of the endpoints of the devices via the control interface module 452 in the application interface engine 450 .
- the buffer blocks are used as data register blocks of the endpoints in the transmission process.
- each endpoint's configuration data in the memory buffer 440 is stored in the memory configuration mechanism of endpoint 431 .
- the memory configuration mechanism of endpoint 431 is also used to register the endpoints' data status in their data register blocks.
- microprocessor 510 connects to the generic endpoint state machine 421 in the link layer block 420 via the control interface module 452 .
- the microprocessor 510 stores the configurations of each endpoint, such as endpoint types or maximum packet sizes, into the endpoint configuration mechanism 424 in the link layer block 420 via the generic endpoint state machine 421 .
- the USB host can detect that a new device is attached to the Bus and sends a series of USB commands to the compound device to recognize and configure the device.
- the transceiver 411 in the physical layer block 410 converts the signal received from USB Bus into digital signal of logic level, and then transmits the signal to the serial interface engine 412 .
- the transceiver 411 is also able to convert the digital signal received from the serial interface engine 412 into USB standard signal, so as to send the signal to USB Bus.
- the main functions of the serial interface engine 412 are as following: in receiving mode, it is responsible for decoding the transmitting signals, converting the USB serial data flow into parallel data flow, performing the cyclic redundancy check code inspection of data to determine the exactitude of data, and changing the signals received from USB Bus into logical packets, which is then transmitted to the generic endpoint state machine 421 in the USB link layer block 420 ; while in transmission mode, the serial interface engine 412 is in charge of receiving data from the link layer block 420 , converting USB parallel data flow into serial data flow, which is then coded, calculating the cyclic redundancy check code inspection and producing synchronous signals, which are changed into USB signals via the USB transceiver 411 and transmitted to the USB host.
- the generic endpoint state machine 421 in the link layer block 42 When the generic endpoint state machine 421 in the link layer block 42 receives the USB command from the USB host, it sends the signal to the event control module 451 in the application interface engine 450 , which again sends the signal to the microprocessor 510 .
- the microprocessor sends back the predetermined endpoint of the virtual hub and the configuration thereof to the USB host, so that the USB host considers the compound device 40 as a USB hub device, and assigns a USB address to the virtual hub. Then the USB address assigned by the USB host is added to the predetermined address “ 1 ” of the virtual hub, and is stored together with the corresponding logical endpoint in the address/endpoint configuration mechanism 423 .
- the main functions of the address/endpoint configuration mechanism 423 are to store the address with the corresponding endpoint of every function device connected to the compound device, and one set of address and the corresponding endpoints of the virtual hub.
- the front identification information of each package of data transmitted is the address and endpoint number of the target device and the transmitting token used to define the transmission type. Therefore, when the physical layer block 410 in the compound device 40 receives the message from USB Bus, the generic endpoint state machine 421 in the link layer block 420 compares the address/endpoint data stored in the address/endpoint configuration mechanism 423 with the identification information of the data transmitted, to determine whether the target device of the data packet is one of the multiple functions connected to the compound device 40 .
- the device when the compound device 40 is connected to USB Bus, the device first procures an address of the virtual hub assigned by the USB host. Then the USB host periodically inquires for the state of the virtual hub in a polling manner. Because the address/endpoint of the virtual hub is already stored in the address/endpoint configuration mechanism 423 , the front-end address/endpoint information of the message that the USB host sends to the hub, an inquiry command for example, can be recognized by the generic endpoint state machine 421 . When the front-end information sent is confirmed to be the same with the address/endpoint included in the address/endpoint “ 1 ”, that is, the same with the address/endpoint of the virtual hub, this message is sent to the microprocessor 510 by the event control module 451 .
- the microprocessor 510 When the microprocessor 510 receives the event corresponding to the address/endpoint configuration “ 1 ”, it recognizes that the data packet belongs to the virtual hub and makes a response according to the content of the message.
- a circuitry designed exclusively for the USB hub is absent, and thus all the functions related to the hub are simulated and executed by the microprocessor 510 via software or firmware.
- the microprocessor 510 acts as a hub and continually reports back to the USB host on the augmentation of new functions through the control interface module 452 , the generic endpoint state machine 421 , the serial interface engine 412 and the USB transceiver 411 .
- the keyboard, mouse and hard disk functions are added into the USB system after being identified and assigned with a USB address by the USB host.
- the function devices i.e., keyboard, mouse and hard disk
- each of the keyboard, mouse, and hard disk functions has its own independent USB address, and in the meanwhile, the address with the corresponding endpoints of each function are stored in the address/endpoint configuration mechanism 423 .
- the endpoint variable register 422 is utilized to store the states of various endpoints, which are then accessed and updated by the generic endpoint state machine 421 .
- the microprocessor 510 reads the latest states of various devices from the endpoint variable register 422 via the generic endpoint state machine 421 , so as to respond to the USB host. Therefore, the USB host regards the compound device 40 as a USB hub device in connection with a keyboard device, a mouse device, and a hardware device. That is, the compound device 40 still maintains the tiered-star structure of USB standard.
- the above description is related to the interface initiation carried out when the compound device 40 in the embodiment is connected to USB Bus and the method that the compound device 40 simulates a hub.
- the interactions between the link layer block 420 and the memory management unit 430 , the memory buffer 440 and the application interface engine 450 , and the functions of individual blocks, are illustrated in detail by using the data transmission process.
- the generic endpoint state machine 421 primarily uses the address/endpoint stored in the address/endpoint configuration mechanism 423 to compare with the identification information of the front-end of the data, and notifies the physical layer block 410 of the outcome.
- the generic endpoint state machine 421 fetches the endpoint configuration of the endpoint number from the endpoint configuration mechanism 424 , reads the former state of the endpoint from the endpoint variable register 422 , and then communicates with the USB host and transmits data according to the endpoint type, interrupt, bulk, isochronous and control for instance, via the physical layer block 410 .
- the generic endpoint state machine 421 also informs the memory management unit 430 and the application interface engine 450 about the address/endpoint configuration number and the endpoint number.
- the memory management unit 430 includes the Memory Configuration Mechanism of Endpoint 431 , and the Memory Access Control Unit 432 .
- the memory configuration mechanism of endpoint 431 is used to store the distributed buffer block of individual endpoint and the data status thereof in the Memory Buffer 440 .
- the memory access control unit 432 receives the impulse signals, address/endpoint configuration number and the endpoint number thereof from the generic endpoint state machine 421 , it loads the configuration and the variables of the endpoint, and then fetches the current data status of the endpoint from the memory butter configuration mechanism of endpoint 431 , and reports to the generic endpoint state machine 421 , which then determines how to communicate with the USB host.
- the memory access control unit 431 reads the data from the memory buffer block 440 and uploads the data to the USB host via the generic endpoint state machine 421 ; if the data can be downloaded, the generic endpoint state machine 421 sends the data to the memory access control unit 432 , the data is then stored into the corresponding buffer block of the endpoint in the memory buffer block 440 . Furthermore, the memory management unit 432 simultaneously notifies the event control module 451 in the application interface engine 450 about the data status of the data in the buffer block.
- the application interface engine 450 includes the Event Control Module 451 , the Control Interface Module 452 , and the Generic Data Path Module 453 .
- the event control module 451 therein is used to receive events from the generic endpoint state machine 421 and the memory access control unit 432 . It then informs the microprocessor 510 in the application function module 500 after the events are encoded. The microprocessor 510 can make a response according to the address/endpoint configuration number, the event type, the USB command, and the data received or the data request.
- the control interface module provides three main functions, one of which is to allocate the various above-mentioned configurations, the address/endpoint configuration number, endpoint type and buffer block for example, during the interface initiation of the multiple functions of the application function module 500 ; another function is to facilitate the communication of the microprocessor 510 with the USB host by directing the USB link layer block 42 to take necessary actions, or to read the states of various endpoints to decide the required responses; the other function is that the microprocessor 510 can transmit data with the memory management unit 430 via this module, for example, reading USB command parameters, decoding command types or filling in data demanded by the USB host.
- the generic data path module 453 is used to enable the plurality of functions of the application function module 500 to do mass data access. For certain executions of functions, such as reading data from hard disk, or transmitting data, the module enables the functions to directly read or store the data in the memory buffer block via the memory management unit 430 , without the interference of the microprocessor 510 , and thus optimizing the transmission efficiency.
- the generic endpoint state machine 421 informs the memory management unit 430 and the application interface engine 450 about the address/endpoint configuration number and the endpoint number.
- the memory management unit 430 it is the memory access control unit 432 responsible for receiving the message sent by the generic endpoint state machine 421 .
- the memory access control unit 432 fetches the configuration of the endpoint in the memory buffer block 440 from the buffer configuration mechanism of endpoint 431 , in order to store the data sent subsequently sent by the generic endpoint state machine 421 into the buffer block corresponding to the endpoint.
- the event control module 451 In the application interface engine 450 , it is the event control module 451 to receive the message sent by the generic endpoint state machine 421 . The event control module 451 then transmits the message inclusive of the address/endpoint configuration number to the microprocessor 510 . The microprocessor 510 eventually recognizes the function represented by the address/endpoint configuration number. In case of the corresponding function of the address/endpoint configuration number is the hard disk device, the microprocessor 510 can communicate with the memory access control unit 432 via the control interface module 452 , and then read data from the memory buffer block 440 and send it back to the hard disk device.
- function devices the hard disk device for example, may utilize the generic data path module 453 to directly communicate with the memory access control unit 432 , and directly access mass data from the memory buffer block 440 .
- the design of the generic data path module 453 may effectively enhance the transmission efficiency.
- the compound device is able to simulate the function of a USB hub by its internal integrated circuit and enables the plurality of function devices connected to it to possess their independent USB addresses. Therefore the USB host regards the compound device as a combination of a USB hub connected with a plurality of function devices. As a result, each function device connected to the compound device in the embodiment is able employ the standard drivers embedded in the system, and thus achieving the plug-and-play function.
- the USB logic circuit of the compound device in the embodiment is designed by using the centralization of resource management, in which a plurality of sets of USB logic originally made within one USB compound device is integrated into one single USB logic module, so that the plurality of function blocks may connect to USB Bus via the same set of USB logic circuit.
- the design settles the disadvantage of the repetition of circuits in prior compound devices, and significantly reduces the production cost thereof at the same time.
- FIG. 5 it shows the schematic diagram of the USB compound device in the second embodiment of the invention.
- the compound 50 comprises a USB logic module 600 and an application function module 700 .
- the USB logic module 600 of the compound device in the embodiment is similar to the structure of that in the first embodiment, both having the physical layer block 610 , the link layer block 620 , the memory management 630 , the memory buffer 640 and the application interface engine 650 .
- the physical layer block therein includes a USB transceiver 611 and a serial interface engine 612 , and its function is entirely the same as in the first embodiment, and therefore is not copiously described further.
- the link layer block 620 of the embodiment is slightly different from that of the first embodiment.
- the link layer block 620 includes a logical/physical endpoint translation module 624 and a physical endpoint configuration mechanism 625 , apart from a generic endpoint state machine 621 , an endpoint variable register 622 and an address/endpoint configuration mechanism 623 .
- the memory management unit 630 of the embodiment besides the memory access control unit 632 , a memory configuration mechanism of physical endpoint 631 is used to replace the memory configuration mechanism of endpoint 431 of the first embodiment.
- the application function module 700 of the embodiment includes 7 interfaces altogether: a PS/2 interface 721 , a floppy interface 722 , two hard disk interfaces 723 and 724 , two serial port interfaces 725 and 726 , and a parallel port interface 727 .
- the type and number of the function devices connected to the compound device in the present embodiment of the invention are not restricted by the immobile allocation relationship between address and endpoints as in the first embodiment, in which only limited number of specific function devices may be connected to the compound device.
- the microprocessor 510 utilizes the address/endpoint configurations of the function devices, including the address and endpoint numbers, to identify each function and allocate the buffer blocks.
- the configurations assigned to various function devices for example, the address/endpoint configuration “ 2 ” including a predetermined address 2 and fixed logical endpoints 1 , 2 , and 3 , restricts the type of function devices to which it may be connected. Therefore, in the first embodiment, the type and number of function devices to which the application function module may be connected are consequently restricted.
- the second embodiment of the invention provides a method to enable the compound device 50 not only to possess the integrated USB logic circuit as in the first embodiment and the advantage of USB “plug-and-play” function, but also to overcome the restriction on the type and number of the connected function devices. The characteristics of the second embodiment are described hereinafter.
- the microprocessor 710 constructed in the application function module 700 allocates a set of physical endpoint numbers to each of the function devices, which connected to the seven interfaces, according to their respective requirements. For example, it allocates the physical endpoint numbers “ 0 ” and “ 1 ” to the mouse device, which is connected to the PS/2 interface 721 , and the physical endpoint numbers are corresponding to the logical endpoint numbers “ 0 ” and “ 1 ” of the mouse device; it allocates the physical endpoint numbers “ 2 ”, “ 3 ”, and “ 4 ” to the floppy device, which is connected to the floppy interface 722 , and the physical endpoint numbers are corresponding to the logical endpoints “ 0 ”, and “ 2 ” of the floppy device; and it allocates the physical endpoint numbers “ 5 ”, “ 6 ”, and “ 7 ” to the hard disk device, which is connected to hard disk interface 723 , and the physical endpoint numbers are corresponding to the logical endpoints “ 0 ”, “ 1 ”, and
- the microprocessor 710 also allocates a set of physical endpoint numbers to the virtual hub so that the compound device 50 may use them during the hub simulation process.
- the microprocessor 710 stores the physical endpoint configurations of each function device, such as the endpoint type and the maximum packet size, into the physical endpoint configuration mechanism 625 in the link layer block 620 via the control interface module 652 and the generic endpoint state machine 621 .
- the corresponding method of physical endpoints and logical endpoints described above allows various addresses, or function devices, to be arbitrarily allocated the endpoint types and numbers according to the characteristics of the function devices. Therefore, the application range of the compound device 50 in the second embodiment is broadened.
- the “physical endpoint number” is the identification information used by the microprocessor 710 to identify various function devices, and is not the address/endpoint configuration inclusive of the address and the endpoint number regarded as the identification information of various function devices as in the first embodiment.
- the microprocessor 710 via the control interface module 652 in the application interface engine 650 , defines buffer blocks for the physical endpoints in the memory buffer 640 according to the physical endpoint numbers of the function devices. When this process is complete, it then stores the configuration data of various physical endpoints in the memory buffer 640 into the memory configuration mechanism of physical endpoint 631 .
- the USB host detects a new device being connected to the Bus, and sends a series of USB commands to identify and configure the device simultaneously.
- the physical layer block 610 sends the message to the generic endpoint state machine 621 in the link layer block 620 , and then the generic endpoint state machine 621 sends the message to the event control module 651 , which sends the message further to the microprocessor 710 .
- the microprocessor 710 defines a set of physical endpoint numbers as the logical endpoint of a virtual hub, and sends the logical endpoint and the configurations of the virtual hub back to the USB host.
- the USB host considers the compound device 50 as a hub device, and designates a USB address to the virtual hub. Then, the USB address of the virtual hub, and correspondence of the logical endpoint and the physical endpoint thereof, are stored together in the address/endpoint configuration mechanism 623 .
- the endpoint variable register 622 is used to store the states of various physical endpoints, which are then accessed and updated by the generic endpoint state machine 621 .
- the logical/physical translation module 624 it is used to proceed with the translation of logical/physical endpoint, so as to facilitate the microprocessor 710 to identity of function device represented by the physical endpoint number.
- the USB host periodically inquires the state of the virtual hub in a polling manner. For the reason that the logical address/endpoint is already stored in the address/endpoint configuration mechanism 623 , the front-end logical address/endpoint information of the message sent by the USB host to the virtual hub, a inquiry command for instance, is identified by the generic endpoint state machine 621 .
- the logical/physical translation module 624 translates the logical endpoint to its physical endpoint.
- the generic endpoint state machine 621 via the event control module 651 , informs the microprocessor 710 about the physical endpoint.
- the microprocessor 710 communicates with the USB host in a role of a hub, and reports on the new connected devices to the USB host in sequence. According to the message, the USB host initiates the enumeration of the function devices and designates a USB address to each function device after the enumeration. Then, the USB address and the correlation between the logical endpoint and the physical endpoint thereof are stored in the address/endpoint configuration mechanism 623 .
- the microprocessor 710 responds to the inquiry of the USB host by corresponding the physical endpoint numbers 2 , 3 , and 4 to the logical endpoints 0 , 1 , and 2 of a floppy device, to acquire a USB address; and then the similarly responds to the inquiry of the USB host by corresponding the physical endpoint numbers 5 , 6 , and 7 to the logical endpoint numbers 0 , 1 , and 2 of a hardware device, to acquire a USB address.
- the microprocessor 710 Owing to the USB address and the correspondence between its logical endpoint and physical endpoint of each function device are stored in the address/endpoint configuration mechanism 623 , the microprocessor 710 is still able to accurately identify the exact function device represented by the each address/endpoint according to the USB address and the correlation between the logical endpoint and the physical endpoint thereof though the plurality of function devices connected to the compound device in the embodiment use the same logical endpoint numbers.
- the configuration and translation of logical/physical endpoints proposed by the embodiment enables the compound device to augment the type and number of the function devices unrestrictedly according to the requirement of the user.
- the USB compound device in the embodiment not only has the advantages of the compound device in the first embodiment, but is also provided with an augmentability character, which makes the usage of the USB compound device more extensive and convenient.
- FIG. 6 it shows the schematic diagram of the USB compound device in the third embodiment of the invention. It is observed in the figure that the main internal structure of the USB compound device 60 of the embodiment is the same as that of the second embodiment. The difference between the two is that the USB compound device 60 in the embodiment additionally comprises a repeater 920 and a set of connection/remove detecting circuit 930 . The repeater 920 and the connection/remove detecting circuit are illustrated thereinunder with the aid of FIG. 6 .
- the USB compound device in the embodiment is also provided with a set of connection/removal detecting circuit 930 , which is connected to the downstream port 62 and is employed to detect the connections or removals of external USB devices.
- the USB compound device 60 in the embodiment as well as the compound devices 40 and 50 in the first and second embodiments all have another set of connection/removal detecting circuit, which connects to respective upstream ports 41 , 51 , and 61 , and is used by a USB host or hub to detect connections or removals of devices.
- the circuit is not drawn in the figure for simplification.
- connection/removal detecting circuit 930 detects the change in electric potential or current, and notifies the microprocessor 910 .
- the microprocessor 910 of USB compound device 60 is able to simulate actions of a USB hub as in the first and second embodiments. It informs the USB host about the message via the USB logic 800 to make the USB device connect to the Bus.
- USB compound device 60 As a result, a plurality of downstream ports, which are able to connect to external USB devices, may be added to the USB compound device 60 in the embodiment. Therefore, a plurality of USB devices are able to connect to the USB Bus via the USB compound device in the embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Systems (AREA)
Abstract
A Universal Serial Bus (USB) compound device and the method for implementation thereof are disclosed. The USB compound device does not include an embedded hub but simulates a hub by a circuit or firmware. Therefore, a set of independent function devices are able to connect to a USB bus via the same set of USB logic, and the production cost can be reduced without affecting the function of the device and the facility of expansion and plug-and-play function.
Description
1. Field of the Invention
The invention relates to a Universal Serial Bus (USB) compound device, especially regarding to a USB compound device with low production cost and unrestricted expansion, and the method for implementation thereof.
2. Description of the Related Art
Various types of communication connections and communication protocols are utilized in the connection of various devices, so that each device is able to communicate with one another. Communication connections utilize a diversity of methods to control the commands and the data flow directions. For example, in one type of communication connection, it requires a host device and a slave device. Under this system structure, the host device sends a command that allows the slave device to proceed with communication, whereas if the peripheral device does not receive the command, it is then unauthorized to proceed with communication. Therefore, under the structure, the single host device controls the commands and the data flow directions of the entire system. As for another type of system structure, there is no distinction for host and slave devices and each device of the system is able to send commands and data to one another.
During the past few years, a special interface system standard called “Universal Serial Bus” (USB) is established for communication connection. The serial interface is able to connect all kinds of peripherals to the computer system in a simple manner, thus solving the complication caused by connections of terminals with different standards between various peripherals and the computer. A USB system includes: a USB host, a USB device and USB interconnection. The USB host therein is responsible for controlling the timing and direction of data transmission on the USB. The USB device is classified into two categories, one is “hub device” that provides the USB with new connection points, and the other is “function device” that serves as the peripheral of the system, namely a mouse, a keyboard and a printer for instance. The actual connection of a USB system forms a tiered-star structure as shown in FIG. 1 , where the hub is the center of each tiered-star connection.
When the USB device (a hub or a function device) is connected to USB Bus, the USB host will assign a one and only address to the device, and then the USB host communicates with the USB device according to the address; in other words, each USB device has only one address.
The USB device also includes an endpoint structure, and in the USB device, each endpoint is an independent division that acts as the data output or reception terminal during the data transmission between the USB host and the device. Each USB device may possess a set of endpoints adapted for various data transmission characteristics. The endpoints are categorized into control, bulk, interrupt, and isochronous endpoints. Except for control endpoints, which allow two-direction data transmission, the rest are further divided into input and output endpoints.
The USB device possesses a set of endpoints, not exceeding sixteen, which are used to implement device functions, and each endpoint is assigned with a one-and-only number called “endpoint number”. Therefore, the combination of device address, endpoint number and data transmission direction (output or input) enables the endpoint to acquire a unique and specific address on USB Bus.
The device drivers constructed in the host device of the system communicate with the USB devices via the USB function interface programs provided by the system so as to execute the device function. That is, the device driver and the function device are a one-to-one relationship. Each USB device needs to have a corresponding function program within the host for the purpose of executing the function provided by the device in the system. In order to provide the convenience of USB plug-and-play function, several function device drivers that are commonly used are already embedded in the operating system. Hence, when the device is connected to USB Bus, the system can find the embedded software and executes the function thereof without additional software installation, thus making the USB easier to use.
Based on practicability and production cost considerations, several USB functions are usually integrated into a USB device. For example, a keyboard and a mouse are integrated into one USB device, which is called “multi-function device”. The multi-function device is often classified into “composite device” and “compound device”.
The internal structure of a conventional composite device 20 is shown in FIG. 2. The internal structure is the same as that of a USB device on the whole, including a USB logic 201 and a function block 202. The difference between the two is that the composite device includes a plurality of endpoints 203 that represents different functions respectively. According to USB standard, a USB device may possess up to sixteen endpoints maximum. Therefore, the composite device can utilize several endpoints therein to build up a function and utilize the other endpoints therein to build up another function. For example, the composite device can build up a mouse function 204 by endpoints 0 and 1, and then create a keyboard function 205 by endpoints 0, 2, and 3. Hence, a USB device is able to possess multiple functions according to the said design.
However, the disadvantage of the above is that the composite device is considered as a USB function device by the USB host in a USB system. Consequently, the composite device is only assigned with one address by the USB host. In other words, the embedded multiple functions thereof communicate with the USB host via the same shared USB address. The said method is different from the common function devices, which each function possesses its own independent address, and can be recognized by the host so as to load the driver for the function. For this reason, it is possible that a composite device can not utilize the embedded standard driver, and shall use the driver designed for the composite device. Meanwhile, the driver designed for the hardware device needs to be installed before the connection so as to enable the USB host to send or receive data regarding to the specific endpoints of the composite device.
Furthermore, for the reason that a USB device possesses up to sixteen endpoints maximum, the number of functions that can be constructed inside a composite device is limited.
Referring to FIGS. 3 a and 3 b, the diagrams show a conventional compound device 30, which is another type of multi-function device. A compound device represents a function device with an embedded hub. As shown in FIG. 3 a, the conventional compound device is a keyboard device in appearance. However, the interior of the keyboard compound device 30 is constructed with a keyboard function device 310 and a hub device 320 (refer to FIG. 3 b). Hence, the keyboard compound device 30 is able to provide a plurality of USB connection ports 304, 305, and enables a plurality of USB devices 306, 307 to connect to USB Bus.
In the conventional compound device, although the circuits of the keyboard function device 310 and the hub device 320 can be integrated on a single chip to reduce the production cost, the said two devices are represented as independent USB devices and each includes a set of basic circuit of the USB device. That is to say, each device has a set of USB logic circuits 311 (or 321), and the function blocks 312 (or 322). On account of each function device in the compound device being an independent USB device, each function device consequently has its own independent USB address. Meanwhile, the USB host is able to load in the embedded standard drivers according to the device type thereof and eliminate the complications caused by installation of specific drivers.
However, each USB logic circuit of the USB device represents the same interface, which is used to send and receive messages and proceed with signal format translation, to the USB host; while each function block represents one embedded function of the USB device, i.e., a keyboard, a mouse or a disk. Basically, all USB logic circuits of the USB devices have similar structures.
Hence, although the embedded functions of the compound device possess the advantage of being able to make use of standard drivers as a USB device, such type of devices however hold a disadvantage of having redundant circuits. Referring to FIG. 3 b, the compound device accordingly has two sets of USB logic circuits. If one more function device is embedded in the compound device, one more set of logic is then added to the compound device.
As a conclusion from the above, in spite of the simplified circuitry as an advantage for a conventional composite device, the embedded functions thereof may not be able to use the standard drivers; whereas for a conventional compound device, the implementation of the embedded functions thereof are as convenient as that of a USB device, however, such type of devices yet possess circuitry repetition and resource wastage as the disadvantage.
One object of the invention is to provide a compound device, in which a plurality of function devices may connect to the USB via the same set of USB logic. The circuitry thereof is as simplified as in prior composite devices, and yet each function is independent in character as in prior compound devices.
Another object of the invention is to provide a design suitable for planning, in order to let users achieve planning according to different applications and number of functions desired.
The other object of the invention is to provide an implementation of a USB compound device, in which an embedded hub is absent, and the simulation of a hub is carried out by a circuit or firmware, so that a set of independent USB functions (devices) is able to connect to the host via a mutual upstream USB port while leaving the device function and augmentability unaffected, achieving a convenience of plug-and-play, and accomplishing the purpose of reducing cost.
According to the invention, the USB compound device includes: a USB transceiver, a serial interface engine and a circuitry, wherein the circuitry, one end is connected to the serial interface engine, and the other end is connected to a plurality of non-USB interfaces, via a microprocessor or controller. Such circuitry is one without functions of a USB transceiver and a serial interface engine, and is utilized to store and mange a plurality of device addresses designated by a USB as well as to proceed with data transmission.
The circuitry includes a generic endpoint state machine, an address/endpoint management mechanism and a memory module. The address/endpoint management mechanism is used to save a plurality of address/endpoint configurations. In the invention, the USB compound device executes USB standard communication protocols to communicate with the USB host via the generic endpoint state machine according to the types of the endpoints stored in the address/endpoint management mechanism; while the memory module is used to temporarily store the data being transmitted.
In addition, the plurality of address/endpoint configurations stored in the address/endpoint management mechanism include a set of address/endpoint configuration of a virtual hub, the set of address/endpoint configuration of the virtual hub is used by the circuitry when it executes the function as a hub via the USB transceiver, the serial interface engine and the microprocessor or controller.
In the meanwhile, the circuitry also includes an endpoint variable register for storing the states of the plural endpoints, the endpoint variable register is accessed and updated by the generic endpoint state machine.
The memory module includes a memory buffer and a memory management unit. The memory buffer is used for temporarily storing the data being transmitted. The memory management unit is used for accessing data from the memory buffer, including: a memory configuration mechanism of endpoint for storing the memory allocation data and the maximum packet sizes of the endpoints in the memory buffer; and a memory access control unit for accessing data from the memory buffer according to the endpoint numbers of signals and the memory allocation data stored in the memory configuration mechanism of endpoint.
Furthermore, the USB compound device further includes an application interface engine for transmitting signals and accessing data between said generic endpoint state machine, said memory access control unit, and the plural non-USB interfaces connected with said circuitry.
Based on the present invention, the invention also provides a method for enabling a plurality of function devices to connect to a USB host with the same set of endpoint numbers and have their respective and independent USB addresses, comprising the following steps: configuring the logical endpoints and the correlation between the logical/physical endpoints of the plural function devices in sequence; storing the configurations of the physical endpoints of the plural function devices; initiating the address/endpoint configurations of the plural USB function devices and communicating with the USB host in sequence by utilizing a microprocessor or controller, and then designating the plural function devices their respective USB logical addresses by the USB host; storing the USB addresses designated by the USB host; comparing the specific address of each signal transmitted from the USB Bus with the USB logical addresses; proceeding with logical/physical endpoint translation when the comparison matches; and transmitting the signal to the function device represented by the physical endpoint.
Apart from the above, grounded on the invention, the invention provides a method for implementing a virtual hub, comprising the following steps: using an address/endpoint configuration as the USB address/endpoint configuration of the virtual hub; receiving signals from or transmitting signals to a USB host by using a USB transceiver; using a serial interface engine to execute the decoding, encoding and format translation of the transmitted signals, and perform cyclic redundancy check code inspection while transmitting/receiving data; using a microprocessor or controller to communicate with the USB host in the function of a hub via software or firmware, and getting a USB address of said virtual hub from the USB host; when the address of the transmitted signal directs to said virtual hub, responding to the USB host with the microprocessor or controller according to the content of the transmitted signal; and managing other USB function devices or reporting the configurations thereof back to the USB host with the microprocessor or controller via software or firmware so as to maintain the USB tiered-star topology.
Referring to FIG. 4 , it is a schematic diagram showing the first embodiment of the USB compound device of the invention. The compound device 40 of the first embodiment of the invention includes a USB Logic Module 400 and an Application Function Module 500. The USB logic module 400 in the compound device 40 of the invention is designed by using the centralization of resource management, in which a plurality of sets of USB logic originally constructed in one USB compound device are integrated into one single USB logic module. Therefore, a plurality of function blocks may connect to USB Bus via the same set of USB logic circuit. The hardware wastage caused by the conventional USB compound devices and the disadvantage possessed by the conventional USB composite devices of being unable to use the standard drivers are solved.
In the first embodiment, the USB logic module 400 in the compound device 40 of the invention can be divided into five blocks according to their functions: a USB Physical Layer Block 410, a USB Link layer Block 420, a Memory Management Unit 430, a Memory Buffer Block 440, and a Application Interface Engine 450.
The physical layer block 410 of the USB logic module 400 is the connection point where the compound device 40 physically connects to USB Bus. It includes a USB Transceiver 411 and a Serial Interface Engine (SIE) 412.
The link layer block 420 of the USB logic module 400 is used to execute USB standard communication protocols, and includes a Generic Endpoint State Machine 421, an Endpoint Variable Register 422, an Address/Endpoint Configuration Mechanism 423, and an Endpoint Configuration Mechanism 424.
The memory management unit 430 is responsible for storing data into the memory buffer 440 according to the signals received from the USB link layer block 420 and the application interface engine 450, or reading data from the memory buffer 440. The memory management unit 430 includes a Memory Configuration Mechanism of Endpoint 431 and a Memory Access Control Unit 432.
The application interface engine 450 is in charge of the communication with the link layer block 420, the memory management unit 430, and the application function module 500, and is used to inform the application function module 500 about the state on USB Bus through events or interrupt. The application function module 500 then transmits data with the application interface engine 450 based on the type of the event, so as to implement specific function. The application interface engine 450 includes an Event Control Module 451, a Control Interface Module 452, and a Generic Data Path Module 453.
As for the application function module 500, it is consisted of a Microprocessor 510 and a PS/2 Interface 521, a Serial Port Interface 522 and an IDE Interface 523. In the compound device of the invention, a micro controller may also implement the function of the microprocessor.
The internal structure of the compound device 40 in the embodiment is described in substance as above. The operation and the functions of the internal structure of the device are then illustrated in detail taking FIG. 4 as reference.
First of all, regarding to the application function module 500, if a keyboard device is connected to the PS/2 interface 521, a mouse device is connected to the serial port interface 522, and a hard disk device is connected to the IDE interface 523, the microprocessor 510 then assigns a set of address/endpoint configuration, which includes a predetermined address/endpoint, to the keyboard device, the mouse device and the hard disk device in sequence according the configurations predetermined in the address/endpoint configuration mechanism 423 of the link layer block 420. For example, assigns a set of address/endpoint configuration “2”, including the predetermined address 2 and logical endpoints 0, 1, and 2, to the keyboard device; assigns a set of address/endpoint “3”, including the predetermined address 3 and logical endpoints 0 and 1, to the mouse device; and then assigns a set of address/endpoint configuration “4”, including the predetermined address 4 and logical endpoints 0, 1, and 2, to the hard disk device. In addition, for the reason that the compound device 40 of the invention possesses “virtual hub” function, the microprocessor 510 also assigns a set of address/endpoint configuration “1”, including the predetermined address 1 and logical endpoints 0 and 1, to the virtual hub. The virtual hub function as used in the compound device of the invention is to be explained in the following.
Then, the microprocessor 510 defines buffer block in the memory buffer 440 for each of the endpoints of the devices via the control interface module 452 in the application interface engine 450. The buffer blocks are used as data register blocks of the endpoints in the transmission process. In the meantime, each endpoint's configuration data in the memory buffer 440 is stored in the memory configuration mechanism of endpoint 431. The memory configuration mechanism of endpoint 431 is also used to register the endpoints' data status in their data register blocks.
Further, the microprocessor 510 connects to the generic endpoint state machine 421 in the link layer block 420 via the control interface module 452. The microprocessor 510 stores the configurations of each endpoint, such as endpoint types or maximum packet sizes, into the endpoint configuration mechanism 424 in the link layer block 420 via the generic endpoint state machine 421.
When the compound device is attached to USB Bus, the USB host can detect that a new device is attached to the Bus and sends a series of USB commands to the compound device to recognize and configure the device. At this point, the transceiver 411 in the physical layer block 410 converts the signal received from USB Bus into digital signal of logic level, and then transmits the signal to the serial interface engine 412. The transceiver 411 is also able to convert the digital signal received from the serial interface engine 412 into USB standard signal, so as to send the signal to USB Bus.
The main functions of the serial interface engine 412 are as following: in receiving mode, it is responsible for decoding the transmitting signals, converting the USB serial data flow into parallel data flow, performing the cyclic redundancy check code inspection of data to determine the exactitude of data, and changing the signals received from USB Bus into logical packets, which is then transmitted to the generic endpoint state machine 421 in the USB link layer block 420; while in transmission mode, the serial interface engine 412 is in charge of receiving data from the link layer block 420, converting USB parallel data flow into serial data flow, which is then coded, calculating the cyclic redundancy check code inspection and producing synchronous signals, which are changed into USB signals via the USB transceiver 411 and transmitted to the USB host.
When the generic endpoint state machine 421 in the link layer block 42 receives the USB command from the USB host, it sends the signal to the event control module 451 in the application interface engine 450, which again sends the signal to the microprocessor 510. At this point, the microprocessor sends back the predetermined endpoint of the virtual hub and the configuration thereof to the USB host, so that the USB host considers the compound device 40 as a USB hub device, and assigns a USB address to the virtual hub. Then the USB address assigned by the USB host is added to the predetermined address “1” of the virtual hub, and is stored together with the corresponding logical endpoint in the address/endpoint configuration mechanism 423.
The main functions of the address/endpoint configuration mechanism 423 are to store the address with the corresponding endpoint of every function device connected to the compound device, and one set of address and the corresponding endpoints of the virtual hub. In terms of USB standard, the front identification information of each package of data transmitted is the address and endpoint number of the target device and the transmitting token used to define the transmission type. Therefore, when the physical layer block 410 in the compound device 40 receives the message from USB Bus, the generic endpoint state machine 421 in the link layer block 420 compares the address/endpoint data stored in the address/endpoint configuration mechanism 423 with the identification information of the data transmitted, to determine whether the target device of the data packet is one of the multiple functions connected to the compound device 40.
As described in preceding words, when the compound device 40 is connected to USB Bus, the device first procures an address of the virtual hub assigned by the USB host. Then the USB host periodically inquires for the state of the virtual hub in a polling manner. Because the address/endpoint of the virtual hub is already stored in the address/endpoint configuration mechanism 423, the front-end address/endpoint information of the message that the USB host sends to the hub, an inquiry command for example, can be recognized by the generic endpoint state machine 421. When the front-end information sent is confirmed to be the same with the address/endpoint included in the address/endpoint “1”, that is, the same with the address/endpoint of the virtual hub, this message is sent to the microprocessor 510 by the event control module 451. When the microprocessor 510 receives the event corresponding to the address/endpoint configuration “1”, it recognizes that the data packet belongs to the virtual hub and makes a response according to the content of the message. In the compound device 40 of the embodiment, a circuitry designed exclusively for the USB hub is absent, and thus all the functions related to the hub are simulated and executed by the microprocessor 510 via software or firmware.
Therefore, in every inquiry action performed by the USB host, the microprocessor 510 acts as a hub and continually reports back to the USB host on the augmentation of new functions through the control interface module 452, the generic endpoint state machine 421, the serial interface engine 412 and the USB transceiver 411. The keyboard, mouse and hard disk functions are added into the USB system after being identified and assigned with a USB address by the USB host. Whereas to the USB host, it seems that the function devices, i.e., keyboard, mouse and hard disk, are connected to the virtual hub, and maintain the connection relationship as required between the hub and the function devices in USB system. Consequently, each of the keyboard, mouse, and hard disk functions has its own independent USB address, and in the meanwhile, the address with the corresponding endpoints of each function are stored in the address/endpoint configuration mechanism 423.
In addition, in the link layer block 420, the endpoint variable register 422 is utilized to store the states of various endpoints, which are then accessed and updated by the generic endpoint state machine 421. Hence, when the USB host directs inquiry commands about the states of various devices towards the virtual hub of the compound device 40, the microprocessor 510 reads the latest states of various devices from the endpoint variable register 422 via the generic endpoint state machine 421, so as to respond to the USB host. Therefore, the USB host regards the compound device 40 as a USB hub device in connection with a keyboard device, a mouse device, and a hardware device. That is, the compound device 40 still maintains the tiered-star structure of USB standard.
The above description is related to the interface initiation carried out when the compound device 40 in the embodiment is connected to USB Bus and the method that the compound device 40 simulates a hub. Hereinafter, the interactions between the link layer block 420 and the memory management unit 430, the memory buffer 440 and the application interface engine 450, and the functions of individual blocks, are illustrated in detail by using the data transmission process.
First of all, when the physical layer block 410 receives a packet of data from the USB host, the generic endpoint state machine 421 primarily uses the address/endpoint stored in the address/endpoint configuration mechanism 423 to compare with the identification information of the front-end of the data, and notifies the physical layer block 410 of the outcome. When the address and the endpoint number match, that is, when the target device of the data is confirmed to be one of the multiple functions in the compound device of the embodiment, the generic endpoint state machine 421 fetches the endpoint configuration of the endpoint number from the endpoint configuration mechanism 424, reads the former state of the endpoint from the endpoint variable register 422, and then communicates with the USB host and transmits data according to the endpoint type, interrupt, bulk, isochronous and control for instance, via the physical layer block 410. At the same time, when the comparison of the address and the endpoint is exact, the generic endpoint state machine 421 also informs the memory management unit 430 and the application interface engine 450 about the address/endpoint configuration number and the endpoint number.
Hereinbelow, the functions of the memory management unit 430 and the application interface engine 450 are described.
The memory management unit 430 includes the Memory Configuration Mechanism of Endpoint 431, and the Memory Access Control Unit 432.
The memory configuration mechanism of endpoint 431 is used to store the distributed buffer block of individual endpoint and the data status thereof in the Memory Buffer 440. When the memory access control unit 432 receives the impulse signals, address/endpoint configuration number and the endpoint number thereof from the generic endpoint state machine 421, it loads the configuration and the variables of the endpoint, and then fetches the current data status of the endpoint from the memory butter configuration mechanism of endpoint 431, and reports to the generic endpoint state machine 421, which then determines how to communicate with the USB host. If the data can be uploaded, the memory access control unit 431 reads the data from the memory buffer block 440 and uploads the data to the USB host via the generic endpoint state machine 421; if the data can be downloaded, the generic endpoint state machine 421 sends the data to the memory access control unit 432, the data is then stored into the corresponding buffer block of the endpoint in the memory buffer block 440. Furthermore, the memory management unit 432 simultaneously notifies the event control module 451 in the application interface engine 450 about the data status of the data in the buffer block.
The application interface engine 450 includes the Event Control Module 451, the Control Interface Module 452, and the Generic Data Path Module 453.
The event control module 451 therein, is used to receive events from the generic endpoint state machine 421 and the memory access control unit 432. It then informs the microprocessor 510 in the application function module 500 after the events are encoded. The microprocessor 510 can make a response according to the address/endpoint configuration number, the event type, the USB command, and the data received or the data request.
The control interface module provides three main functions, one of which is to allocate the various above-mentioned configurations, the address/endpoint configuration number, endpoint type and buffer block for example, during the interface initiation of the multiple functions of the application function module 500; another function is to facilitate the communication of the microprocessor 510 with the USB host by directing the USB link layer block 42 to take necessary actions, or to read the states of various endpoints to decide the required responses; the other function is that the microprocessor 510 can transmit data with the memory management unit 430 via this module, for example, reading USB command parameters, decoding command types or filling in data demanded by the USB host.
The generic data path module 453 is used to enable the plurality of functions of the application function module 500 to do mass data access. For certain executions of functions, such as reading data from hard disk, or transmitting data, the module enables the functions to directly read or store the data in the memory buffer block via the memory management unit 430, without the interference of the microprocessor 510, and thus optimizing the transmission efficiency.
It is mentioned previously that when the compared result of the address/endpoint number processed by the generic endpoint state machine 421 matches with the information stored in the address/endpoint configuration mechanism 424, the generic endpoint state machine 421 informs the memory management unit 430 and the application interface engine 450 about the address/endpoint configuration number and the endpoint number. In the memory management unit 430, it is the memory access control unit 432 responsible for receiving the message sent by the generic endpoint state machine 421. Meanwhile, according to the message, the memory access control unit 432 fetches the configuration of the endpoint in the memory buffer block 440 from the buffer configuration mechanism of endpoint 431, in order to store the data sent subsequently sent by the generic endpoint state machine 421 into the buffer block corresponding to the endpoint.
In the application interface engine 450, it is the event control module 451 to receive the message sent by the generic endpoint state machine 421. The event control module 451 then transmits the message inclusive of the address/endpoint configuration number to the microprocessor 510. The microprocessor 510 eventually recognizes the function represented by the address/endpoint configuration number. In case of the corresponding function of the address/endpoint configuration number is the hard disk device, the microprocessor 510 can communicate with the memory access control unit 432 via the control interface module 452, and then read data from the memory buffer block 440 and send it back to the hard disk device.
In addition, function devices, the hard disk device for example, may utilize the generic data path module 453 to directly communicate with the memory access control unit 432, and directly access mass data from the memory buffer block 440. As mentioned formerly, the design of the generic data path module 453 may effectively enhance the transmission efficiency.
The description above is the illustration on the internal structure of the compound device and the functions thereof in the first embodiment of the invention. By the design of the first embodiment of the invention, the compound device is able to simulate the function of a USB hub by its internal integrated circuit and enables the plurality of function devices connected to it to possess their independent USB addresses. Therefore the USB host regards the compound device as a combination of a USB hub connected with a plurality of function devices. As a result, each function device connected to the compound device in the embodiment is able employ the standard drivers embedded in the system, and thus achieving the plug-and-play function. Furthermore, the USB logic circuit of the compound device in the embodiment is designed by using the centralization of resource management, in which a plurality of sets of USB logic originally made within one USB compound device is integrated into one single USB logic module, so that the plurality of function blocks may connect to USB Bus via the same set of USB logic circuit. The design settles the disadvantage of the repetition of circuits in prior compound devices, and significantly reduces the production cost thereof at the same time.
Referring to FIG. 5 , it shows the schematic diagram of the USB compound device in the second embodiment of the invention. The compound 50 comprises a USB logic module 600 and an application function module 700. The USB logic module 600 of the compound device in the embodiment is similar to the structure of that in the first embodiment, both having the physical layer block 610, the link layer block 620, the memory management 630, the memory buffer 640 and the application interface engine 650.
The physical layer block therein includes a USB transceiver 611 and a serial interface engine 612, and its function is entirely the same as in the first embodiment, and therefore is not copiously described further.
However, the link layer block 620 of the embodiment is slightly different from that of the first embodiment. Referring the FIG. 5 , the link layer block 620 includes a logical/physical endpoint translation module 624 and a physical endpoint configuration mechanism 625, apart from a generic endpoint state machine 621, an endpoint variable register 622 and an address/endpoint configuration mechanism 623.
In the meanwhile, the memory management unit 630 of the embodiment, besides the memory access control unit 632, a memory configuration mechanism of physical endpoint 631 is used to replace the memory configuration mechanism of endpoint 431 of the first embodiment.
It also can be observed from the figure that, the application function module 700 of the embodiment, includes 7 interfaces altogether: a PS/2 interface 721, a floppy interface 722, two hard disk interfaces 723 and 724, two serial port interfaces 725 and 726, and a parallel port interface 727. The type and number of the function devices connected to the compound device in the present embodiment of the invention are not restricted by the immobile allocation relationship between address and endpoints as in the first embodiment, in which only limited number of specific function devices may be connected to the compound device. In the first embodiment, the microprocessor 510 utilizes the address/endpoint configurations of the function devices, including the address and endpoint numbers, to identify each function and allocate the buffer blocks. As a result, the configurations assigned to various function devices, for example, the address/endpoint configuration “2” including a predetermined address 2 and fixed logical endpoints 1, 2, and 3, restricts the type of function devices to which it may be connected. Therefore, in the first embodiment, the type and number of function devices to which the application function module may be connected are consequently restricted.
The second embodiment of the invention provides a method to enable the compound device 50 not only to possess the integrated USB logic circuit as in the first embodiment and the advantage of USB “plug-and-play” function, but also to overcome the restriction on the type and number of the connected function devices. The characteristics of the second embodiment are described hereinafter.
Firstly, the microprocessor 710 constructed in the application function module 700 allocates a set of physical endpoint numbers to each of the function devices, which connected to the seven interfaces, according to their respective requirements. For example, it allocates the physical endpoint numbers “0” and “1” to the mouse device, which is connected to the PS/2 interface 721, and the physical endpoint numbers are corresponding to the logical endpoint numbers “0” and “1” of the mouse device; it allocates the physical endpoint numbers “2”, “3”, and “4” to the floppy device, which is connected to the floppy interface 722, and the physical endpoint numbers are corresponding to the logical endpoints “0”, and “2” of the floppy device; and it allocates the physical endpoint numbers “5”, “6”, and “7” to the hard disk device, which is connected to hard disk interface 723, and the physical endpoint numbers are corresponding to the logical endpoints “0”, “1”, and “2” of the hard disk device, etc. Besides, the microprocessor 710 also allocates a set of physical endpoint numbers to the virtual hub so that the compound device 50 may use them during the hub simulation process. In the meanwhile, the microprocessor 710 stores the physical endpoint configurations of each function device, such as the endpoint type and the maximum packet size, into the physical endpoint configuration mechanism 625 in the link layer block 620 via the control interface module 652 and the generic endpoint state machine 621.
The corresponding method of physical endpoints and logical endpoints described above allows various addresses, or function devices, to be arbitrarily allocated the endpoint types and numbers according to the characteristics of the function devices. Therefore, the application range of the compound device 50 in the second embodiment is broadened.
In the embodiment, the “physical endpoint number” is the identification information used by the microprocessor 710 to identify various function devices, and is not the address/endpoint configuration inclusive of the address and the endpoint number regarded as the identification information of various function devices as in the first embodiment.
The following steps are similar to that of the first embodiment, the microprocessor 710, via the control interface module 652 in the application interface engine 650, defines buffer blocks for the physical endpoints in the memory buffer 640 according to the physical endpoint numbers of the function devices. When this process is complete, it then stores the configuration data of various physical endpoints in the memory buffer 640 into the memory configuration mechanism of physical endpoint 631.
When the compound device 50 is connected to USB Bus, the USB host detects a new device being connected to the Bus, and sends a series of USB commands to identify and configure the device simultaneously. For the time being, the physical layer block 610 sends the message to the generic endpoint state machine 621 in the link layer block 620, and then the generic endpoint state machine 621 sends the message to the event control module 651, which sends the message further to the microprocessor 710. At this point, the microprocessor 710 defines a set of physical endpoint numbers as the logical endpoint of a virtual hub, and sends the logical endpoint and the configurations of the virtual hub back to the USB host. Therefore, the USB host considers the compound device 50 as a hub device, and designates a USB address to the virtual hub. Then, the USB address of the virtual hub, and correspondence of the logical endpoint and the physical endpoint thereof, are stored together in the address/endpoint configuration mechanism 623.
In the link layer block 620 of the embodiment, the endpoint variable register 622 is used to store the states of various physical endpoints, which are then accessed and updated by the generic endpoint state machine 621. As for the logical/physical translation module 624, it is used to proceed with the translation of logical/physical endpoint, so as to facilitate the microprocessor 710 to identity of function device represented by the physical endpoint number.
After that, the USB host periodically inquires the state of the virtual hub in a polling manner. For the reason that the logical address/endpoint is already stored in the address/endpoint configuration mechanism 623, the front-end logical address/endpoint information of the message sent by the USB host to the virtual hub, a inquiry command for instance, is identified by the generic endpoint state machine 621. When the logical address/endpoint is confirmed to be consistent with that of the virtual hub, the logical/physical translation module 624 translates the logical endpoint to its physical endpoint. Then the generic endpoint state machine 621, via the event control module 651, informs the microprocessor 710 about the physical endpoint. In the compound device 50 of this embodiment, there is no circuitry designed exclusively for the USB hub, and therefore all actions related to hub functions are simulated and executed by the microprocessor 710 through software or firmware.
In every inquiry, the microprocessor 710 communicates with the USB host in a role of a hub, and reports on the new connected devices to the USB host in sequence. According to the message, the USB host initiates the enumeration of the function devices and designates a USB address to each function device after the enumeration. Then, the USB address and the correlation between the logical endpoint and the physical endpoint thereof are stored in the address/endpoint configuration mechanism 623. For example, the microprocessor 710 responds to the inquiry of the USB host by corresponding the physical endpoint numbers 2, 3, and 4 to the logical endpoints 0, 1, and 2 of a floppy device, to acquire a USB address; and then the similarly responds to the inquiry of the USB host by corresponding the physical endpoint numbers 5, 6, and 7 to the logical endpoint numbers 0, 1, and 2 of a hardware device, to acquire a USB address. Owing to the USB address and the correspondence between its logical endpoint and physical endpoint of each function device are stored in the address/endpoint configuration mechanism 623, the microprocessor 710 is still able to accurately identify the exact function device represented by the each address/endpoint according to the USB address and the correlation between the logical endpoint and the physical endpoint thereof though the plurality of function devices connected to the compound device in the embodiment use the same logical endpoint numbers. In other words, the configuration and translation of logical/physical endpoints proposed by the embodiment enables the compound device to augment the type and number of the function devices unrestrictedly according to the requirement of the user.
As a result, the USB compound device in the embodiment not only has the advantages of the compound device in the first embodiment, but is also provided with an augmentability character, which makes the usage of the USB compound device more extensive and convenient.
Referring the FIG. 6 , it shows the schematic diagram of the USB compound device in the third embodiment of the invention. It is observed in the figure that the main internal structure of the USB compound device 60 of the embodiment is the same as that of the second embodiment. The difference between the two is that the USB compound device 60 in the embodiment additionally comprises a repeater 920 and a set of connection/remove detecting circuit 930. The repeater 920 and the connection/remove detecting circuit are illustrated thereinunder with the aid of FIG. 6.
It is observed from the figure that the message from a USB host can be transmitted via the USB transceiver 811 to the repeater 920, which implements the function as a repeater in the USB hub. Furthermore, the USB compound device in the embodiment is also provided with a set of connection/removal detecting circuit 930, which is connected to the downstream port 62 and is employed to detect the connections or removals of external USB devices. (Note: The USB compound device 60 in the embodiment as well as the compound devices 40 and 50 in the first and second embodiments all have another set of connection/removal detecting circuit, which connects to respective upstream ports 41, 51, and 61, and is used by a USB host or hub to detect connections or removals of devices. However, the circuit is not drawn in the figure for simplification.)
When a USB device is connected to the downstream port 62, the connection/removal detecting circuit 930 detects the change in electric potential or current, and notifies the microprocessor 910. At this moment, the microprocessor 910 of USB compound device 60 is able to simulate actions of a USB hub as in the first and second embodiments. It informs the USB host about the message via the USB logic 800 to make the USB device connect to the Bus.
As a result, a plurality of downstream ports, which are able to connect to external USB devices, may be added to the USB compound device 60 in the embodiment. Therefore, a plurality of USB devices are able to connect to the USB Bus via the USB compound device in the embodiment.
Although the description of the preferred embodiments of the invention is explained in specific manners as above, nevertheless, it is understood that the aforesaid examples are only illustrative. Various modifications and alterations can be made without departing from the true spirit and scope of the invention as defined by the appended claims.
Claims (31)
1. A USB compound device, utilized to connect a plurality of function devices to a USB Bus and make the connected function have the advantage of “plug-and-play” function, comprising:
a USB transceiver for utilizing as the connection point between the plurality function devices and the USB Bus, transmitting signals to or receiving signals from the USB Bus and performing the signal format conversion;
a serial interface engine (SIE) for decoding the signals received from the USB Bus and then transforming them from serial form into parallel form, coding the signals to be transmitted to the USB Bus after transforming them from parallel form into serial form, and performing cyclic redundancy check code inspection while transmitting/receiving; and
a circuitry for storing and managing a plurality of device addresses designated by a USB host, and proceeding with data transmission, wherein said circuitry does not have the functions of said USB transceiver and said SIE, and its one terminal is connected to said SIE while the other terminal is connected to a plurality of non-USB interfaces, which are used to connect to the plural function devices, via a microprocessor or controller.
2. The USB compound device as described in claim 1 , wherein the circuitry comprising:
a generic endpoint state machine;
an address/endpoint management mechanism for storing a plurality of address/endpoint configurations, wherein said USB compound device executes USB standard communication protocols to communicate with the USB host via said generic endpoint state machine according to the types of the endpoints stored in said address/endpoint management mechanism; and
a memory module for temporarily storing data being transmitted.
3. A circuitry in the USB compound device as described in claim 1 , wherein the circuitry includes:
a generic endpoint state machine;
an address/endpoint management mechanism for storing a plurality of address/endpoint configurations, wherein the USB compound device executes USB standard communication protocols to communicate with the USB host via said generic endpoint state machine according to the types of the endpoints stored in said address/endpoint management mechanism; and
an endpoint variable register for storing the states of the plural endpoints, said endpoint variable register is accessed and updated by said generic endpoint state machine.
4. The USB compound device as described in claim 2 , wherein the plurality of address/endpoint configurations stored in said address/endpoint management mechanism include a set of address/endpoint configuration of a virtual hub, said set of address/endpoint configuration of the virtual hub is used by said circuitry when it executes the function as a hub via said USB transceiver, said serial interface engine and said microprocessor or controller.
5. The USB compound device as described in claim 2 , wherein said circuitry further comprising:
an endpoint variable register for storing the states of the plural endpoints, said endpoint variable register is accessed and updated by said generic endpoint state machine.
6. The USB compound device as described in claim 2 , wherein said address/endpoint management mechanism comprising:
an address/endpoint configuration mechanism for storing a plurality of logical addresses designated by a USB host, and the correlation between logical endpoints and physical endpoints of each logical address; wherein said generic endpoint state machine utilizes said plural logical addresses to determine whether the plural function devices connected with said USB compound device are the receivers or senders designated by the USB host;
a physical endpoint configuration mechanism for storing the type, the maximum packet size, and the memory allocation data in said memory module of each physical endpoint; and
a logical/physical translation module for translating the logical/physical endpoints of the plural function devices connected with the USB compound device.
7. The circuitry as described in claim 3 , wherein said circuitry includes:
a memory buffer for temporarily storing the data being transmitted; and
a memory management unit for accessing data from said memory buffer, comprising:
a memory configuration mechanism of endpoint for storing the memory allocation data and the maximum packet sizes of the endpoints in said memory buffer; and
a memory access control unit for accessing data from said memory buffer according to the endpoint numbers of signals, and the memory allocation data stored in said memory configuration mechanism of endpoint.
8. The USB compound device as described in claim 5 , wherein said memory module comprising:
a memory buffer for temporarily storing the data being transmitted; and
a memory management unit for accessing data from said memory buffer, comprising:
a memory configuration mechanism of endpoint for storing the memory allocation data and the maximum packet sizes of the endpoints in said memory buffer; and
a memory access control unit for accessing data from said memory buffer according to the endpoint numbers of signals and the memory allocation data stored in said memory configuration mechanism of endpoint.
9. The USB compound device as described in claim 8 , wherein said circuitry further comprising:
an application interface engine for transmitting signals and accessing data between said generic endpoint state machine, said memory access control unit, and the plural non-USB interfaces connected with said circuitry.
10. The circuitry as described in claim 7 , wherein said circuitry includes:
an application interface engine for transmitting signals and accessing data between said generic endpoint state machine, said memory access control unit, and the plural non-USB interfaces connected with said circuitry.
11. The USB compound device as described in claim 6 , wherein the plural logical addresses and correlation stored in said address/endpoint configuration include a set of logical address of a virtual hub and the correlation between the logical endpoints and physical endpoints thereof, wherein the address/endpoint configuration of said virtual hub is used by said circuitry when it executes the function as a hub via said USB transceiver, said serial interface engine and said microprocessor or controller.
12. The USB compound device as described in claim 9 , wherein said USB compound device includes a microprocessor.
13. The USB compound device as described in claim 9 , wherein said USB compound device includes a controller.
14. The USB compound device as described in claim 9 , wherein said USB transceiver, said serial interface engine and said circuitry are all fabricated on the same single chip.
15. The USB compound device as described in claim 7 , wherein said USB compound device further comprising:
a repeater for transmitting upstream and downstream USB signals between a USB host and the USB function devices connected with said USB compound device; and
a connection/removal detecting circuit for detecting connections or removals of a plurality of USB ports, wherein said repeater and said connection/removal detecting circuit enables said USB compound device to provide the plural USB ports.
16. The USB compound device as described in claim 6 , wherein said circuitry further comprising:
an endpoint variable register for storing the states of the plural endpoints, wherein said endpoint variable register is accessed and updated by said generic endpoint state machine.
17. The USB compound device as described in claim 16 , wherein said memory module comprising:
a memory buffer for temporarily storing the data being transmitted; and
a memory management unit for accessing data from said memory buffer, comprising:
a memory configuration mechanism of physical endpoint for storing the memory allocation data and the maximum packet sizes of the physical endpoints in said memory buffer; and
a memory access control unit for accessing data from said memory buffer according to the physical endpoint numbers of signals, and the memory allocation data stored in said memory configuration mechanism of physical endpoint.
18. The USB compound device as described in claim 17 , wherein said circuitry further comprising:
an application interface engine for transmitting signals and accessing data between said generic endpoint state machine, said memory access control unit, and the plural non-USB interfaces connected with said circuitry.
19. The USB compound device as described claim 18 , wherein said application interface engine comprising:
an event control module for receiving the events generated by said generic endpoint state machine and said memory access control unit during communication, and transmitting the events to the devices corresponding to said physical endpoint numbers; and
a control interface module for controlling or configuring the registers inside the circuitry, and proceeding with data transmission with the memory control unit;
a data path module for accessing mass data, wherein said data path module transmits data between said memory buffer and the plural interfaces connected with said circuitry in a direct memory access (DMA) manner.
20. The USB compound device as described in claim 19 , wherein said USB compound device includes a microprocessor.
21. The USB compound device as described in claim 19 , wherein said USB compound device includes a controller.
22. The USB compound device as described in claim 19 , wherein said USB transceiver, said serial interface engine and said circuitry are all fabricated on the same single chip.
23. The USB compound device as described in claim 19 , wherein said USB compound device further comprising:
a repeater for transmitting upstream and downstream USB signals between a USB host and the USB function devices connected with said USB compound device; and
a connection/removal detecting circuit for detecting connections or removals of a plurality of USB ports, wherein said repeater and said connection/removal detecting circuit enables said USB compound device to provide the plural USB ports.
24. A method of enabling a plurality of function devices to connect to a USB host with the same set of endpoint numbers and have their respective and independent USB addresses, comprising the following steps:
configuring the logical endpoints and the correlation between the logical/physical endpoints of the plural function devices in sequence;
storing the configurations of the physical endpoints of the plural function devices;
initiating the address/endpoint configurations of the plural USB function devices and communicating with the USB host in sequence by utilizing a microprocessor or controller, and then designating the plural function devices their respective USB logical addresses by the USB host;
storing the USB addresses designated by the USB host;
comparing the specific address of each signal transmitted from the USB Bus with the USB logical addresses;
proceeding with logical/physical endpoint translation when the comparison matches; and
transmitting the signal to the function device represented by the physical endpoint.
25. A method for implementing a virtual hub, comprising the following steps:
using an address/endpoint configuration as the USB address/endpoint configuration of the virtual hub;
receiving signals from or transmitting signals to a USB host by using a USB transceiver;
using a serial interface engine to execute the decoding, encoding and format translation of the transmitted signals, and perform cyclic redundancy check code inspection while transmitting/receiving data;
using a microprocessor or controller to communicate with the USB host in the function of a hub via software or firmware, and getting a USB address of said virtual hub from the USB host;
when the address of the transmitted signal directs to said virtual hub, responding to the USB host with the microprocessor or controller according to the content of the transmitted signal; and
managing other USB function devices or reporting the configurations thereof back to the USB host with the microprocessor or controller via software or firmware so as to maintain the USB tiered-star topology.
26. A method for implementing a USB compound device, wherein said compound device is used to connect at least two function devices having no USB logic circuits to a USB Bus, and enable the connected function devices to have the plug-and-play function, said method comprising the following steps:
setting up a physical layer block for connecting to the USB Bus and proceeding with the reception or transmission of signals, format translation, coding or decoding, and cyclic redundancy check code inspection;
setting up a link layer block for receiving the signals transmitted from said physical layer, proceeding the comparison of address/endpoint and communicating with the USB host under communication protocols according to the states of the endpoints;
setting up a memory management unit for receiving endpoint numbers from said link layer and proceeding with data accessing according to the endpoint numbers;
setting up an application interface engine for receiving the signals from said link layer block and said memory management unit, and executing the signals or data transmission with an application unit; and
setting up a memory buffer for storing the temporary data of the endpoints.
27. The method as described in claim 26 , wherein the step of setting up said physical layer block comprising:
using a USB transceiver to transmit or receive signals and perform the conversion of signal format; and
using a serial interface engine to execute the decoding, encoding and format translation of the transmitted signals, and perform cyclic redundancy check code inspection while transmitting/receiving data.
28. The method as described claim 26 , wherein the step of setting up said link layer block comprising:
storing the states of the endpoints of the connected USB function devices by an endpoint variable register;
using a generic endpoint state machine to access and update said endpoint variable register and communicate with the USB host under USB standard protocols according to the types of the endpoints;
storing the addresses designated by the USB host and the corresponding endpoints of the function devices by an address/endpoint configuration mechanism;
storing the physical endpoints and its endpoint configurations by a physical endpoint configuration mechanism; and
executing the translation of logical endpoints and physical endpoints by a logical/physical endpoint translator.
29. The method as described in claim 26 , wherein the step of setting up said memory management unit comprising:
storing the memory buffers designated to the physical endpoints and the states of the data thereof by a memory configuration mechanism of physical endpoints; and
using a memory access control unit to read the memory buffer blocks and the states of the data thereof from said memory configuration of physical endpoints, and store or read the data into/from the memory buffers thereof.
30. The method according to claim 26 , wherein the step of setting up said application interface engine comprising:
using an event control module to receive the events generated by said generic state machine and said memory access control unit during communication and inform the function devices represented by the physical endpoint numbers in said application unit of the event;
using a control interface module to control or configure the register inside said compound device, and proceed with data transmission with said memory management unit; and
using a data path module to access mass data and transmit data between said memory buffers and said application unit in a DMA manner.
31. The method according to claim 26 , wherein said method further includes the steps of providing the device a plurality of USB ports, comprising:
using a repeater for transmitting upstream and downstream USB signals between the USB host and the connected USB function devices; and
using a connection/removal detecting circuit to detect connections or removals of the USB ports.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW90117264 | 2001-07-13 | ||
TW090117264A TW518502B (en) | 2001-07-13 | 2001-07-13 | USB compound device and the realization method thereof |
DE10259327A DE10259327A1 (en) | 2001-07-13 | 2002-12-18 | Universal serial bus (USB) compound device for communication applications has address/endpoint management mechanism including terminal connected to interfaces used to connect function devices to serial bus |
Publications (2)
Publication Number | Publication Date |
---|---|
US20030041205A1 US20030041205A1 (en) | 2003-02-27 |
US6862643B2 true US6862643B2 (en) | 2005-03-01 |
Family
ID=32991914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/074,910 Expired - Lifetime US6862643B2 (en) | 2001-07-13 | 2002-02-11 | USB compound device operates a plurality of devices by using the same USB logic circuit and the method for implementation thereof |
Country Status (4)
Country | Link |
---|---|
US (1) | US6862643B2 (en) |
JP (1) | JP2003050772A (en) |
DE (1) | DE10259327A1 (en) |
TW (1) | TW518502B (en) |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030070032A1 (en) * | 2001-10-09 | 2003-04-10 | Kuo-Min Tsao | Local area network compliant with universal serial bus standard |
US20030163614A1 (en) * | 2002-02-26 | 2003-08-28 | Alps Electric Co., Ltd. | Device with interface recognizing ability |
US20040095382A1 (en) * | 2002-11-19 | 2004-05-20 | Fisher Ken Scott | Portable memory drive retaining personalized interface on multiple host computers |
US20050086403A1 (en) * | 2003-10-07 | 2005-04-21 | Sunplus Technology Co., Ltd. | USB composite device and method using hub link layer and UTMI interface |
US20050091436A1 (en) * | 2003-10-24 | 2005-04-28 | Aiping Huang | USB dynamic service switch for dual processor architecture |
US20050120157A1 (en) * | 2003-12-02 | 2005-06-02 | Super Talent Electronics Inc. | USB Smart Switch with Packet Re-Ordering for Interleaving among Multiple Flash-Memory Endpoints Aggregated as a Single Virtual USB Endpoint |
US20050182510A1 (en) * | 2004-02-13 | 2005-08-18 | Steven Bress | Systems and methods for an improved tailgate device |
US20060020737A1 (en) * | 2003-02-24 | 2006-01-26 | Standard Microsystems Corporation | Universal serial bus hub with shared high speed handler implementing respective downstream transfer rates |
US20060123145A1 (en) * | 2002-12-18 | 2006-06-08 | Lonnie Goff | Encapsulated hardware configuration/control |
US20060136621A1 (en) * | 2004-10-22 | 2006-06-22 | Kuo-Jung Tung | Usb compound device without embedded hub and implement method in usb system |
US20060161280A1 (en) * | 2005-01-14 | 2006-07-20 | Willy Platzer | Integrated consumer video and/or audio circuit, audio system, or method of operating these with a stand-alone external video and/or audio reproduction device |
US20070083873A1 (en) * | 2005-10-06 | 2007-04-12 | Sierra Wireless, Inc. | Dynamic bus-based virtual channel multiplexing device driver architecture |
US20070255877A1 (en) * | 2006-04-28 | 2007-11-01 | Qualcomm Incorporated | USB Interrupt Endpoint Sharing |
US20070276971A1 (en) * | 2001-04-06 | 2007-11-29 | Nokia Corporation | Universal serial bus circuit which detects connection status to a usb host |
US7334072B1 (en) | 2002-09-27 | 2008-02-19 | Cypress Semiconductor Corporation | System, method and apparatus for extending distances between wired or wireless USB devices and a USB host |
US20080082699A1 (en) * | 2006-09-28 | 2008-04-03 | Sandisk Il Ltd. | Devices and methods for device-mapping connectivity hub |
US20080239358A1 (en) * | 2007-03-28 | 2008-10-02 | Brother Kogyo Kabushiki Kaisha | Multifunction peripheral |
US20080276009A1 (en) * | 2007-05-04 | 2008-11-06 | Joe Mesa | Enabling Efficient Communication Between a Host and Multiple USB Devices |
US7653123B1 (en) | 2004-09-24 | 2010-01-26 | Cypress Semiconductor Corporation | Dynamic data rate using multiplicative PN-codes |
US20100082862A1 (en) * | 2008-09-30 | 2010-04-01 | Mcgowan Steven B | Universal serial bus endpoint context caching |
US20100146176A1 (en) * | 2001-12-21 | 2010-06-10 | Beckhoff Automation Gmbh | Data transmission method, serial bus system, and switch-on unit for a passive station |
US20100199290A1 (en) * | 2009-02-02 | 2010-08-05 | Richard Thomas Kavanaugh | System and method for multifunction device enumeration |
US7805559B1 (en) * | 2009-04-10 | 2010-09-28 | Thales Avionics, Inc. | USB repeater for on board aircraft installations |
US20110099312A1 (en) * | 2009-10-22 | 2011-04-28 | Renesas Electronics Corporation | Circuit and method for pipe arbitration |
US20110145655A1 (en) * | 2009-12-11 | 2011-06-16 | Mike Erickson | Input/output hub to input/output device communication |
WO2011147116A1 (en) * | 2010-05-26 | 2011-12-01 | 北京飞天诚信科技有限公司 | Compound universal serial bus(usb) device and implementation method thereof |
US8850082B2 (en) | 2010-08-30 | 2014-09-30 | Qualcomm Incorporated | Virtual USB compound device enumeration |
Families Citing this family (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7043587B2 (en) * | 2001-09-20 | 2006-05-09 | Lenovo (Singapore) Pte. Ltd. | System and method for connecting a universal serial bus device to a host computer system |
DE60215136T2 (en) * | 2002-06-19 | 2007-03-29 | Hewlett-Packard Development Company, L.P., Houston | Internal USB circuit connection |
US6745264B1 (en) * | 2002-07-15 | 2004-06-01 | Cypress Semiconductor Corp. | Method and apparatus for configuring an interface controller wherein ping pong FIFO segments stores isochronous data and a single circular FIFO stores non-isochronous data |
US6976105B1 (en) * | 2002-12-11 | 2005-12-13 | Cypress Semiconductor Corp. | Apparatus and method for attaching multiple devices to a host |
US7222201B2 (en) * | 2003-01-06 | 2007-05-22 | Plx Technology, Inc. | Virtual endpoint for USB devices |
TWI247216B (en) * | 2004-04-09 | 2006-01-11 | Prolific Technology Inc | USB transmission interface device capable of reducing working current |
EP1804152A3 (en) * | 2003-11-21 | 2007-07-11 | Research In Motion Limited | System and method for powering a peripheral device |
US20050114552A1 (en) * | 2003-11-21 | 2005-05-26 | David Mak-Fan | System and method for powering a peripheral device |
US7802022B2 (en) * | 2004-04-29 | 2010-09-21 | Microsoft Corporation | Generic USB drivers |
US7685328B2 (en) * | 2004-09-09 | 2010-03-23 | Stmicroelectronics, Inc. | Generic universal serial bus device operable at low and full speed and adapted for use in a smart card device |
JP2006127085A (en) * | 2004-10-28 | 2006-05-18 | Oki Data Corp | Compound function system |
US7440398B2 (en) * | 2004-11-29 | 2008-10-21 | Honeywell International Inc. | Fault tolerant communication apparatus |
US20090011793A1 (en) * | 2005-01-13 | 2009-01-08 | Pocrass Alan L | Flash Memory Cell Phone With Integrated Male And Female Connectors |
US20060181912A1 (en) * | 2005-01-21 | 2006-08-17 | Iyer Sree M | Low-power solid state storage controller for cell phones and other portable appliances |
US8447902B2 (en) * | 2005-08-05 | 2013-05-21 | Integrated Device Technology, Inc. | Method and apparatus for predictive switching |
JP2007156921A (en) * | 2005-12-06 | 2007-06-21 | Y E Data Inc | Failure detection/recovery system of usb device, program thereof, recording medium with the program recorded thereon, and failure detection/recovery method |
TWI317882B (en) * | 2006-01-27 | 2009-12-01 | Prolific Technology Inc | An usb interface provided with host/device function and its control method |
TW200823669A (en) * | 2006-11-17 | 2008-06-01 | Alcor Micro Corp | Integrated hub control chip |
US7783791B2 (en) * | 2007-02-13 | 2010-08-24 | Lennox Manufacturing, Inc. | Apparatus and method for treating addresses in an environmental control network |
US7577776B2 (en) * | 2007-05-14 | 2009-08-18 | Aten International Co., Ltd | Multiple virtual USB devices with virtual HUB implemented using one USB device controller |
JP2009187368A (en) * | 2008-02-07 | 2009-08-20 | Hitachi Ltd | Method for controlling sharing of usb port |
TWI355582B (en) * | 2008-03-05 | 2012-01-01 | Inventec Corp | Method for analyzing program with error, and metho |
US20100169069A1 (en) * | 2008-12-29 | 2010-07-01 | Nimrod Diamant | Composite device emulation |
US20100180064A1 (en) * | 2009-01-14 | 2010-07-15 | Huawei Device Co., Ltd. | Method and device for implementing USB endpoint multiplexing |
CN101777032A (en) * | 2009-01-14 | 2010-07-14 | 华为终端有限公司 | Method and equipment for realizing USB endpoint multiplexing |
TWI385533B (en) * | 2009-05-11 | 2013-02-11 | Via Tech Inc | Computer system, data-exchange device and data exchange method |
US8260988B2 (en) * | 2009-05-29 | 2012-09-04 | Aten International Co., Ltd. | PS/2 to USB keyboard adaptor supporting N-key rollover |
CN102737003B (en) * | 2011-04-01 | 2015-09-16 | 中兴通讯股份有限公司 | A kind of method and device of simulating USB device |
EP2544096B1 (en) | 2011-07-06 | 2014-12-03 | GN Netcom A/S | Apparatus and method of Universal Serial Bus, USB, communication |
CN103309835A (en) * | 2012-03-12 | 2013-09-18 | 祥硕科技股份有限公司 | Universal serial bus device and power supply method thereof |
CN102722464B (en) * | 2012-06-04 | 2014-10-29 | 飞天诚信科技股份有限公司 | Method for receiving and processing data at same time by using plurality of USB devices |
CN104298643A (en) * | 2014-10-09 | 2015-01-21 | 苏州工业园区服务外包职业学院 | Device for data transmission between smart device and embedded device |
CN206672091U (en) * | 2017-04-27 | 2017-11-24 | 深圳市高普达科技有限公司 | A kind of interface extending device |
KR102230334B1 (en) * | 2018-11-29 | 2021-03-22 | 주식회사 엘케이벤쳐스 | Power bank embedding memory with data and program areas |
JP7490947B2 (en) * | 2019-04-08 | 2024-05-28 | 株式会社リコー | Expansion module, module system, and computer system |
US11023402B2 (en) * | 2019-07-02 | 2021-06-01 | National Instruments Corporation | Switch pruning in a switch fabric bus chassis |
CN111221768B (en) * | 2020-01-10 | 2024-05-31 | 珠海趣印科技有限公司 | USB equipment composite communication method and system |
WO2023245656A1 (en) * | 2022-06-24 | 2023-12-28 | 北京小米移动软件有限公司 | Terminal control method and apparatus, communication device, and storage medium |
CN117909278B (en) * | 2023-12-21 | 2024-08-13 | 博捷半导体科技(苏州)有限公司 | USB hub chip, USB hub and data transmission method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5974486A (en) * | 1997-08-12 | 1999-10-26 | Atmel Corporation | Universal serial bus device controller comprising a FIFO associated with a plurality of endpoints and a memory for storing an identifier of a current endpoint |
US6185641B1 (en) * | 1997-05-01 | 2001-02-06 | Standard Microsystems Corp. | Dynamically allocating space in RAM shared between multiple USB endpoints and USB host |
US6205501B1 (en) * | 1998-01-07 | 2001-03-20 | National Semiconductor Corp. | Apparatus and method for handling universal serial bus control transfers |
US6218969B1 (en) * | 1997-11-19 | 2001-04-17 | In-System Design, Inc. | Universal serial bus to parallel bus signal converter and method of conversion |
US6230226B1 (en) * | 1997-09-30 | 2001-05-08 | Intel Corporation | Compound device implementing hub and function endpoints on a single chip |
US6370603B1 (en) * | 1997-12-31 | 2002-04-09 | Kawasaki Microelectronics, Inc. | Configurable universal serial bus (USB) controller implemented on a single integrated circuit (IC) chip with media access control (MAC) |
US6567875B1 (en) * | 1999-04-05 | 2003-05-20 | Opti, Inc. | USB data serializer |
US6675733B2 (en) * | 2000-10-31 | 2004-01-13 | Nhk Morse Co., Ltd. | Remote control device for small vessel |
US6718423B2 (en) * | 2000-12-29 | 2004-04-06 | Gateway, Inc. | Bus hub with a selectable number of ports |
US6721332B1 (en) * | 1998-11-10 | 2004-04-13 | Nortel Networks Limited | USB networking on a multiple access transmission medium |
US6725302B1 (en) * | 1999-09-23 | 2004-04-20 | International Business Machines Corporation | Universal serial bus (USB) with wireless communication hubs |
-
2001
- 2001-07-13 TW TW090117264A patent/TW518502B/en not_active IP Right Cessation
-
2002
- 2002-02-11 US US10/074,910 patent/US6862643B2/en not_active Expired - Lifetime
- 2002-03-18 JP JP2002074066A patent/JP2003050772A/en active Pending
- 2002-12-18 DE DE10259327A patent/DE10259327A1/en not_active Ceased
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6185641B1 (en) * | 1997-05-01 | 2001-02-06 | Standard Microsystems Corp. | Dynamically allocating space in RAM shared between multiple USB endpoints and USB host |
US5974486A (en) * | 1997-08-12 | 1999-10-26 | Atmel Corporation | Universal serial bus device controller comprising a FIFO associated with a plurality of endpoints and a memory for storing an identifier of a current endpoint |
US6230226B1 (en) * | 1997-09-30 | 2001-05-08 | Intel Corporation | Compound device implementing hub and function endpoints on a single chip |
US6218969B1 (en) * | 1997-11-19 | 2001-04-17 | In-System Design, Inc. | Universal serial bus to parallel bus signal converter and method of conversion |
US6370603B1 (en) * | 1997-12-31 | 2002-04-09 | Kawasaki Microelectronics, Inc. | Configurable universal serial bus (USB) controller implemented on a single integrated circuit (IC) chip with media access control (MAC) |
US6205501B1 (en) * | 1998-01-07 | 2001-03-20 | National Semiconductor Corp. | Apparatus and method for handling universal serial bus control transfers |
US6721332B1 (en) * | 1998-11-10 | 2004-04-13 | Nortel Networks Limited | USB networking on a multiple access transmission medium |
US6567875B1 (en) * | 1999-04-05 | 2003-05-20 | Opti, Inc. | USB data serializer |
US6725302B1 (en) * | 1999-09-23 | 2004-04-20 | International Business Machines Corporation | Universal serial bus (USB) with wireless communication hubs |
US6675733B2 (en) * | 2000-10-31 | 2004-01-13 | Nhk Morse Co., Ltd. | Remote control device for small vessel |
US6718423B2 (en) * | 2000-12-29 | 2004-04-06 | Gateway, Inc. | Bus hub with a selectable number of ports |
Cited By (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070276971A1 (en) * | 2001-04-06 | 2007-11-29 | Nokia Corporation | Universal serial bus circuit which detects connection status to a usb host |
US7533209B2 (en) * | 2001-04-06 | 2009-05-12 | Nokia Corporation | Universal serial bus circuit which detects connection status to a USB host |
US20030070032A1 (en) * | 2001-10-09 | 2003-04-10 | Kuo-Min Tsao | Local area network compliant with universal serial bus standard |
US7984217B2 (en) * | 2001-12-21 | 2011-07-19 | Beckhoff Automation Gmbh | Data transmission method, serial bus system, and switch-on unit for a passive station |
US20100146176A1 (en) * | 2001-12-21 | 2010-06-10 | Beckhoff Automation Gmbh | Data transmission method, serial bus system, and switch-on unit for a passive station |
US20030163614A1 (en) * | 2002-02-26 | 2003-08-28 | Alps Electric Co., Ltd. | Device with interface recognizing ability |
US7334072B1 (en) | 2002-09-27 | 2008-02-19 | Cypress Semiconductor Corporation | System, method and apparatus for extending distances between wired or wireless USB devices and a USB host |
US7395366B1 (en) * | 2002-09-27 | 2008-07-01 | Cypress Semiconductor Corp. | System, method, and apparatus for connecting USB peripherals at extended distances from a host computer |
US20040095382A1 (en) * | 2002-11-19 | 2004-05-20 | Fisher Ken Scott | Portable memory drive retaining personalized interface on multiple host computers |
US7441108B2 (en) * | 2002-11-19 | 2008-10-21 | Ken Scott Fisher | Portable memory drive with portable applications and cross-computer system management application |
US20060123145A1 (en) * | 2002-12-18 | 2006-06-08 | Lonnie Goff | Encapsulated hardware configuration/control |
US7788416B2 (en) * | 2002-12-18 | 2010-08-31 | Nxp B.V. | Encapsulated hardware configuration/control |
US20060020737A1 (en) * | 2003-02-24 | 2006-01-26 | Standard Microsystems Corporation | Universal serial bus hub with shared high speed handler implementing respective downstream transfer rates |
US7484018B2 (en) * | 2003-02-24 | 2009-01-27 | Standard Microsystems Corporation | Universal serial bus hub with shared high speed handler implementing respective downstream transfer rates |
US7124233B2 (en) * | 2003-10-07 | 2006-10-17 | Sunplus Technology Co., Ltd. | USB composite device and method using hub link layer and UTMI interface |
US20050086403A1 (en) * | 2003-10-07 | 2005-04-21 | Sunplus Technology Co., Ltd. | USB composite device and method using hub link layer and UTMI interface |
US7117288B2 (en) * | 2003-10-24 | 2006-10-03 | Motorola Inc. | USB dynamic service switch for dual processor architecture |
US20050091436A1 (en) * | 2003-10-24 | 2005-04-28 | Aiping Huang | USB dynamic service switch for dual processor architecture |
US7073010B2 (en) * | 2003-12-02 | 2006-07-04 | Super Talent Electronics, Inc. | USB smart switch with packet re-ordering for interleaving among multiple flash-memory endpoints aggregated as a single virtual USB endpoint |
US20050120157A1 (en) * | 2003-12-02 | 2005-06-02 | Super Talent Electronics Inc. | USB Smart Switch with Packet Re-Ordering for Interleaving among Multiple Flash-Memory Endpoints Aggregated as a Single Virtual USB Endpoint |
US20050182510A1 (en) * | 2004-02-13 | 2005-08-18 | Steven Bress | Systems and methods for an improved tailgate device |
US7584334B2 (en) * | 2004-02-13 | 2009-09-01 | Steven Bress | Systems and methods for an improved tailgate device |
US7653123B1 (en) | 2004-09-24 | 2010-01-26 | Cypress Semiconductor Corporation | Dynamic data rate using multiplicative PN-codes |
US7188206B2 (en) * | 2004-10-22 | 2007-03-06 | Conwise Technology Corporation Ltd. | USB compound device without embedded hub and implement method in USB system |
US20060136621A1 (en) * | 2004-10-22 | 2006-06-22 | Kuo-Jung Tung | Usb compound device without embedded hub and implement method in usb system |
US20060161280A1 (en) * | 2005-01-14 | 2006-07-20 | Willy Platzer | Integrated consumer video and/or audio circuit, audio system, or method of operating these with a stand-alone external video and/or audio reproduction device |
US20070083873A1 (en) * | 2005-10-06 | 2007-04-12 | Sierra Wireless, Inc. | Dynamic bus-based virtual channel multiplexing device driver architecture |
US8284768B2 (en) | 2005-10-06 | 2012-10-09 | Sierra Wireless, Inc. | Dynamic bus-based virtual channel multiplexing device driver architecture |
US7657684B2 (en) * | 2006-04-28 | 2010-02-02 | Qualcomm Incorporated | USB interrupt endpoint sharing |
US20070255877A1 (en) * | 2006-04-28 | 2007-11-01 | Qualcomm Incorporated | USB Interrupt Endpoint Sharing |
US20080082699A1 (en) * | 2006-09-28 | 2008-04-03 | Sandisk Il Ltd. | Devices and methods for device-mapping connectivity hub |
US9223515B2 (en) | 2006-09-28 | 2015-12-29 | Sandisk Il Ltd. | Devices and methods for device-mapping connectivity hub |
US20080239358A1 (en) * | 2007-03-28 | 2008-10-02 | Brother Kogyo Kabushiki Kaisha | Multifunction peripheral |
US8156268B2 (en) * | 2007-03-28 | 2012-04-10 | Brother Kogyo Kabushiki Kaisha | Multifunction peripheral |
US20080276009A1 (en) * | 2007-05-04 | 2008-11-06 | Joe Mesa | Enabling Efficient Communication Between a Host and Multiple USB Devices |
US20100082862A1 (en) * | 2008-09-30 | 2010-04-01 | Mcgowan Steven B | Universal serial bus endpoint context caching |
US7908421B2 (en) * | 2008-09-30 | 2011-03-15 | Intel Corporation | Universal serial bus endpoint context caching |
US20100199290A1 (en) * | 2009-02-02 | 2010-08-05 | Richard Thomas Kavanaugh | System and method for multifunction device enumeration |
US20100262748A1 (en) * | 2009-04-10 | 2010-10-14 | Thales Avionics, Inc. | Usb repeater for on board aircraft installations |
US7805559B1 (en) * | 2009-04-10 | 2010-09-28 | Thales Avionics, Inc. | USB repeater for on board aircraft installations |
US20110099312A1 (en) * | 2009-10-22 | 2011-04-28 | Renesas Electronics Corporation | Circuit and method for pipe arbitration |
US8423693B2 (en) * | 2009-10-22 | 2013-04-16 | Renesas Electronics Corporation | Circuit and method for pipe arbitration using available state information and arbitration |
US8756356B2 (en) | 2009-10-22 | 2014-06-17 | Renesas Electronics Corporation | Pipe arbitration using an arbitration circuit to select a control circuit among a plurality of control circuits and by updating state information with a data transfer of a predetermined size |
US20110145655A1 (en) * | 2009-12-11 | 2011-06-16 | Mike Erickson | Input/output hub to input/output device communication |
WO2011147116A1 (en) * | 2010-05-26 | 2011-12-01 | 北京飞天诚信科技有限公司 | Compound universal serial bus(usb) device and implementation method thereof |
US8850082B2 (en) | 2010-08-30 | 2014-09-30 | Qualcomm Incorporated | Virtual USB compound device enumeration |
Also Published As
Publication number | Publication date |
---|---|
TW518502B (en) | 2003-01-21 |
DE10259327A1 (en) | 2004-07-15 |
JP2003050772A (en) | 2003-02-21 |
US20030041205A1 (en) | 2003-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6862643B2 (en) | USB compound device operates a plurality of devices by using the same USB logic circuit and the method for implementation thereof | |
US20090144471A1 (en) | Serial bus device with address assignment by master device | |
KR100729692B1 (en) | Electronic apparatus system with master node and slave node | |
KR102007368B1 (en) | PCI express switch and computer system using the same | |
US8161221B2 (en) | Storage system provided with function for detecting write completion | |
CN111221765A (en) | Communication method and communication system for preventing I2C bus address conflict | |
US7395365B2 (en) | Data transfer control system, electronic instrument, program, and data transfer control method | |
JP4920036B2 (en) | Scheduling responses on memory channels | |
WO2024183455A1 (en) | Communication method for single bus system | |
CN1969268B (en) | Host controller, bus communication device and method for operating the host controller | |
CN116578519A (en) | Communication method, device, equipment and medium | |
US7443886B1 (en) | Communication protocol system and method | |
JP2609078B2 (en) | Centralized management system using bus interface unit | |
CN1190925C (en) | Universal serial bus synthesizer and synthesis method | |
CN113961497A (en) | Communication circuit system, method, chip and storage medium | |
CN107851082B (en) | Integrated circuit for operating on a bus and method for operating the same | |
CN113961500B (en) | IIC bus slave controller and working method thereof | |
TWI818834B (en) | Microcontroller and serial peripheral interface system using the same | |
CN117909278B (en) | USB hub chip, USB hub and data transmission method | |
EP1076438A2 (en) | Log-in device and logged-in device | |
US9081743B2 (en) | Communication system and communicaton method | |
CN114338265B (en) | Program downloading system and method based on TTP/C bus | |
CN114222983B (en) | Microcontroller system with GPIO | |
CN100405345C (en) | Bus controller in computer system and method thereof | |
JPH07143148A (en) | High speed cyclic transmitter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: PROLIFIC TECHNOLOGY INC., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WU, WEN-JEN;CHOU, WEN-HWA;REEL/FRAME:012593/0233;SIGNING DATES FROM 20020125 TO 20020204 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
FPAY | Fee payment |
Year of fee payment: 12 |