Debugging device, electronic equipment and debugging system

Through the I2C protocol and switching integrated circuits, the debugging device is directly connected to the electronic device through the USB interface, solving the problem of dismantling the existing debugging device, achieving convenient troubleshooting and extensive debugging coverage.

CN223078683UActive Publication Date: 2025-07-08SHENZHEN BITLAND INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202422339399.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-07-08
Estimated Expiration
2034-09-24

AI Technical Summary

Technical Problem

The existing debugging device requires disassembly of the electronic equipment chassis and connects it to the Debug card. It is inconvenient to use and the scope of troubleshooting is limited, especially when the network card fails.

Method used

Data transmission is carried out using the I2C protocol, connected to electronic devices through the USB interface, debugging results are displayed using the driver integrated circuit and the display, and switching the data transmission protocol with the switching of the integrated circuit to ensure that the debugging device can directly transmit data through the USB interface.

Benefits of technology

实现了无需拆机即可进行调试,扩大了故障排查范围,提高了调试装置的适用性和便捷性,节省了时间和成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223078683U_ABST
    Figure CN223078683U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model relates to the technical field of testing, and discloses a debugging device which is used for debugging electronic equipment and comprises a USB interface, a driving integrated circuit and a displayer, and the driving integrated circuit is connected with the USB interface and the displayer. A first pin of the USB interface is connected with a power supply and is in a high-level state; the USB interface is used for being connected with electronic equipment, receiving a debugging signal fed back by the electronic equipment and sending the debugging signal to the driving integrated circuit; the driving integrated circuit is used for converting the debugging signal into a data signal; the display is used for displaying debugging results based on the data signals. According to the scheme, the level of the USB interface pin of the debugging device is increased, so that the data transmission protocol is switched into the data transmission protocol matched with the debugging device after the electronic equipment identifies the high level of the USB interface pin. The debugging device can directly perform data transmission with the electronic equipment through the existing USB interface of the electronic equipment, and the electronic equipment does not need to be disassembled, so that the debugging device is simple to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of testing technologies, and in particular, to a debugging device, an electronic device, and a debugging system. Background Art

[0002] A debugging device (also known as a Debug card) is a diagnostic card used for detecting faults in electronic devices. It conducts detections when a computer starts up, and the built-in digital display on the Debug card will display various codes corresponding to the device under test according to the startup progress. If a certain device fails the test, the system will stop starting up, and the codes displayed on the Debug card will no longer change, thereby recording the faulty device and facilitating the rapid discovery and elimination of faults.

[0003] Currently, when a fault occurs in an electronic device, the existing Debug card needs to disassemble the chassis of the electronic device and connect to the Debug card through the interface on its main board for data transmission, which is rather inconvenient during use. Summary of the Invention

[0004] The main technical problem to be solved by the embodiments of the present application is how to make the debugging device simple and convenient to operate and facilitate the debugging work.

[0005] To solve the above technical problem, the embodiments of the present application adopt the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a debugging device for debugging an electronic device, including: a USB interface, a driving integrated circuit, and a display. The driving integrated circuit is respectively connected to the USB interface and the display; a first pin of the USB interface is connected to a power supply and is in a high-level state; the USB interface is used to connect to the electronic device, receive a debugging signal fed back by the electronic device, and send the debugging signal to the driving integrated circuit; the driving integrated circuit is used to convert the debugging signal into a data signal; the display is used to display a debugging result based on the data signal.

[0007] In some embodiments, the driving integrated circuit includes a driving chip and a signal transmission circuit. The input end of the signal transmission circuit is connected to the USB interface, and the output end of the signal transmission circuit is respectively connected to the driving chip; the signal transmission circuit is used to send the debugging signal to the driving chip.

[0008] In some embodiments, the signal transmission circuit includes a serial clock line and a serial data line. The input ends of the serial clock line and the serial data line are connected to the USB interface, and the output ends of the serial clock line and the serial data line are connected to the driving chip.

[0009] In some embodiments, a first resistor is provided on the serial clock line.

[0010] In some embodiments, a second resistor is provided on the serial data line.

[0011] In some embodiments, the display is a digital display tube.

[0012] In a second aspect, an embodiment of the present application provides an electronic device, including:

[0013] A USB interface; a main circuit board, the main circuit board includes a switching integrated circuit, and the switching integrated circuit is connected to the USB interface; the switching integrated circuit is configured to switch the communication protocol of the USB interface according to the potential of the first pin of the USB interface.

[0014] In some embodiments, the switching integrated circuit includes a switching chip, and the second pin of the switching chip is connected to the first pin of the USB interface.

[0015] In some embodiments, the switching integrated circuit further includes a level inversion circuit, the input end of the level inversion circuit is connected to the first pin of the USB interface, and the output end of the level inversion circuit is connected to the second pin of the switching chip.

[0016] In some embodiments, the level inversion circuit includes a transistor and a pull-up resistor, the gate of the transistor is connected to the first pin of the USB interface, the source of the transistor is grounded, the drain of the transistor is respectively connected to the first end of the pull-up resistor and the second pin of the switching chip, and the second end of the pull-up resistor is connected to the power supply.

[0017] In a third aspect, an embodiment of the present application further provides an electronic device debugging system, including: a debugging device as in the first aspect; and an electronic device as in the second aspect.

[0018] Differing from the prior art, an embodiment of the present application provides a debugging device for debugging an electronic device. The debugging device includes a USB interface, a driving integrated circuit, and a display. The driving integrated circuit is respectively connected to the USB interface and the display; the first pin of the USB interface is connected to the power supply and is in a high-level state; the USB interface is used to connect to the electronic device, receive the debugging signal fed back by the electronic device, and send the debugging signal to the driving integrated circuit; the driving integrated circuit is used to convert the debugging signal into a data signal; the display is used to display the debugging result based on the data signal. This solution ensures that the debugging device can directly perform data transmission with the electronic device through the existing USB interface of the electronic device by raising the level of the USB interface pin of the debugging device, so that the electronic device switches the data transmission protocol to a protocol matching the debugging device after recognizing the high level of the USB interface pin, without the need to disassemble the electronic device. Therefore, the debugging device is simple and convenient to operate, facilitating the debugging work. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] One or more embodiments are exemplarily illustrated by the pictures in the corresponding drawings. These exemplary illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the drawings in the figures do not constitute a scale limitation.

[0020] Figure 1 is a schematic structural diagram of a debugging device provided by an embodiment of the present utility model;

[0021] Figure 2 is a circuit diagram of a debugging device provided by an embodiment of the present utility model;

[0022] Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present utility model;

[0023] Figure 4 is a partial circuit schematic diagram of the main circuit board of an electronic device provided by an embodiment of the present utility model. Detailed implementation manners

[0024] The present application will be described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any form. It should be noted that those of ordinary skill in the art can make several deformations and improvements without departing from the concept of the present application. These all belong to the protection scope of the present application.

[0025] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the present application. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the flowchart. In addition, the words "first", "second", "third", etc. used herein do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0027] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used in this specification in the description of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0028] In addition, the technical features involved in the various embodiments of this application described below can be combined with each other as long as they do not conflict with each other.

[0029] In real life, electronic products such as laptop computers have a wide range of uses. However, due to factors such as service life and usage environment, various faults are likely to occur during the actual use of laptop computers. In order to facilitate maintenance personnel to quickly locate the problem points and analyze the cause of the faults after the faults occur, an auxiliary debugging device (also called a debug card) can be used to help maintenance personnel locate product problems in a timely manner and solve the problems.

[0030] At present, most of the existing debug cards use the LPC protocol for data transmission. On the one hand, since the LPC protocol uses more pins, the above-mentioned debug card needs to be connected to and transmit data through the built-in interface of an electronic device (such as a computer). In actual use, it is necessary to disassemble the faulty computer, which prolongs the fault troubleshooting time and makes the debug card inconvenient to use. On the other hand, the debug card using the LPC protocol transmits data to the computer through the M.2 interface of the built-in network card. When the network card of the computer fails, the above-mentioned debug card cannot perform corresponding debugging on it. Therefore, the existing debug cards have a limited fault troubleshooting range and the troubleshooting range coverage is not comprehensive enough.

[0031] In view of this, an embodiment of the present utility model provides a debugging device. Please refer to Figure 1 and Figure 2 , the debugging device 100 includes a USB interface 110, a driving integrated circuit 120, and a display 130. Among them, the first pin 11 of the USB interface 110 (labeled as pin 7 of the USB interface 110 in the figure) is externally connected to the power supply VCC, so the first pin 11 shows a high-level state.

[0032] One end of the driving integrated circuit 120 is connected to the USB interface 110, and the other end is connected to the display 130. The USB interface 10 is connected to the electronic device 200, receives the debugging signal fed back from the electronic device 200, and sends the debugging signal to the driving integrated circuit 120. The driving integrated circuit 120 converts the received debugging signal into a data signal and provides it to the display 130 for corresponding fault code display.

[0033] The driving integrated circuit 120 includes a driving chip 121 and a signal transmission circuit 122. The input end of the signal transmission circuit 122 is connected to the USB interface 110, and the output end is connected to the driving chip 121.

[0034] Please refer to Figure 2 , pins 2 and 3 of the USB interface 110 receive test signals from the electronic device 200. The above test signals include data information related to the electronic device during the startup and operation processes. According to the node positions preset by the corresponding test software, the data information related to the corresponding positions is used as test signals and sent to the debugging device 100 through the USB interface 110. The above debug card performs data transmission with the electronic device 200 through the I 2 C protocol. Among them, the I 2 C protocol only requires two buses to perform data transmission. Therefore, the debugging device 100 can receive the test signals transmitted by the electronic device 200 according to pins 2 and 3 in the USB interface 110 connected to the electronic device, and send the above test signals to the driving chip 121 through the signal transmission circuit 122.

[0035] The driving chip 121 is an integrated circuit specifically used to drive a display. In some embodiments, the display is a digital display tube, which is an electronic device used to display numbers and some characters, usually composed of multiple light-emitting diodes (LEDs) or liquid crystal display units (LCDs). The driving chip 121 converts the debugging signals from the electronic device 200 into a format that the digital tube can understand. For example, it converts binary codes into the on and off states of the corresponding LEDs in the digital tube. Among them, the driving chip 121 is usually designed with interfaces compatible with different microcontrollers and systems, such as I 2 C, SPI, parallel interfaces, etc. It should be noted that the driving chips in the embodiments of the present invention are Ai P650EO-SA16.TR and MAX6958AAEE, and their similar chips.

[0036] According to the node information set by the test software, receive the data information transmitted by the electronic device 200 at the corresponding positions, and perform data information conversion through the driving integrated circuit 120, so that the display 130 can display the received data information. When the electronic device 200 fails, the debugging device 100 can display the information during the debugging process through the display 130, which is beneficial for maintenance personnel to quickly locate problems, shorten the maintenance time of the electronic device 200, and save manpower.

[0037] Please refer to Figure 2, the signal transmission circuit 122 further includes a serial clock line 1221 and a serial data line 1222. The input ends of the serial clock line 1221 and the serial data line 1222 are connected to the USB interface 110, and the output ends are connected to the driving chip 121.

[0038] I 2 Only two buses are required during data transmission in the I

[0039] C protocol, namely a serial clock line 1221 and a serial data line 1222. Among them, the serial data line 1222 is used to transmit data bytes, and the serial clock line 1221 is used to provide a clock signal for data transmission. When the serial clock line 1221 is at a high level, the serial data line 1222 changes from a high level to a low level, indicating the start of data transmission; data is transmitted byte by byte, each byte is 8 bits, and the MSB (Most Significant Bit) is transmitted first, and each byte is followed by an ACK bit; when the serial clock line 1221 is at a high level, the serial data line 1222 changes from a low level to a high level, indicating the end of data transmission.

[0040] When the debugging device 100 uses I 2 C protocol for data transmission, only two data buses, namely the serial clock line 1221 and the serial data line 1222, are required. Therefore, compared with using the LPC protocol for data transmission, using I 2 C protocol for data transmission requires fewer pins. The debugging device 100 can use other interfaces to perform data transmission with the electronic device 200, not limited to using the M.2 interface built in the network card to perform data transmission with the electronic device 200.

[0041] It can be understood that if the network card of the electronic device 200 fails, the above-mentioned debugging device 100 can debug the network card failure and troubleshoot problems, making the applicable range of the debugging device 100 wider and the coverage of troubleshooting more comprehensive.

[0042] Please refer to Figure 2, a first resistor 1221a is provided on the serial clock line 1221, and a second resistor 1222a is provided on the serial data line 1222. By providing corresponding resistors 1221a and 1222a on the serial clock line 1221 and the serial data line 1222 of the transmission circuit, on the one hand, the circuit safety is ensured, and damage to the driving chip 121 caused by unstable voltage is avoided; on the other hand, the resistors provided on the above-mentioned bus provide multiple options for the debugging device 100, and specific production plans can be selected according to the actual situation of the warehouse during actual production.

[0043] Please refer to Figure 3 , the present utility model provides an electronic device 200, which includes a USB interface 210 and a main circuit board 220. The main circuit 220 includes a switching integrated circuit 221, and the switching integrated circuit 221 is connected to the USB interface 210 and switches the communication protocol of the USB interface 210 according to the pin level state of the USB interface 210.

