Electronic equipment debugging structure

By designing the first switching circuit and the second switching circuit of the external device in the electronic device, communication with the motherboard is realized without disassembly, the problem of complex and time-consuming testing and verification process is solved, and a simple and efficient debugging structure is realized.

CN222690150UActive Publication Date: 2025-03-28HEFEI LCFC INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420570897.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2025-03-28
Estimated Expiration
2034-03-19

AI Technical Summary

Technical Problem

During the NPI process of electronic devices, disassembly is required during testing and verification, which leads to complex operation, time-consuming and easy to damage the site, and missed analysis opportunities.

Method used

An electronic equipment debugging structure is designed to communicate between different connection points on the motherboard and the first connector through the first switching circuit, and communicate with different connection points on the motherboard through the second switching circuit of the external device, without disassembly operation.

Benefits of technology

The test verification process is simplified, making the operation more convenient, and reducing the time and complexity of test verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222690150U_ABST
    Figure CN222690150U_ABST
Patent Text Reader

Abstract

The utility model provides an electronic equipment debugging structure, the electronic equipment comprises a mainboard and a first connector connected with the mainboard, the mainboard is provided with a CPU and an embedded controller, the debugging structure comprises a first switching circuit, the first switching circuit is provided with a first control end, a first output end and a plurality of first input ends, the first input ends are connected with different connection points of the mainboard, and the first control end is connected with the first output end; the first output end is connected with the first connector, and the first control end conducts the corresponding first input end and the first output end according to a control instruction stored in the embedded controller; the external device comprises a second connector, a second switching circuit and a mode circuit, the second connector is connected with the first connector, the second switching circuit comprises a second input end, a second control end and a plurality of second output ends, the second control end controls the second input end to be conducted with a second output, the second input end is connected with the second connector, and the mode circuit is connected with the second connector. And each mode circuit is connected with one second output end and is used for realizing different function modes. The method is simple to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computers, and in particular to an electronic device debugging structure. Background Art

[0002] Laptops and other electronic devices need to go through a test verification phase during the NPI (New Product Introduction) process, which can reveal existing problems. When a problem is found during the test verification phase, it is necessary to read the system operation log to determine the type of problem and where it may have occurred.

[0003] During the test verification, it is necessary to disassemble the machine, weld wires at the corresponding connection points, and use additional serial port tools to export the system operation log. Disassembly can easily destroy the site, resulting in missed analysis opportunities, making the test verification implementation process complicated, time-consuming, and inconvenient to operate. Utility Model Content

[0004] The embodiments of the present disclosure provide an electronic device debugging structure, which can simplify the test verification process and is easy to operate.

[0005] According to a first aspect of the present disclosure, there is provided an electronic device debugging structure, the electronic device comprising a mainboard and a first connector connected to the mainboard, the mainboard being provided with a CPU and an embedded controller, the debugging structure comprising:

[0006] A first switch circuit has a first control end, a first output end and a plurality of first input ends, wherein the plurality of first input ends are connected to different connection points on the mainboard, the first output end is connected to the first connector, and the first control end controls the corresponding first input end to be connected to the first output end according to a control instruction stored in the embedded controller;

[0007] The external device includes a second connector, a second switch circuit and multiple mode circuits, wherein the second connector is used to connect to the first connector, the second switch circuit includes a second input terminal, a second control terminal and multiple second output terminals, the second control terminal controls the second input terminal to be connected to one of the second output terminals, the second input terminal is connected to the second connector, each of the mode circuits is connected to one of the second output terminals, and different mode circuits are used to implement different functional modes.

[0008] In one possible implementation manner, the external device further includes a mode selection unit, and the mode selection unit is connected to the second control terminal and is used to control the second switch circuit to turn on the target mode circuit.

[0009] In one possible implementation manner, the first input end includes a CPU serial port input end, and the CPU serial port input end is used to obtain a system operation log of the electronic device through the CPU serial port;

[0010] The mode circuit includes a USB mode circuit, a storage mode circuit and a network mode circuit. The USB mode circuit is used to convert the system operation log into a file suitable for USB transmission and output it in real time through a USB interface; the storage mode circuit is used to convert the system operation log into a file suitable for local storage so as to store the system operation log locally; the network mode circuit is used to convert the system operation log into a file suitable for network transmission so as to transmit it to a remote server through a network interface.

