CN217506541U - USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer - Google Patents

USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer Download PDF

Info

Publication number
CN217506541U
CN217506541U CN202221453571.7U CN202221453571U CN217506541U CN 217506541 U CN217506541 U CN 217506541U CN 202221453571 U CN202221453571 U CN 202221453571U CN 217506541 U CN217506541 U CN 217506541U
Authority
CN
China
Prior art keywords
pin
signal
electronic switch
debug
interface
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.)
Active
Application number
CN202221453571.7U
Other languages
Chinese (zh)
Inventor
许统欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhi Zhuoyi Hengtong Information Security Co ltd
Original Assignee
Changzhi Zhuoyi Hengtong Information Security Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changzhi Zhuoyi Hengtong Information Security Co ltd filed Critical Changzhi Zhuoyi Hengtong Information Security Co ltd
Priority to CN202221453571.7U priority Critical patent/CN217506541U/en
Application granted granted Critical
Publication of CN217506541U publication Critical patent/CN217506541U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The utility model provides a based on USB3.0 hardware is listened and is reused circuit and computer as debugging serial ports. The circuit can switch between a USB2.0 signal and a Debug signal by additionally arranging an electronic switch, so that when the external equipment is conventional USB equipment, the USB2.0 signal is output; and when the external equipment is a Debug tool, outputting a Debug signal. The utility model discloses a hardware design can be with Debug signal and the multiplexing standard USB3.0 interface of USB2.0 signal to the computer outside, directly plug the USB3.0 interface with the Debug instrument when needing Debug on, according to the hardware detection signal with interface USB2.0 signal switch for the Debug signal, make things convenient for the maintenance of after-sales personnel to the complete machine. The operation is simple, the disassembly time is saved, and the material scrapping risk caused by disassembly is avoided; the compatibility is high, and a hardware circuit is adopted for control, so that software does not need to be added; safe and reliable has reduced the risk of static to the inside mainboard harm of computer.

Description

USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer
Technical Field
The utility model relates to an interface debugging field especially relates to a based on USB3.0 hardware is listened and is reused circuit and computer as debugging serial ports.
Background
With the continuous development and popularization of electronic technology and the improvement of living standard of people, electronic products are widely used, and people can not leave various electronic products in life.
Although the variety of input and output hardware interfaces of electronic devices is quite rich, the number of reserved input and output hardware interfaces of the electronic devices is very limited because of the increasing requirements of customers on the size of a screen and the appearance of the electronic devices, the limitations of molds and sizes, and the like. While manufacturers of electronic devices and after-market debugging personnel often need various debugging devices when debugging the devices, and when the debugging devices are more and more complicated, the interfaces needing debugging are more and more complicated. The probability of problems occurring when debugging personnel carry out on-site debugging is greatly increased, and the time cost required by debugging is increased. On-site debugging personnel often face the problem that part of chip programs need to be updated during debugging, and the traditional use mode is as follows: a special debugger is used for connecting a computer to carry out debugging, downloading and burning through software, but the interface of the debugger is fixed, at this time, different types of patch cords are needed, and the using process is complicated. The time cost of commissioning is increased due to wire transfer problems.
For electronic equipment in the current market, taking a computer as an example, since Debug interfaces of the computer are generally arranged on a mainboard inside the computer, and the Debug interfaces are not connected to external interfaces, the computer needs to be disassembled to be connected to a special Debug interface, so that complete machine Debug is inconvenient to perform, and the risk of material scrap also exists.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a circuit based on multiplexing debugging serial ports is listened to USB3.0 hardware can utilize this USB3.0 interface to debug under the prerequisite that does not influence the original function of USB3.0 interface.
An object of the utility model is also to provide a computer can realize the complete machine debugging through the USB3.0 interface, avoids tearing open the condemned risk of material that the machine brought.
In order to achieve the above object, the utility model provides a circuit for detecting and reusing as a debugging serial port based on USB3.0 hardware, which comprises a USB3.0 interface and an electronic switch;
the USB3.0 interface is provided with a second pin, a third pin and a seventh pin, wherein the second pin is a signal line negative line D-, the third pin is a signal line positive line D +, and the seventh pin is a signal ground terminal S _ GND; the electronic switch is provided with a first pin, a second pin, a third pin, a fourth pin, a sixth pin, a seventh pin, an eighth pin and a ninth pin; the first pin is a signal line positive line 1D +, the second pin is a signal line negative line 1D-, the third pin is a signal line positive line 2D +, the fourth pin is a signal line negative line 2D-, the sixth pin is an enable terminal OE #, the seventh pin is a signal line negative line D-, the eighth pin is a signal line positive line D +, and the ninth pin is a control terminal S;
the second pin and the third pin of the USB3.0 interface are respectively connected with the seventh pin and the eighth pin of the electronic switch, and the seventh pin of the USB3.0 interface is connected with the ninth pin of the electronic switch;
the sixth pin of the electronic switch is grounded, if the ninth pin is at a low level, the seventh pin is connected with the second pin, and the eighth pin is connected with the first pin, so that a USB2.0 signal is output; if the ninth pin is high, the seventh pin turns on the fourth pin, and the eighth pin turns on the third pin, thereby outputting a Debug signal.
The electronic switch is a switch chip.
The model of the electronic switch is NCT3958Y of New Tang science and technology Co.
And a resistor is also connected between the seventh pin of the USB3.0 interface and the ninth pin of the electronic switch.
The resistance is 100 omega with an accuracy of 0.5%.
The electronic switch is also provided with a fifth pin, a tenth pin and an eleventh pin, wherein the fifth pin is a grounding end GND1, the eleventh pin is a grounding end GND2, and the tenth pin is a power end VCC; and the fifth pin and the eleventh pin of the electronic switch are both grounded, and the tenth pin is connected with a 3.3V power supply.
The tenth pin is further connected with one end of a capacitor, and the other end of the capacitor is grounded.
The parameter of the capacitor is X7R-25V-0.1 muF.
The utility model also provides a computer, including the above-mentioned circuit based on USB3.0 hardware is listened multiplexing and is made the debugging serial ports.
The computer is a desktop computer, a notebook computer or a server.
The utility model has the advantages that: the utility model provides a circuit and computer based on USB3.0 hardware is listened and is reused as debugging serial ports, this circuit can carry out the switching between USB2.0 signal and Debug signal through addding electronic switch, thereby when external equipment is conventional USB equipment, output USB2.0 signal; and when the external equipment is a Debug tool, outputting a Debug signal. The utility model discloses a hardware design can be with the Debug signal and the multiplexing standard USB3.0 interface of USB2.0 signal to the computer outside, directly with the Debug instrument plug-in connection USB3.0 interface when needing the Debug on, according to hardware detection signal with interface USB2.0 signal switching into the Debug signal, make things convenient for the maintenance of personnel to the complete machine after selling. The operation is simple, the disassembly time is saved, and the material scrapping risk caused by disassembly is avoided; the compatibility is high, and hardware circuit control is adopted, so that software does not need to be added; safe and reliable has reduced the risk of static to the inside mainboard harm of computer.
Drawings
For a better understanding of the features and technical content of the present invention, reference should be made to the following detailed description of the present invention and accompanying drawings, which are provided for the purpose of illustration and description and are not intended to limit the present invention.
In the drawings, there is shown in the drawings,
fig. 1 is a circuit structure diagram of the utility model based on USB3.0 hardware detection and reuse as a debugging serial port;
fig. 2 is a diagram of the on state of the electronic switch of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Referring to fig. 1, the present invention provides a circuit for detecting and debugging a serial port based on USB3.0 hardware, which includes a USB3.0 interface 10 and an electronic switch 20.
The USB3.0 interface 10 has a second pin, a third pin, and a seventh pin, where the second pin is a signal line negative line D-, the third pin is a signal line positive line D +, and the seventh pin is a signal ground terminal S _ GND. The electronic switch 20 has a first pin, a second pin, a third pin, a fourth pin, a sixth pin, a seventh pin, an eighth pin, and a ninth pin; the first pin is signal line positive line 1D +, the second pin is signal line negative line 1D-, the third pin is signal line positive line 2D +, the fourth pin is signal line negative line 2D-, the sixth pin is enable terminal OE #, the seventh pin is signal line negative line D-, the eighth pin is signal line positive line D +, the ninth pin is control terminal S.
The second pin and the third pin of the USB3.0 interface 10 are respectively connected to the seventh pin and the eighth pin of the electronic switch 20, and the seventh pin of the USB3.0 interface 10 is connected to the ninth pin of the electronic switch 20.
Fig. 2 shows an on state diagram of the electronic switch 20, where L represents a low level and H represents a high level. When the sixth pin is at a high level, the electronic switch 20 is in an off state regardless of whether the ninth pin is at a high level or a low level (denoted by X in fig. 2). When the sixth pin is at a low level, if the ninth pin is at a low level, the seventh pin is connected with the second pin, and the eighth pin is connected with the first pin, so that a USB2.0 signal is output; if the ninth pin is high, the seventh pin turns on the fourth pin, and the eighth pin turns on the third pin, thereby outputting a Debug signal.
Specifically, the electronic switch 20 is a switch chip, and preferably, the model of the electronic switch 20 is NCT3958Y (Nuvoton Technology Corp.).
The electronic switch 20 further has a fifth pin, a tenth pin and an eleventh pin, the fifth pin is a ground terminal GND1, the eleventh pin is a ground terminal GND2, and the tenth pin is a power terminal VCC.
In this embodiment, the fifth pin, the sixth pin, and the eleventh pin of the electronic switch 20 are all grounded (i.e. at a low level), and the tenth pin is connected to a 3.3V power supply.
Specifically, the tenth pin is further connected to one end of a capacitor C, the other end of the capacitor C is grounded, and the parameter of the capacitor C is X7R (temperature stable capacitor) -25V-0.1 μ F.
A resistor R is further connected between the seventh pin of the USB3.0 interface 10 and the ninth pin of the electronic switch 20, where the resistor R is 100 Ω and the precision is 0.5%.
It should be noted that, the utility model discloses with seventh pin (pin) of USB3.0 interface as listening the pin, insert external device after, through the level that detects the seventh pin of USB3.0 interface, electronic switch does the switching between Debug signal and USB2.0 signal. After the external device is plugged into the USB3.0 interface, if the external device is a conventional USB device (such as a mouse, a keyboard, etc.), the seventh pin is pulled low by the USB device (i.e., the hardware detection signal UART _ SEL on the seventh pin is a low level signal), so that the ninth pin of the electronic switch is at a low level, and therefore the seventh pin of the electronic switch is connected to the second pin, the eighth pin is connected to the first pin, and a USB2.0 signal is provided to the external device, so as to perform normal USB device detection. If the external device is a Debug tool, the seventh pin is pulled high by the Debug tool (i.e., the hardware detection signal UART _ SEL on the seventh pin is a high level signal), so that the ninth pin of the electronic switch is at a high level, and therefore the seventh pin of the electronic switch is connected to the fourth pin, the eighth pin is connected to the third pin, and the Debug operation can be performed by providing a Debug signal to the external device.
On the basis of the aforesaid is based on USB3.0 hardware is listened and is reused as the circuit of debugging serial ports, the utility model also provides a computer, including the foretell circuit based on USB3.0 hardware is listened and is reused as the debugging serial ports. The computer may be a desktop, a notebook, or a server. Because the Debug interface is generally arranged on a mainboard in the computer, the computer needs to be disassembled to reuse the special Debug interface when the complete computer Debug is finished, the operation is complex, the time is wasted, and the risk of scrapping materials exists when the computer is disassembled. By adopting the circuit structure, the Debug signal and the USB signal can be connected to a standard interface outside a computer, namely a USB3.0 interface in a multiplexing manner, a Debug tool is directly plugged into the USB3.0 interface when Debug is needed, and the USB2.0 signal of the interface is switched into the Debug signal through a hardware detection signal, so that the maintenance of the whole computer by after-sales personnel is facilitated.
To sum up, the utility model provides a circuit and computer based on USB3.0 hardware is listened and is reused as debugging serial ports, and this circuit can carry out the switching between USB2.0 signal and Debug signal through addding electronic switch to when external equipment is conventional USB equipment, output USB2.0 signal; and when the external equipment is a Debug tool, outputting a Debug signal. The utility model discloses a hardware design can be with Debug signal and the multiplexing standard USB3.0 interface of USB2.0 signal to the computer outside, directly plug the USB3.0 interface with the Debug instrument when needing Debug on, according to the hardware detection signal with interface USB2.0 signal switch for the Debug signal, make things convenient for the maintenance of after-sales personnel to the complete machine. The operation is simple, the disassembling time is saved, and the material scrapping risk caused by disassembling is avoided; the compatibility is high, and hardware circuit control is adopted, so that software does not need to be added; safe and reliable has reduced the risk of static to the inside mainboard harm of computer.
From the above, it is obvious to those skilled in the art that various other changes and modifications can be made according to the technical solution and the technical idea of the present invention, and all such changes and modifications should fall within the protective scope of the appended claims.

