Device and method for operating USB interface device
A USB interface and device technology, applied in the field of computer peripherals, can solve problems such as low production efficiency, inability to detect whether there is a USB device in an expansion port, whether the USB device is normal, and users unable to know the failure of the USB device, etc., to achieve the effect of improving production efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] Such as figure 1 As shown, the device provided by the present invention includes a host 12 containing an upper-level user software unit, a USB HUB module 13 (including a USB HUB chip AU9254A21), a control module 14 (that is, a control module, the unit includes a microcontroller Motorola 68HC908JB8) , Switch module 15 and expansion port module 16. A direct data connection method is used between these modules. The specific connection relationship is that the host 12 is connected to the control module 14 and the switch module 15 through the two USB ports of the host's USB HUB module 13, and the control module 14 and the switch module 15 are connected. The switch module 15 and the expansion port module 16 are connected.
[0063] The upper user software unit is composed of API functions and corresponding interface commands and user software. The user can operate the expansion port module 16 through API functions and corresponding interface commands.
[0064] The USB HUB module ...
Embodiment 2
[0070] Such as figure 2 As shown, the device of the present invention includes a host 12 containing an upper-level user software unit, a control module 14 (the control module includes a microcontroller Motorola68HC908JB8), a switch module 15 (the switch module includes an address selection chip 74HC138, a switch circuit, and a two-way high-speed analog switch Chip MAX4638) and 15 expansion port modules are expansion port modules. The direct data connection method is used between these modules. The specific connection relationship is that the host 12 connects the control module 14 and the switch module 15 through the host's USB interface, the control module 14 is connected to the switch module 15, and the switch module 15 and the expansion port module 16 connection.
[0071] The upper user software unit is composed of API functions and corresponding interface commands and user software. The user can operate the expansion port module 16 through API functions and corresponding inter...
Embodiment 3
[0076] The operator is testing the USB flash drive connected to the first expansion port, such as image 3 The method 1 adopted in this embodiment shown includes the following steps:
[0077] Step 101: The operator issues a command to the host to detect the U disk connected to the first expansion port, and the upper-layer application software of the host sends a command to open the first expansion port to the control module through the API function and the corresponding protocol.
[0078] Step 102: The control module receives the command sent by the host, and parses the command according to the corresponding protocol.
[0079] Step 103: The control module determines that the address of the first expansion port to be controlled by the upper-layer application software is 001 according to the data obtained by parsing the command.
[0080] Step 104: The control module controls the switch module and only opens the path for connecting the 001 expansion port to the host or USB HUB to ens...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com