[0011] In one possible implementation, the mode circuit further includes a reading circuit, and the reading circuit is connected to the storage mode circuit to read the system operation log stored locally.

[0012] In one possible implementation, the first input end further includes an EC serial port input end, and the EC serial port input end is used to obtain process data running by the embedded controller through the serial port of the embedded controller;

[0013] The mode circuit further comprises a digital display circuit, and the digital display circuit is used to display the running position of the software code of the embedded controller.

[0014] In one embodiment, the first input terminal further comprises an EC bus input terminal, which is used to connect to an SMBUS (System Management Bus) of the embedded controller to update and / or debug the embedded controller's own program;

[0015] The mode circuit also includes a reserved debugging interface circuit for connecting a debugging device to debug the embedded controller or the CPU.

[0016] In one possible implementation manner, the first input end further includes a mainboard USB input end, which is used for the mainboard to communicate with the outside through the first connector, and the first switch circuit defaults to connecting the mainboard USB input end and the first output end.

[0017] In one possible implementation manner, the external device further includes a power control circuit, and the power control circuit is used to provide power to the external device.

[0018] In one possible implementation manner, the power control circuit is connected to the second connector to provide power through the first connector.

[0019] In one possible implementation manner, the USB mode circuit includes a USB interface, and the power control circuit is connected to the USB interface of the USB mode circuit so that a terminal connected to the USB interface provides power to the external device.

[0020] In one possible implementation manner, the power supply control circuit includes a first voltage output terminal and a second voltage output terminal, the first voltage output terminal is used to output a first voltage, the second voltage output terminal is used to output a second voltage, the second voltage is higher than the first voltage, and the first voltage output terminal and the second voltage output terminal provide the first voltage and the second voltage to the external device.

[0021] In the debugging structure of the electronic device disclosed in the present invention, different connection points on the mainboard are connected to the first connector through the first switch circuit, so that communication with the outside of the electronic device is achieved through the first connector, and the external device is connected to the first connector through the second connector. Communication between the external device and different connection points of the mainboard can be achieved without disassembling the device, which simplifies the test and verification process and is easy to operate. The external device connects the second connector to a mode circuit through the second switch circuit. Different mode circuits can enable the debugging structure to achieve different functional modes, thereby meeting various needs in the test and verification process of the electronic device.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0024] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0025] Figure 1 A structural schematic diagram of an electronic device debugging structure according to an embodiment of the present disclosure is shown.

[0026] Explanation of numbers in the figure: 1-mainboard, 2-first connector, 3-CPU, 4-embedded controller, 5-first switch circuit, 6-second connector, 7-second switch circuit, 8-USB mode circuit, 9-storage mode circuit, 10-reading circuit, 11-network mode circuit, 12-digital display circuit, 13-reserved debugging interface circuit, 14-test point circuit, 15-power control circuit, 16-mode selection unit, 17-charging power supply, 18-keyboard. DETAILED DESCRIPTION

[0027] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0028] The embodiment of the present disclosure provides an electronic device debugging structure, the electronic device includes a mainboard 1 and a first connector 2, the first connector 2 is connected to the mainboard 1, and the first connector 2 is used for the electronic device to communicate with the outside. The mainboard 1 is provided with a CPU 3 and an embedded controller 4. The debugging structure of the embodiment of the present disclosure can be used for testing and verification in the development stage of the electronic device.

[0029] The debugging structure of the disclosed embodiment includes a first switch circuit 5 and an external device. The first switch circuit 5 can be arranged on the mainboard 1, and the first switch circuit 5 is used to connect different connection points on the mainboard 1 to the first connector 2. The external device is connected to the first connector 2 through the second connector 6, so that it can be connected to different connection points of the mainboard 1 to achieve communication with different connection points. The external device communicates with the mainboard 1 through different connection points and can obtain and / or upload data. The acquired data includes a system operation log, which can be used to determine the type of problem existing in the electronic device and the location where it may occur. The uploaded data may include program update data, for example, it can be used for program update of the embedded controller 4.

[0030] The first switch circuit 5 has a first control terminal, a first output terminal and a plurality of first input terminals, the plurality of first input terminals are connected to different connection points on the mainboard 1, the first output terminal is connected to the first connector 2, and the first control terminal controls the corresponding first input terminal to be connected to the first output terminal according to the control instruction stored in the embedded controller 4. The control instruction is stored in the embedded control system, which is convenient for reading during the test verification process to connect the corresponding connection point to the first connector 2, so as to realize different test verifications.

[0031] The external device includes a second connector 6, a second switch circuit 7 and a plurality of mode circuits. The second connector 6 is used to connect to the first connector 2. The second switch circuit 7 includes a second input terminal, a second control terminal and a plurality of second output terminals. The second control terminal controls the second input terminal to be connected to one of the second output terminals. The second input terminal is connected to the second connector 6. Each mode circuit is connected to a second output terminal. Different mode circuits are used to realize different functional modes. The mode circuit corresponding to the required functional mode is the target mode circuit. The second input terminal is controlled to be connected to the target mode circuit by the second control terminal to realize the required functional mode. The mode circuit is used to enable the debugging structure to realize different functional modes, for example, it can realize multiple output modes of the system operation log of the electronic device, or realize debugging, updating and other functions, which expands the application scope of the adjustment structure of the present disclosure.

[0032] In the electronic device debugging structure disclosed in the present invention, different connection points on the mainboard 1 are connected to the first connector 2 through the first switch circuit 5, so that communication with the outside of the electronic device is achieved through the first connector 2, and the external device is connected to the first connector 2 through the second connector 6. Communication between the external device and different connection points of the mainboard 1 can be achieved without disassembling the device, which simplifies the test and verification process and is easy to operate. The external device connects the second connector 6 to a mode circuit through the second switch circuit 7. Different mode circuits can achieve different functional modes, thereby meeting various needs in the test and verification process of the electronic device.

[0033] In the embodiment of the present disclosure, the electronic device can be connected to the first switch circuit 5 through different connection points to output data or receive data. The output data includes a system operation log, and the received data may include program update data, etc. In the exemplary embodiment, the multiple first input terminals include a CPU3 serial port input terminal, an EC serial port input terminal, an EC bus input terminal, and a mainboard USB input terminal.

[0034] In the embodiment of the present disclosure, the first connector 2 and the second connector 6 may be USB connectors, respectively. In a specific implementation, the first connector 2 and the second connector 6 may be Type-C connectors, respectively. The first connector 2 and the second connector 6 may be directly connected, for example, the first connector 2 is a Type-C socket, and the second connector 6 is a Type-C plug. The first connector 2 and the second connector 6 may also be connected via a data cable, for example, the first connector 2 and the second connector 6 are both Type-C sockets, and the first connector 2 and the second connector 6 are connected via a data cable with Type-C plugs at both ends.

[0035] In one possible implementation, the first input terminal includes a CPU3 serial port input terminal, and the CPU3 serial port input terminal is used to obtain the system operation log of the electronic device through the CPU3 serial port. In a specific embodiment, the CPU3 serial port input terminal can be connected to the CPU3 serial port through the south bridge circuit on the mainboard 1 to obtain the system operation log from the CPU3 serial port, and output it to the external device through the first connector 2, and realize local output, local storage, network transmission, etc. through different mode circuits of the external device.

[0036] The mode circuit may include at least one of a USB mode circuit 8, a storage mode circuit 9 and a network mode circuit 11, wherein the USB mode circuit 8 is used to convert the system operation log into a file suitable for USB transmission and output it in real time through a USB interface. The USB mode circuit 8 includes a USB interface, and other terminals can be connected through the USB interface of the USB mode circuit 8, so that the system operation log can be output to the terminal in real time. The terminal can operate independently and has a display component. The system operation log is transmitted to the terminal and can be displayed and stored in real time on the terminal. In a specific implementation, the terminal can be a laptop computer.

[0037] The storage mode circuit 9 is used to convert the system operation log into data suitable for local storage, so as to store the system operation log locally. The storage mode circuit 9 can be a SDIO (Secure Digital Input and Output) mode circuit, through which the system operation log can be stored in a memory card. In an exemplary embodiment, the storage mode circuit 9 includes an SDIO slot, and an SDIO card or an SD card can be inserted into the SDIO slot to store data such as the system operation log output by the electronic device under test.