Claims (10)

1. A circuit for detecting and multiplexing as a debugging serial port based on USB3.0 hardware is characterized by comprising a USB3.0 interface (10) and an electronic switch (20);
the USB3.0 interface (10) is provided with a second pin, a third pin and a seventh pin, wherein the second pin is a signal line negative line D-, the third pin is a signal line positive line D +, and the seventh pin is a signal ground terminal S _ GND; the electronic switch (20) is provided with a first pin, a second pin, a third pin, a fourth pin, a sixth pin, a seventh pin, an eighth pin and a ninth pin; the first pin is a signal line positive line 1D +, the second pin is a signal line negative line 1D-, the third pin is a signal line positive line 2D +, the fourth pin is a signal line negative line 2D-, the sixth pin is an enable terminal OE #, the seventh pin is a signal line negative line D-, the eighth pin is a signal line positive line D +, and the ninth pin is a control terminal S;
a second pin and a third pin of the USB3.0 interface (10) are respectively connected with a seventh pin and an eighth pin of the electronic switch (20), and a seventh pin of the USB3.0 interface (10) is connected with a ninth pin of the electronic switch (20);
a sixth pin of the electronic switch (20) is grounded, if a ninth pin is low level, the seventh pin is connected with the second pin, and the eighth pin is connected with the first pin, so that a USB2.0 signal is output; if the ninth pin is high, the seventh pin turns on the fourth pin, and the eighth pin turns on the third pin, thereby outputting a Debug signal.
2. The USB 3.0-based hardware duplication detection circuit for debugging serial ports as claimed in claim 1, wherein said electronic switch (20) is a switch chip.
3. The USB 3.0-based hardware duplication detection circuit for debugging serial ports as claimed in claim 2, wherein the electronic switch (20) is model number NCT39 3958Y, New Tang technologies, Inc.
4. The USB 3.0-based hardware reuse detection and debugging serial port circuit of claim 1, wherein a resistor (R) is further connected between the seventh pin of the USB3.0 interface (10) and the ninth pin of the electronic switch (20).
5. The USB 3.0-based hardware duplication detection and debugging serial port circuit of claim 4, wherein the resistance (R) is 100 Ω with 0.5% precision.
6. The USB 3.0-based hardware multiplexing detection circuit for debugging a serial port according to claim 1, wherein the electronic switch (20) further has a fifth pin, a tenth pin and an eleventh pin, the fifth pin is a ground terminal GND1, the eleventh pin is a ground terminal GND2, and the tenth pin is a power supply terminal VCC; the fifth pin and the eleventh pin of the electronic switch (20) are both grounded, and the tenth pin is connected with a 3.3V power supply.
7. The USB 3.0-based hardware multiplexing detection circuit for debugging a serial port as claimed in claim 6, wherein the tenth pin is further connected to one end of a capacitor (C), and the other end of the capacitor (C) is grounded.
8. The USB 3.0-based hardware duplication detection and debugging serial port circuit of claim 7, wherein the capacitor (C) has a parameter of X7R-25V-0.1 μ F.
9. A computer comprising the USB3.0 based hardware detection reuse as a debug serial port circuit of claim 1.
10. The computer of claim 9, being a desktop, a notebook, or a server.
CN202221453571.7U 2022-06-09 2022-06-09 USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer Active CN217506541U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221453571.7U CN217506541U (en) 2022-06-09 2022-06-09 USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221453571.7U CN217506541U (en) 2022-06-09 2022-06-09 USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer

Publications (1)

Publication Number Publication Date
CN217506541U true CN217506541U (en) 2022-09-27

Family

ID=83358985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221453571.7U Active CN217506541U (en) 2022-06-09 2022-06-09 USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer

Country Status (1)

Country Link
CN (1) CN217506541U (en)

Similar Documents

Publication Publication Date Title
CN102156681B (en) Mobile terminal and USB interface connection control device thereof
CN101452051B (en) Data processing device and method
CN105487955B (en) The test method of measurement jig and C type USB ports
CN105868140A (en) A mobile apparatus
CN113392054B (en) Interface integrated circuit and server
CN201877592U (en) USB interface structure and computer case with same
CN217506541U (en) USB3.0 hardware-based circuit for detecting and reusing debugging serial port and computer
CN102854417B (en) Master test board and testing method thereof
CN106647940B (en) Notebook computer
EP2648068A1 (en) Method and terminal for starting universal serial bus state machine
CN106569572B (en) Mainboard and computerized control system with the mainboard
CN217506535U (en) Circuit and computer for debugging serial port based on audio interface reuse
CN201421604Y (en) U disk
CN205595780U (en) Electrostatic protection device of USB interface
CN204697180U (en) Chip main board and television set
CN220627042U (en) Download controlling means based on USB
CN219039237U (en) Measure tool of mainboard Type-C interface voltage
CN203690882U (en) Computer USB interface short circuit prevention circuit
CN207053562U (en) It is a kind of can compatible USB and serial port function mobile phone Micro usb circuits
CN206353307U (en) Mobile terminal for debugging peripheral hardware
CN105491375B (en) The test system and method and television set of a kind of product circuit plate
CN105988962B (en) Overcurrent detecting system and circuit for detecting
CN202551059U (en) Multifunctional USB (Universal Serial Bus) network card
CN215068215U (en) Type-C interface auxiliary test and switching circuit
CN217880300U (en) Interface circuit with USB interface compatible with serial port and computer

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant