CN211554932U - USB debugging interface - Google Patents
USB debugging interface Download PDFInfo
- Publication number
- CN211554932U CN211554932U CN202020470434.9U CN202020470434U CN211554932U CN 211554932 U CN211554932 U CN 211554932U CN 202020470434 U CN202020470434 U CN 202020470434U CN 211554932 U CN211554932 U CN 211554932U
- Authority
- CN
- China
- Prior art keywords
- usb
- pin
- interface
- detection module
- type detection
- 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 - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims abstract description 25
- 238000012423 maintenance Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The utility model relates to a debugging interface technical field, in particular to USB debugging interface, change serial ports and USB interface including CPU, USB type detection module, USB power management module, USB interface connection USB type detection module and USB change the serial ports, USB type detection module and USB change the serial ports and be connected with CPU, CPU still connects USB power management module and USB interface. The utility model discloses can make debugging serial ports and USB interface and use, exempt from to tear open the case lid, automatic identification, quick convenient and practical.
Description
Technical Field
The utility model relates to a debugging interface technical field, in particular to USB debugging interface.
Background
With the popularization of intelligent equipment and portable equipment in China, especially the outbreak of equipment of the Internet of things, the time cost of on-site maintenance and repair of products is multiplied; the problem analysis and debugging of the product also depend on the traditional serial interface, and the product is connected with another computer terminal through serial port line equipment for communication, uploading state information and downloading executed instructions.
The serial port for debugging is generally low in use frequency, in order to prevent misuse of customers, the serial port is placed inside a case in a pin mode, an external interface is not provided, when the serial port needs to be used each time, an equipment case cover needs to be disassembled, the case cover of a machine needs to be disassembled for some products, the machine case cover needs to be moved down from the case at first, maintenance difficulty and cost are increased, the usb interface is a necessary interface of the product, a debugging port which can be used conveniently and fast is provided through sharing with the usb interface, and the serial port for debugging is in a non-debugging state and can be used as a common usb interface to be connected.
SUMMERY OF THE UTILITY MODEL
In order to overcome the above-mentioned defect of prior art, the utility model provides a USB debugging interface to solve the problem that proposes in the above-mentioned background art.
The utility model provides a technical scheme that problem among the prior art adopted does: a USB debugging interface comprises a CPU, a USB type detection module, a USB power management module, a USB transfer serial port and a USB interface, wherein the USB interface is connected with the USB type detection module and the USB transfer serial port, the USB type detection module and the USB transfer serial port are connected with the CPU, and the CPU is further connected with the USB power management module and the USB interface.
As the preferred scheme of the utility model, USB type detection module is voltage detection module.
As the utility model discloses an optimal scheme, the USB interface includes VCC pin, Data +/-pin and GND pin, USB type detection module is connected to the VCC pin, USB commentaries on classics serial ports is connected to Data +/-pin, GND pin ground connection.
As the utility model discloses an optimal scheme, CPU includes VBUS pin, EN pin, UART pin and USB pin, VBUS pin is connected to USB type detection module, USB changes serial connections UART pin, the USB pin is still direct to be connected with Data +/-pin, USB power management module is connected to the EN pin, the VCC pin of USB interface is connected to USB power management module.
As the utility model discloses an optimal scheme, the EN pin still is connected with simple logic control circuit, simple logic control circuit changes serial ports with USB and is connected, controls opening and closing of USB commentaries on classics serial ports.
Compared with the prior art, the utility model discloses following technological effect has:
the utility model discloses in a USB debugging interface, this USB debugging interface can do debugging serial ports and USB interface and use through the voltage that detects the USB kneck, exempts from to tear open the case lid, automatic identification, quick convenient and practical.
Drawings
Fig. 1 is a block diagram of a USB debug interface according to the present invention;
fig. 2 is a flowchart of the operation of the USB debug interface of the present invention.
Reference numbers in the figures: 1. a CPU; 2. a USB type detection module; 3. a USB power management module; 4. USB to serial port; 5. a USB interface; 6. and (4) a simple logic control circuit.
Detailed Description
The following describes the present invention with reference to the accompanying drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features related to the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in figure 1: the utility model provides a USB debugging interface, includes CPU1, USB type detection module 2, USB power management module 3, USB changes serial ports 4 and USB interface 5, USB type detection module 2 and USB change serial ports 4 are connected to USB interface 5, USB type detection module 2 and USB change serial ports 4 are connected with CPU1, USB power management module 3 and USB interface 5 are still connected to CPU 1.
Preferably, the USB type detecting module 2 is a voltage detecting module.
Preferably, the USB interface 5 comprises a VCC pin, a Data +/-pin and a GND pin, the VCC pin is connected with the USB type detection module 2, the Data +/-pin is connected with the USB transfer port 4, and the GND pin is grounded.
Preferably, CPU1 includes VBUS pin, EN pin, UART pin and USB pin, VBUS pin is connected to USB type detection module 2, USB commentaries on classics serial ports 4 is connected the UART pin, the USB pin still directly is connected with Data +/-pin, USB power management module 3 is connected to the EN pin, USB power management module 3 is connected the VCC pin of USB interface 5.
Preferably, the EN pin is further connected with a simple logic control circuit 6, and the simple logic control circuit 6 is connected with the USB serial-to-serial port 4 to control the opening and closing of the USB serial-to-serial port 4.
As shown in fig. 2: when the equipment is started, the voltage of the USB interface is detected by the USB type detection module 2, and the type of the connected equipment is determined
If 5v, then:
the external connection of the computer terminal can be judged;
the EN pin controls the USB power supply to close the power supply to the USB interface;
the EN pin controls the USB to serial port module to be started;
and the external connection computer terminal is communicated with the cpu through the serial port in the debugging mode by converting the functional mode through the usb interface.
If 0v, then:
the external connection USB equipment can be judged;
the EN pin controls the USB power supply to manage the power supply of the USB interface;
the EN pin controls to close the usb-to-serial module function;
the CPU1 accesses external devices through the usb bus.
Compared with the prior art, the utility model discloses following technological effect has:
the utility model discloses in a USB debugging interface, this USB debugging interface can do debugging serial ports and USB interface 5 uses through the voltage that detects 5 departments of USB interface, exempts from to tear open the case lid, automatic identification, quick convenient and practical.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing embodiments, or equivalents may be substituted for elements thereof. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (5)
1. A USB debug interface, characterized by: the USB type detection device comprises a CPU, a USB type detection module, a USB power management module, a USB transfer serial port and a USB interface, wherein the USB interface is connected with the USB type detection module and the USB transfer serial port, the USB type detection module and the USB transfer serial port are connected with the CPU, and the CPU is further connected with the USB power management module and the USB interface.
2. The USB debug interface of claim 1, wherein: the USB type detection module is a voltage detection module.
3. The USB debug interface of claim 1, wherein: the USB interface comprises a VCC pin, a Data +/-pin and a GND pin, the VCC pin is connected with the USB type detection module, the Data +/-pin is connected with the USB transfer port, and the GND pin is grounded.
4. The USB debug interface of claim 3, wherein: CPU includes VBUS pin, EN pin, UART pin and USB pin, VBUS pin is connected to USB type detection module, USB changes serial connection UART pin, the USB pin still directly is connected with Data +/-pin, USB power management module is connected to the EN pin, the VCC pin of USB interface is connected to USB power management module.
5. The USB debug interface of claim 4, wherein: the EN pin is also connected with a simple logic control circuit, and the simple logic control circuit is connected with the USB-to-serial port to control the opening and closing of the USB-to-serial port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020470434.9U CN211554932U (en) | 2020-04-02 | 2020-04-02 | USB debugging interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020470434.9U CN211554932U (en) | 2020-04-02 | 2020-04-02 | USB debugging interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211554932U true CN211554932U (en) | 2020-09-22 |
Family
ID=72496383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020470434.9U Expired - Fee Related CN211554932U (en) | 2020-04-02 | 2020-04-02 | USB debugging interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211554932U (en) |
-
2020
- 2020-04-02 CN CN202020470434.9U patent/CN211554932U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870429B (en) | Based on the igh-speed wire-rod production line plate of embedded gpu | |
CN106571657A (en) | Terminal, converter and connection conversion system and method | |
CN103412834A (en) | Single SOC chip and multi-working mode multiplexing method of single SOC chip | |
CN204241597U (en) | Portable cable fast detector | |
CN104077203A (en) | Method and device for diagnosing computer hardware through USB interface | |
CN109992085A (en) | A kind of computer electric power management system, method and terminating machine | |
US8990461B2 (en) | On-The-Go (OTG) USB devices configuration method for identifying configuration of other connected devices by reacting to change in resistance value on a resistive line | |
CN102621977A (en) | Intelligent online diagnosis calibration controller for ECU (electronic control unit) | |
CN110245048B (en) | Intelligent management system and management method for chassis | |
CN206146465U (en) | Box transformer monitoring device | |
CN107239372A (en) | Electronic device and detection method thereof | |
CN211554932U (en) | USB debugging interface | |
CN104375916A (en) | Method and device for directly achieving computer hardware diagnosis through USB interface | |
CN103793263A (en) | DMA transaction-level modeling method based on Power PC processor | |
CN100504723C (en) | USB data acquisition apparatus for power supply | |
CN106502911A (en) | Multiple terminals access device | |
CN203386206U (en) | Device for reading physical memory of computer through PCI Express interface | |
CN102520652A (en) | Multifunctional control module for automobile instruments | |
CN202512434U (en) | Intelligent electronic control unit (ECU) online diagnostics calibration controller | |
CN104572515A (en) | Tracking module, method, system and SOC (System-On-Chip) | |
CN207515635U (en) | The all-electronin fuse tester that a kind of parameter can be bound | |
CN111294985A (en) | Portable miner lamp communication system based on 4G, communication method and construction method | |
CN215932615U (en) | FPGA-based multifunctional automatic CPU detection device with visualized result | |
CN101169767A (en) | Access control device and access control method | |
Sun et al. | The FPGA verification of USB to RS-232 bridge controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200922 |
|
CF01 | Termination of patent right due to non-payment of annual fee |