[0038] The network mode circuit 11 is used to convert the system operation log into a format suitable for network transmission, so as to transmit it to the remote server through the network interface. The network mode circuit 11 may include a network interface, and the network is connected through the network interface, so that the system operation log is transmitted through the network. In an exemplary embodiment, the system operation log can be transmitted to the remote server through the network. The system operation log is stored in the remote server, and the terminal can access the remote server through the network to obtain the system operation log stored on the remote server. The network interface can specifically adopt an RJ45 interface.

[0039] In one embodiment, the mode circuit further includes a reading circuit 10, and the reading circuit 10 is connected to the storage mode circuit 9 to read the system operation log stored locally. The mode circuit includes a reading interface, through which the system operation log stored locally can be read. The reading interface can specifically adopt a USB interface, such as a USBA 2.0 interface. While the system operation log is stored locally in real time through the storage mode circuit 9, the system operation log stored on the SD card or SDIO card can be read through the reading circuit 10, which is convenient for users to transfer the system operation log.

[0040] In one embodiment, the first input terminal further includes an EC (embedded controller 4) serial port input terminal, and the EC serial port input terminal is used to obtain process data of the embedded controller 4 through the serial port of the embedded controller 4. In a specific implementation, the EC serial port input terminal can be connected to the serial port of the embedded controller 4 to obtain the power-on self-test data from the serial port of the embedded controller 4.

[0041] The mode circuit also includes a digital display circuit 12, which is used to display the software code running process position of the embedded controller 4. In a specific implementation, the digital display circuit 12 may include an 8-bit digital tube display for displaying a power-on self-test code (POST Code). The digital display circuit 12 may be driven by an 8-bit Edge-Triggered Shift Register (8-bit edge-triggered shift register) or an MCU (Microcontroller Unit).

[0042] In one embodiment, the first input terminal also includes an EC bus input terminal, which is used to connect to the SMBUS bus of the embedded controller to update and / or debug the embedded controller 4's own program. The first input terminal is connected to the SMBUS (System Management Bus), and the embedded controller 4's own program can be updated and / or debugged through the embedded controller 4 interface.

[0043] The mode circuit also includes a reserved debugging interface circuit 13 for connecting a debugging device to debug the embedded controller 4 or the CPU 3. When the first switch circuit 5 turns on the EC bus input terminal, the second switch circuit 7 turns on the reserved debugging interface circuit 13, so that the program of the embedded controller 4 can be updated and / or debugged.

[0044] In one embodiment, the first input terminal also includes a mainboard USB input terminal, which is used for the mainboard 1 to communicate with the outside through the first connector 2. The first switch circuit 5 can be set to turn on the mainboard USB input terminal by default, so as to realize the normal communication function between the mainboard 1 and the outside. In the embodiment of the present disclosure, there is no need to add an additional connector to the electronic device. The first connector 2 of the electronic device is reused by the first switch circuit 5, so that the first connector 2 can realize the normal communication function between the mainboard 1 and the outside, such as connecting peripherals such as mobile storage devices, mice, printers, etc., and can also be connected to the external device of the debugging structure of the embodiment of the present disclosure to realize test verification.

[0045] In one embodiment, the mode circuit further includes a test point circuit 14 for extending test points, such as IPCM, PCH_USB2.0 and other test points.

[0046] In one embodiment, the external device further includes a power control circuit 15, which is used to provide power to the external device. The power control circuit 15 provides appropriate power to the external device to match the power level of the CPU 3 of the electronic device.

[0047] The power control circuit 15 may include a DC / DC mode circuit (DC / DC) and a voltage regulation circuit (LDO).

[0048] The power control circuit 15 can be connected to multiple input sources to provide multiple power supply modes.

[0049] The power control circuit 15 can be connected to the built-in charging power supply 17, and the power control circuit 15 can charge the charging power supply 17, and the charging power supply 17 can also provide power to the external device through the power control circuit 15. The external device includes a built-in charging power supply 17, and the charging power supply 17 provides power, which can be applied to the scene where the electronic device is powered off during the electronic device hibernation (S4) and shutdown (S5) stress test, so that the debugging structure disclosed in the present invention has a wide range of applications.

[0050] The power control circuit 15 can also be connected to an external power source through an interface of an external device, so as to use the external power source to provide power to the external device. The interface of the external device includes a second connector 6 and interfaces of each mode circuit.

[0051] In one embodiment, the power control circuit 15 is connected to the second connector 6 to provide power through the first connector 2. When the second connector 6 is connected to the first connector 2, the electronic device supplies power to the external device.

