Type-C interface circuit for debugging and printing startup log
By setting a signal conversion circuit and debugging switch circuit between the main control circuit board of the laptop and the Type-C interface, the conversion of serial port signals to USB2.0 signals is realized, and the shell is solved when printing the boot log when debugging the laptop computer. The problem with the panel achieves the effect of debugging and printing without disassembly.
Patent Information
- Application Number
- CN202421233456.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-01
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2034-06-01
AI Technical Summary
When debugging a laptop, printing the boot log requires disassembly of the laptop's housing panel, which is time-consuming and labor-intensive and can easily cause the risk of irreversible damage.
Design a Type-C interface circuit for debugging and printing boot logs. By setting a signal conversion circuit and debugging switch circuit between the main control circuit board of the laptop and the Type-C interface, it realizes serial port signal to USB2.0 signal. to avoid disassembly.
You can obtain and print the boot log through the Type-C interface without disassembling the laptop case panel, and complete debugging work, avoiding the risk and complexity of disassembly.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of circuits, and in particular to a Type-C interface circuit for debugging and printing a startup log. Background Art
[0002] The boot log, also known as the system log, records information about hardware, software, and system problems in the system, and can also monitor events that occur in the system. Users can use it to check the cause of an error or find traces left by an attacker when attacked. System logs include system logs, application logs, and security logs.
[0003] Type-C is a USB connection interface that can be inserted regardless of the front or back. It is approximately 8.3mm×2.5mm in size and supports USB standard charging, data transmission, display output and other functions like other interfaces.
[0004] In the field of laptop computers, due to various software and hardware problems, it is often necessary to print the laptop computer's boot log when debugging the laptop computer. At present, the commonly used method is to print the laptop computer's boot log through the RS232 serial interface. Since the utilization rate of the RS232 serial interface in the laptop computer is almost 0, the interface is generally sealed on the internal circuit board of the laptop computer. If the laptop computer's boot log needs to be printed, the laptop computer's shell panel must be disassembled and the interface access must be found to obtain and print the laptop computer's boot log. Since the laptop computer has a relatively tight structure and is relatively complicated to disassemble, this method is not only time-consuming and laborious, but also has the risk of causing irreversible damage to the laptop computer, which can easily damage the laptop computer. Utility Model Content
[0005] In order to solve the problems in the prior art, the utility model provides a Type-C interface circuit for debugging and printing a startup log. By arranging a signal conversion circuit and a debugging switch circuit that cooperate with each other between the main control circuit board of the laptop computer and the Type-C interface, it is possible to obtain and print the startup log of the laptop computer through the Type-C interface without disassembling the shell panel of the laptop computer when debugging the laptop computer, thereby solving the problem in the prior art that when printing the startup log when debugging the laptop computer, it is time-consuming, labor-intensive and prone to damage risks to disassemble the shell panel of the laptop computer.
[0006] The utility model provides a Type-C interface circuit for debugging and printing a startup log, which is arranged between a main control circuit board of a laptop computer and a Type-C interface of the laptop computer, and comprises a signal conversion circuit and a debugging switch circuit, wherein an input end of the signal conversion circuit is connected to an output end of the main control circuit board of the laptop computer, an output end of the signal conversion circuit is connected to an input end of the debugging switch circuit, an output end of the debugging switch circuit is connected to the Type-C interface of the laptop computer, the Type-C interface of the laptop computer can be connected to an external Type-C interface device, the main control circuit board of the laptop computer is also controlled and connected to the debugging switch circuit, and the debugging switch circuit can turn on the signal conversion circuit under the control of the main control circuit board of the laptop computer to convert a serial port signal output by the main control circuit board of the laptop computer into a USB2.0 signal.
[0007] The utility model is further improved, the signal conversion circuit is provided with a signal conversion chip U57, the signal conversion chip U57 is provided with 16 pins, the 4th and 5th pins of the signal conversion chip U57 are connected to the output end of the main control circuit board of the laptop computer, and the 7th and 8th pins of the signal conversion chip U57 are connected to the input end of the debugging switch circuit.
[0008] The utility model is further improved, the signal conversion circuit is also provided with a resistor R672 and a capacitor C592, the third pin of the signal conversion chip U57 is connected to the ninth pin of the signal conversion chip U57, one end of the resistor R672, and one end of the capacitor C592, the other end of the resistor R672 is connected to a 5V voltage source, and the other end of the capacitor C592 is grounded.
[0009] The utility model is further improved, the debugging switch circuit is provided with a switch chip U58 and a resistor R673, the switch chip U58 is provided with 10 pins, the 1st and 7th pins of the switch chip U58 are respectively connected to the 7th and 8th pins of the signal conversion chip U57, the 3rd and 5th pins of the switch chip U58 are connected to the Type-C interface of the laptop computer, the 10th pin of the switch chip U58 is connected to one end of the resistor R673, the main control circuit board of the laptop computer is controlled and connected to the other end of the resistor R673, and the 9th pin of the switch chip U58 is connected to a 3.3V voltage source.
[0010] The utility model is further improved, and the model of the signal conversion chip U57 is CH343P.
[0011] The utility model is further improved, and the model of the switch chip U58 is WAS7222Q-10 / TR.
[0012] Compared with the prior art, the beneficial effects of the utility model are: providing a Type-C interface circuit for debugging and printing a startup log, by setting a signal conversion circuit and a debugging switch circuit that cooperate with each other between the main control circuit board of the laptop computer and the Type-C interface, the debugging switch circuit can turn on the signal conversion circuit under the control of the main control circuit board of the laptop computer to convert the serial port signal output by the main control circuit board of the laptop computer into a USB2.0 signal, so that the startup log of the laptop computer can be obtained and printed through the Type-C interface without disassembling the shell panel of the laptop computer when debugging the laptop computer, and the debugging work is completed, which solves the problem in the prior art that when printing the startup log when debugging the laptop computer, it is time-consuming and labor-intensive to disassemble the shell panel of the laptop computer and is prone to damage risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 This is a functional block diagram of a Type-C interface circuit for debugging and printing a startup log of the utility model;
[0015] Figure 2 A circuit diagram of a signal conversion circuit of the present utility model;
[0016] Figure 3 The utility model is a circuit diagram of the debugging switch circuit. DETAILED DESCRIPTION
[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present utility model; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present utility model; the terms "including" and "having" and any variations thereof in the specification and claims of the present utility model and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present utility model or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order.
[0018] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0019] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiments of the utility model will be clearly and completely described below in conjunction with the accompanying drawings.
[0020] like Figure 1-3 As shown, the utility model provides a Type-C interface circuit for debugging and printing a startup log, which is arranged between the main control circuit board of a laptop and the Type-C interface of the laptop, including a signal conversion circuit and a debugging switch circuit, wherein the input end of the signal conversion circuit is connected to the output end of the main control circuit board of the laptop, the output end of the signal conversion circuit is connected to the input end of the debugging switch circuit, the output end of the debugging switch circuit is connected to the Type-C interface of the laptop, the Type-C interface of the laptop can be connected to an external Type-C interface device, and the main control circuit board of the laptop is also controlled and connected to the debugging switch circuit. In this embodiment, the debugging switch circuit can turn on the signal conversion circuit under the control of the main control circuit board of the laptop to convert the serial port signal output by the main control circuit board of the laptop into a USB2.0 signal, so that when debugging the laptop, it is not necessary to disassemble the shell panel of the laptop, and the startup log of the laptop can be obtained and printed through the Type-C interface to complete the debugging work.
[0021] like Figure 2 As shown, the signal conversion circuit is provided with a signal conversion chip U57, the model of the signal conversion chip U57 is CH343P, and the signal conversion chip U57 is provided with 16 pins, the 4th and 5th pins of the signal conversion chip U57 are connected to the output end of the main control circuit board of the laptop, and the 7th and 8th pins of the signal conversion chip U57 are connected to the input end of the debugging switch circuit; the signal conversion circuit is also provided with a resistor R672 and a capacitor C592, the 3rd pin of the signal conversion chip U57 is connected to the 9th pin of the signal conversion chip U57, one end of the resistor R672, and one end of the capacitor C592, the other end of the resistor R672 is connected to a 5V voltage source, and the other end of the capacitor C592 is grounded. In this embodiment, the signal conversion circuit is used to convert the serial port signal output by the main control circuit board of the laptop into a USB2.0 signal output to the switch circuit, and finally output to the Type-C interface of the laptop, and the debugging switch circuit controls whether to perform the conversion.
[0022] like Figure 3 As shown, the debugging switch circuit is provided with a switch chip U58 and a resistor R673. The model of the switch chip U58 is WAS7222Q-10 / TR. The switch chip U58 is provided with 10 pins. The 1st and 7th pins of the switch chip U58 are respectively connected to the 7th and 8th pins of the signal conversion chip U57, the 3rd and 5th pins of the switch chip U58 are connected to the Type-C interface of the laptop computer, the 10th pin of the switch chip U58 is connected to one end of the resistor R673, the main control circuit board of the laptop computer is controlled and connected to the other end of the resistor R673, and the 9th pin of the switch chip U58 is connected to a 3.3V voltage source. In this embodiment, the debugging switch circuit is used to control whether the signal conversion circuit is turned on and off according to the control information of the main control circuit board of the laptop computer; when the laptop computer is in normal use, the debugging switch circuit chooses to turn off the signal conversion circuit, and the debugging switch circuit outputs a normal USB2.0 signal to the Type-C interface. At this time, the Type-C interface has no debugging / printing function; when the debugging / printing function is required, the main control circuit board of the laptop computer is manually controlled to output information to the 10th pin of the switch chip U58, and the debugging switch circuit chooses to turn on the signal conversion circuit. The signal conversion circuit converts the serial port signal output by the main control circuit board of the laptop computer into a USB2.0 signal and outputs it to the switch circuit, and finally outputs it to the Type-C interface of the laptop computer. At this time, the Type-C interface can realize the debugging / printing function. In this embodiment, the debugging switch circuit also has an automatic control mode. When the Type-C interface is connected to a USB flash drive or a mobile hard disk device, a high level exists in the Type-C interface, which is fed back to the main control circuit board of the laptop computer. The main control circuit board of the laptop computer controls the debugging switch circuit to choose to turn off the signal conversion circuit. At this time, the Type-C interface has no debugging / printing function; when the Type-C interface is connected to a debugging device, a low level exists in the Type-C interface, which is fed back to the main control circuit board of the laptop computer. The main circuit board of the laptop computer controls the debugging switch circuit to choose to turn on the signal conversion circuit. At this time, the Type-C interface can realize the debugging / printing function.
[0023] As can be seen from the above, the utility model provides a Type-C interface circuit for debugging and printing a startup log. By setting a signal conversion circuit and a debugging switch circuit that cooperate with each other between the main control circuit board of the laptop computer and the Type-C interface, the debugging switch circuit can turn on the signal conversion circuit under the control of the main control circuit board of the laptop computer to convert the serial port signal output by the main control circuit board of the laptop computer into a USB2.0 signal. It can be achieved that when debugging the laptop computer, there is no need to disassemble the shell panel of the laptop computer, and the startup log of the laptop computer can be obtained and printed through the Type-C interface to complete the debugging work. The problem in the prior art that when debugging the laptop computer, printing the startup log requires disassembling the shell panel of the laptop computer, which is time-consuming and labor-intensive and easily causes the risk of damage.
[0024] The specific implementation methods described above are preferred implementation methods of the present utility model, and are not intended to limit the specific implementation scope of the present utility model. The scope of the present utility model includes but is not limited to the specific implementation methods. All equivalent changes made in accordance with the present utility model are within the protection scope of the present utility model.
Claims
1. A Type-C interface circuit for debugging and printing a boot log, arranged between a main control circuit board of a notebook computer and a Type-C interface of the notebook computer, characterized in that: The invention comprises a signal conversion circuit and a debugging switch circuit, wherein the input end of the signal conversion circuit is connected to the output end of the main control circuit board of the laptop computer, the output end of the signal conversion circuit is connected to the input end of the debugging switch circuit, the output end of the debugging switch circuit is connected to the Type-C interface of the laptop computer, the Type-C interface of the laptop computer can be connected to an external Type-C interface device, the main control circuit board of the laptop computer is also controlled and connected to the debugging switch circuit, and the debugging switch circuit can turn on the signal conversion circuit under the control of the main control circuit board of the laptop computer to convert the serial port signal output by the main control circuit board of the laptop computer into a USB2.0 signal.
2. The Type-C interface circuit for debugging and printing boot logs according to claim 1, characterized in that: The signal conversion circuit is provided with a signal conversion chip U57, and the signal conversion chip U57 is provided with 16 pins. The 4th and 5th pins of the signal conversion chip U57 are connected to the output end of the main control circuit board of the laptop computer, and the 7th and 8th pins of the signal conversion chip U57 are connected to the input end of the debugging switch circuit.
3. The Type-C interface circuit for debugging and printing boot logs according to claim 2, characterized in that: The signal conversion circuit is also provided with a resistor R672 and a capacitor C592. The third pin of the signal conversion chip U57 is connected to the ninth pin of the signal conversion chip U57, one end of the resistor R672, and one end of the capacitor C592. The other end of the resistor R672 is connected to a 5V voltage source, and the other end of the capacitor C592 is grounded.
4. The Type-C interface circuit for debugging and printing a startup log according to claim 3, characterized in that: The debugging switch circuit is provided with a switch chip U58 and a resistor R673. The switch chip U58 is provided with 10 pins. The 1st and 7th pins of the switch chip U58 are respectively connected to the 7th and 8th pins of the signal conversion chip U57, the 3rd and 5th pins of the switch chip U58 are connected to the Type-C interface of the laptop computer, the 10th pin of the switch chip U58 is connected to one end of the resistor R673, the main control circuit board of the laptop computer is controlled and connected to the other end of the resistor R673, and the 9th pin of the switch chip U58 is connected to a 3.3V voltage source.
5. The Type-C interface circuit for debugging and printing boot logs according to claim 4, characterized in that: The model of the signal conversion chip U57 is CH343P.
6. The Type-C interface circuit for debugging and printing boot logs according to claim 5, characterized in that: The model of the switch chip U58 is WAS7222Q-10 / TR.