[0044] Among them, as Figure 4 shown, the switching integrated circuit 221 includes a switching chip 2211, and the second pin 2211a of the switching chip 2211 (labeled as pin 9 of the switching chip 2211 in the figure) is connected to the first pin 211 of the USB interface 210. When no device is connected to the USB interface 210, its first pin 211 ( Figure 4 labeled as pin 7 of the USB interface 210 in the figure) shows a low level state. If the corresponding pin of the USB interface of the device connected to the USB interface 210 shows a high level state, then the first pin 211 of the USB interface 210 shows a high level state; if the corresponding pin of the USB interface of the device connected to the USB interface 210 shows a low level state, then the first pin 211 of the USB interface 210 shows a low level state.

[0045] It can be known from the foregoing that the first pin 11 of the USB interface 110 of the debugging device 100 ( Figure 2 labeled as pin 7 of the USB interface 110 in the figure) is in a high level state. If it is connected to the electronic device 200 through the USB interface 210, then the first pin 211 of the USB interface 210 of the electronic device 200 shows a high level state, and the electronic device 200 switches the data transmission protocol to I 2 C protocol; if an ordinary USB device is connected to the electronic device 200 through the USB interface 210, then the first pin 211 of the USB interface 210 of the electronic device 200 shows a low level state, and the electronic device 200 does not change the data transmission protocol. It should be noted that the switching chip in the embodiment of the present utility model is D IO3212DN10 and its same type of chips.

[0046] The electronic device 200 switches the data transmission protocol according to the level state of the first pin 211 of the USB interface 210, which can ensure that when the debugging device 100 is connected to the electronic device 200 through the USB interface 210, the electronic device 200 uses the I 2 C protocol for data transmission, so that there is no need for an additional interface device, and the debugging device 100 can directly perform data transmission through the existing USB interface 210 of the electronic device 200. On the one hand, the above method avoids the disassembly operation of the electronic device 200 when a fault occurs and needs to be troubleshot. On the other hand, directly performing data transmission through the existing USB interface 210 of the electronic device 200 also avoids corresponding hardware modifications to the electronic device 200, saving costs.

[0047] Please continue to refer to Figure 4 . The ninth pin of the switching chip is connected to a +5v power supply VCC, and the seventh pin of the USB interface 210 is connected to a +3.3v power supply VCC. In order to keep the power supply consistent, in some embodiments, the switching integrated circuit 221 further includes a level inversion circuit 2212. The input end of the level inversion circuit 2212 is connected to the first pin 211 of the USB interface 210, and the output end of the level inversion circuit 2212 is connected to the second pin 2211a of the switching chip 2211. The function of the level inversion circuit 2212 is to invert the input level and then output it. For example, if the input level to the level inversion circuit 2212 is high, the level inversion circuit 2212 outputs a low level; if the input level to the level inversion circuit 2212 is low, the level inversion circuit 2212 outputs a high level.

[0048] It can be understood that the input end of the level inversion circuit 2212 is the first pin 211 of the USB interface 210, and the output end of the level inversion circuit 2212 is connected to the second pin 2211a of the switching chip 2211. If the debugging device 100 is connected to the electronic device 200 through the USB interface 210, the first pin 211 of the USB interface 210 of the electronic device 200 shows a high level state, the input of the level inversion circuit 2212 is high, and the output is low after inversion, then the second pin 2211a of the switching chip 2211 shows a low level, and the switching chip switches the data transmission protocol to I according to the truth table 2213 2C protocol. If a common USB device is connected to the electronic device 200 through the USB interface 210, the first pin 211 of the USB interface 210 of the electronic device 200 shows a low level state. The input of the level inversion circuit 2212 is low level, and after inversion, the output is high level. Then, the second pin 2211a of the switching chip 2211 shows a high level. The switching chip uses the USB protocol as the data transmission protocol according to the truth table 2213. Among them, the truth table is a table used to describe the logical relationship between the inputs and outputs of a digital logic circuit or a logic function. It lists all possible input combinations and the corresponding output results, usually including input columns, output columns, and logical expressions. The specific content of the truth table 2212 is as Figure 4 shown.

[0049] In some embodiments, the level inversion circuit 2212 includes a transistor 2212a and a pull-up resistor 2212b. The gate 2212a-G of the transistor is connected to the first pin 211 of the USB interface 210. The source 2212a-S of the transistor is grounded. The drain 2212a-D of the transistor is connected to one end of the pull-up resistor 2213, and the other end of the pull-up resistor 2213 is externally connected to the power supply VCC of +3.3V.