[0052] In one embodiment, the USB mode circuit 8 includes a USB interface, and the power control circuit 15 is connected to the USB interface of the USB mode circuit 8 so that the terminal connected to the USB interface provides power. When the terminal is connected to the USB mode circuit 8 through the USB interface, the system operation log can be transmitted to the terminal in real time, and the terminal can also power the external device. The USB interface of the USB mode circuit 8 can specifically be a Type-C interface.

[0053] In one embodiment, the power control circuit 15 includes a first voltage output terminal and a second voltage output terminal, the first voltage output terminal is used to output a first voltage, the second voltage output terminal is used to output a second voltage, the second voltage is higher than the first voltage, and the first voltage output terminal and the second voltage output terminal provide the first voltage or the second voltage for the external device. The power control circuit 15 can output different voltages to meet the different power requirements of different parts of the circuit of the external device. For example, the voltages required by different mode circuits are different, or the voltages required by the second switch circuit 7 and the mode circuit are different. The first voltage is, for example, 1.8V, and the second voltage is 3.3V, which can respectively power different parts of the circuit of the external device. In addition, the power control circuit 15 includes at least two voltage output terminals, which output different voltages. In addition to providing different voltages of power to the external device, it can also match different devices under test. For example, when the level of the output signal of the electronic device under test is 1.8V, the first voltage output terminal can be selected to match it, and when the level of the output signal of the electronic device under test is 3.3V, the second voltage output terminal can be selected to match it.

[0054] In the embodiment of the present disclosure, the first output terminal and the second output terminal can be connected to the power unit of the external device through a switching circuit to provide corresponding voltages. The switching circuit can specifically select the first voltage output terminal or the second voltage output terminal to provide power to different parts of the external device by means of a jumper.

[0055] In one embodiment, the external device further includes a mode selection unit 16, which is connected to the second control terminal and is used to control the second switch circuit 7 to conduct the target mode circuit through the second control terminal. In a specific implementation, the mode selection unit 16 can be a dip switch, and the target mode circuit is conducted to the second input terminal through the dip switch.

[0056] In the embodiment of the present disclosure, the first switch circuit 5 and the second switch circuit 7 can respectively adopt analog switch circuits. For example, the first switch circuit 5 adopts a PI3USB14 analog switch circuit.

[0057] In the disclosed embodiment, the conduction of the first switch circuit 5 can be controlled by the keyboard 18. In a specific implementation, the conduction control of the first switch circuit 5 is realized by using a keyboard 18 hotkey. The test verification can be enabled or disabled by a predefined hotkey value. By controlling the first switch circuit 5 by the keyboard 18 hotkey, multi-channel output of the electronic device under test can be realized, and the structure is simple and easy to implement.

[0058] The user operates the shortcut key to store the key value in the memory of the embedded controller 4. During the test and verification, the key value stored in the embedded controller 4 is parsed to obtain the predefined control instruction, thereby controlling the first input terminal corresponding to the first switch circuit 5 to be turned on.

[0059] According to the input key value, the user controls the corresponding mode circuit to be turned on through the analog-to-digital selection unit to achieve corresponding test verification.

[0060] Table 1 below is an example of the definition of shortcut key values.

[0061] Table 1

[0062] Function shortcut key use Turn off debugging Fn+D+0 (press to take effect in S5) Turn off debugging CPU serial port function Fn+D+1 (press to take effect under S5) Connect the CPU serial port EC serial port function Fn+D+8 (press to take effect under S5) Connect EC serial port EC upgrade and commissioning Fn+D+9 (press to take effect in S5) Turn on the EC SMBUS bus

[0063] For example, when the first switch circuit 5 turns on the serial port input end of the CPU 3 to output the system operation log, the user can select one of the USB mode circuit 8, the storage mode circuit 9 and the network mode circuit 11 to turn on according to the output mode required for the system operation log. When the USB mode circuit 8 is selected to be turned on, the system operation log can be transmitted to the terminal in real time via USB for storage and real-time display. When the storage mode circuit 9 is selected to be turned on, the system operation log can be stored in real time in the SDIO card or SD card, and the system operation log in the SDIO card or SD card can be read through the reading interface. When the network mode circuit 11 is selected to be turned on, the system operation log can be transmitted to a remote server via the network.

[0064] When the first switch circuit 5 conducts the EC serial port input terminal, the user can conduct the digital display circuit 12 through the mode selection unit 16 to display the power-on self-test code in real time. Different power-on self-test codes can be displayed according to the specific shortcut key value of the EC serial port input terminal.

[0065] When the first switch circuit 5 turns on the EC bus input terminal, the user can turn on the reserved debugging interface circuit 13 through the mode selection unit 16 to update and / or debug the program of the embedded controller 4 .

[0066] When there is no control instruction generated based on the shortcut key in the embedded controller 4 , the first switch circuit 5 turns on the USB input terminal of the mainboard by default, which will not affect the input and output functions of the mainboard 1 .

[0067] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of this disclosure can be achieved, and this document is not limited here.

[0068] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0069] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. An electronic device debugging structure, the electronic device comprising a mainboard and a first connector connected to the mainboard, the mainboard being provided with a CPU and an embedded controller, characterized in that: The debug structure includes: A first switch circuit has a first control end, a first output end and a plurality of first input ends, wherein the plurality of first input ends are connected to different connection points on the mainboard, the first output end is connected to the first connector, and the first control end controls the corresponding first input end to be connected to the first output end according to a control instruction stored in the embedded controller; The external device includes a second connector, a second switch circuit and multiple mode circuits, wherein the second connector is used to connect to the first connector, the second switch circuit includes a second input terminal, a second control terminal and multiple second output terminals, the second control terminal controls the second input terminal to be connected to one of the second output terminals, the second input terminal is connected to the second connector, each of the mode circuits is connected to one of the second output terminals, and different mode circuits are used to realize different functional modes.

2. The electronic equipment debugging structure according to claim 1, characterized in that: The external device further comprises a mode selection unit, the mode selection unit being connected to the second control terminal and being used for controlling the second switch circuit to conduct the target mode circuit; The first input end includes a CPU serial port input end, and the CPU serial port input end is used to obtain the system operation log of the electronic device through the CPU serial port; The mode circuit includes a USB mode circuit, a storage mode circuit and a network mode circuit, wherein the USB mode circuit is used to convert the system operation log into a data log suitable for USB transmission and output the data in real time through a USB interface; The storage mode circuit is used to convert the system operation log into a file suitable for local storage, so as to store the system operation log locally; The network mode circuit is used to convert the system operation log into a file suitable for network transmission so as to transmit the file to a remote server through a network interface.

3. The electronic equipment debugging structure according to claim 2, characterized in that: The mode circuit also includes a reading circuit, and the reading circuit is connected to the storage mode circuit to read the system operation log stored locally.

4. The electronic equipment debugging structure according to claim 2, characterized in that: The first input end further includes an EC serial port input end, and the EC serial port input end is used to obtain process data of the embedded controller through the serial port of the embedded controller; The mode circuit further comprises a digital display circuit, and the digital display circuit is used to display the running position of the software code of the embedded controller.

5. The electronic equipment debugging structure according to claim 2, characterized in that: The first input terminal also includes an EC bus input terminal, which is used to connect to the SMBUS bus of the embedded controller to update and / or debug the embedded controller's own program; The mode circuit also includes a reserved debugging interface circuit for connecting a debugging device to debug the embedded controller or the CPU.

6. The electronic equipment debugging structure according to claim 2, characterized in that: The first input end also includes a mainboard USB input end, which is used for the mainboard to communicate normally with the outside through the first connector. The first switch circuit defaults to connecting the mainboard USB input end and the first output end.

7. The electronic equipment debugging structure according to claim 2, characterized in that: The external device further comprises a power control circuit, and the power control circuit is used to provide power to the external device.

8. The electronic equipment debugging structure according to claim 7, characterized in that: The power control circuit is connected to the second connector to provide power through the first connector.

9. The electronic equipment debugging structure according to claim 7, characterized in that: The USB mode circuit includes a USB interface, and the power control circuit is connected to the USB interface of the USB mode circuit so that a terminal connected to the USB interface provides power to the external device.

10. The electronic equipment debugging structure according to claim 7, characterized in that: The power supply control circuit includes a first voltage output terminal and a second voltage output terminal, the first voltage output terminal is used to output a first voltage, the second voltage output terminal is used to output a second voltage, the second voltage is higher than the first voltage, and the first voltage output terminal and the second voltage output terminal provide the first voltage and the second voltage to the external device.