[0050] When the input signal is at a low level, the voltage of the gate 2212a-G is lower than the threshold voltage, and the transistor 2212a is not turned on. The output terminal is connected to the high level (Vcc) through the pull-up resistor 2213, so the output is high level. When the input signal is at a high level, the voltage of the gate 2212a-G is higher than the threshold voltage, and the transistor 2212a is turned on. The output terminal is connected to the low level (GND) through the transistor 2212a, so the output is low level.

[0051] By combining the transistor 2212a with the pull-up resistor 2212b to form an inversion circuit, not only can the level inversion be achieved, and the switching of the data transmission protocol can be realized by combining the truth table 2213 and the switching chip 2211, but also the power supply of the switching chip 2211 and the integrated circuit can be kept consistent. On the one hand, it can ensure that the logic components operate at the correct logic level and avoid logic errors caused by voltage fluctuations; on the other hand, it can also reduce the noise interference generated by the voltage fluctuation of the power supply, improve the anti-interference ability of the circuit, and ensure the stability and reliability of the circuit.

[0052] In summary, this solution adopts I 2The C protocol, as the data transmission protocol of the debugging device 100, reduces the pins required by the debugging device 100. It can be connected to the electronic device through the USB interface, avoiding occupying the built-in M.2 interface of the network card of the electronic device. When the network card of the electronic device fails, the debugging device 100 can also debug and troubleshoot it, enhancing the applicability of the debugging device 100 and making the debugging range of the debugging device 100 more extensive. In addition, by setting the first pin of the USB interface 110 of the debugging device 100 to a high level to cooperate with the level inversion circuit 2212 and the truth table 2213 of the electronic device 200 to realize the switching of the signal transmission protocol of the electronic device 200, the debugging device 100 can realize data transmission with the electronic device 200 through the existing USB interface 210 of the electronic device 200 without adding an external interface, which not only reduces the usage cost but also increases the convenience of using the debugging device.

[0053] It should be noted that the device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0054] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them; under the idea of the present application, the technical features in the above embodiments or different embodiments can also be combined, and the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above. For the sake of brevity, they are not provided in detail; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A debugging device, characterized in that, The debugging device is used to debug an electronic device. The debugging device includes a USB interface, a driving integrated circuit, and a display. The driving integrated circuit is respectively connected to the USB interface and the display; The first pin of the USB interface is connected to a power supply and is in a high-level state; The USB interface is used to connect to the electronic device, receive the debugging signal fed back by the electronic device, and send the debugging signal to the driving integrated circuit; The driving integrated circuit is used to convert the debugging signal into a data signal; the display is used to display the debugging result based on the data signal.

2. The debugging device according to claim 1, wherein The driving integrated circuit includes a driving chip and a signal transmission circuit. The input end of the signal transmission circuit is connected to the USB interface, and the output end of the signal transmission circuit is respectively connected to the driving chip; The signal transmission circuit is used to send the debugging signal to the driving chip.

3. The debugging device according to claim 2, characterized in that The signal transmission circuit includes a serial clock line and a serial data line. The input ends of the serial clock line and the serial data line are connected to the USB interface, and the output ends of the serial clock line and the serial data line are connected to the driving chip.

4. The debugging device according to claim 3, characterized in that, A first resistor is provided on the serial clock line.

5. The debugging device according to claim 3, characterized in that, A second resistor is provided on the serial data line.

6. The debugging device according to claim 1, characterized in that The display is a digital display tube.

7. An electronic device, characterized in that, Comprising: A USB interface; A main circuit board, the main circuit board includes a switching integrated circuit, and the switching integrated circuit is connected to the USB interface; The switching integrated circuit is used to switch the communication protocol of the USB interface according to the potential of the first pin of the USB interface.

8. The electronic device according to claim 7, wherein The switching integrated circuit includes a switching chip, and the second pin of the switching chip is connected to the first pin of the USB interface.

9. The electronic device according to claim 8, wherein The switching integrated circuit further includes a level inversion circuit. The input end of the level inversion circuit is connected to the first pin of the USB interface, and the output end of the level inversion circuit is connected to the second pin of the switching chip.

10. The electronic device according to claim 9, wherein, The level inversion circuit includes a transistor and a pull-up resistor. The gate of the transistor is connected to the first pin of the USB interface, the source of the transistor is grounded, the drain of the transistor is respectively connected to the first end of the pull-up resistor and the second pin of the switching chip, and the second end of the pull-up resistor is connected to the power supply.

11. An electronic device debugging system, characterized in that, Comprising: The debugging device according to any one of claims 1-6; And an electronic device according to any one of claims 7-9.

Citation Information

Cited By

  • Backlight drive debugging system and method

    CN121122199A