Debugging circuit, equipment and system based on Type-C interface

By using a Type-C interface-based debugging circuit, integrated design, and reverse insertion detection function, the problem of high operational complexity in the debugging and upgrading of electronic hardware products is solved, achieving the effects of simplified operation and reduced costs.

CN223461867UActive Publication Date: 2025-10-21KINGSIGNAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422144268.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2025-10-21
Estimated Expiration
2034-09-02

AI Technical Summary

Technical Problem

The lack of a unified interface standard in the debugging and upgrading of existing electronic hardware products leads to high operational complexity and increased maintenance costs, and also makes fault location inconvenient.

Method used

A debugging circuit based on the Type-C interface is adopted, including a debugging interface module and a communication interface aggregation module. The interface signals of the chip are collected and split through the Type-C socket module, and the correct connection is ensured through the anti-reverse insertion detection module and the connection establishment prompt module.

Benefits of technology

It simplifies debugging and upgrade operations, reduces work complexity, improves operational efficiency and convenience, reduces maintenance costs, and retains the USB 2.0 interface and charging function through integrated design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223461867U_ABST
    Figure CN223461867U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of electronic communication, and provides a debugging circuit, equipment and system based on a Type-C interface, the debugging circuit comprises a debugging interface module and a communication interface convergence module; the debugging interface module comprises an interface disconnection module and a first Type-C socket module; the communication interface convergence module comprises a second Type-C socket module; the second Type-C socket module and the first Type-C socket module are connected through a data line; the second Type-C socket module is used for collecting interface signals of one or more communication interface pins and debugging interface pins of one or more chips and transmitting the interface signals to the first Type-C socket module, so that the interface splitting module splits the interface signals and then debugs the chips through a debugging circuit. According to the integrated design, the work complexity of workers in the development and debugging stage or the after-sales maintenance stage is greatly reduced, the anti-reverse insertion detection function and the correct connection reminding function of the Type-C interface are added, and the operation efficiency and convenience of the workers are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to electronic communication technical field especially, relate to a kind of debugging circuit, equipment and system based on Type-C interface. BACKGROUND

[0002] With the continuous development of intelligent terminal equipment and integrated circuit technology, the demand for communication debugging and firmware updating increases in the development, debugging and after-sales maintenance stages of products. In traditional hardware design, due to the lack of unified debugging and upgrading interface standard, workers often need to adapt to multiple interfaces of different standards, which not only makes the operation more complex, but also increases the maintenance cost, and the adaptation to different standards brings confusion and inconvenience to fault location.

[0003] For example, when designing a complex single board, the development board is provided with modules that need to be upgraded, debugged and communicated, such as central processing units (CPU), field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), microcontroller units (MCU) and other functional chips or modules. When multiple modules need to be debugged or upgraded, since these interface standards are different, the existing debugging methods need to find the corresponding interfaces for connection, for example, using an RJ45 socket to connect the debugging network port, using a pin socket to connect the low-speed serial port, and using an IIC (Inter-Integrated Circuit) interface. If the debugging personnel or software upgrade personnel are not familiar with the interface standard or plug in the wrong interface, the debugging or upgrading efficiency is reduced, and the burden and maintenance cost of debugging and upgrading operation are increased. SUMMARY

[0004] The utility model provides a kind of debugging circuit and equipment based on Type-C interface to solve the problem that the operation complexity of workers is improved and the maintenance cost is increased in the development, debugging and after-sales maintenance stages of electronic hardware products due to the lack of unified planning management of debugging and upgrading interface.

[0005] To solve the above technical problems, the utility model provides a kind of debugging circuit based on Type-C interface, the debugging circuit is used to debug one or more chips, and the debugging circuit comprises a debugging interface module and a communication interface convergence module connected with the debugging interface module.

[0006] The debugging interface module comprises an interface split module and a first Type-C socket module; the interface split module and the first Type-C socket module are connected; the interface split module is used for splitting a plurality of interface signals obtained by the first Type-C socket module;

[0007] The communication interface aggregation module comprises a second Type-C socket module; the second Type-C socket module and the first Type-C socket module are connected through a data line; the second Type-C socket module is used for connecting with one or more communication interface pins and debugging interface pins of the one or more chips; the second Type-C socket module is used for collecting interface signals of the one or more communication interface pins and debugging interface pins of the one or more chips, and transmitting the interface signals of the one or more chips to the first Type-C socket module, so that the interface split module splits the interface signals of the one or more chips obtained by the first Type-C socket module, and the chip is debugged through the debugging circuit.

[0008] Optionally, the communication interface aggregation module further comprises an anti-reverse insertion detection module and a connection establishment prompt module connected with the anti-reverse insertion detection module;

[0009] The second Type-C socket module comprises a pin CC1 corresponding to a fast charging protocol PD in a universal serial bus standard USB; the second Type-C socket module is connected with the anti-reverse insertion detection module through the pin CC1;

[0010] The anti-reverse insertion detection module determines whether the forward connection is successful by detecting the voltage value of the pin CC1; after the anti-reverse insertion detection module determines that the forward connection is successful, a forward connection success output signal is sent to the connection establishment prompt module; the connection establishment prompt module sends a prompt signal according to the forward connection success output signal to prompt the staff that the interface forward connection is successful.

[0011] Optionally, the anti-reverse insertion detection module detects the voltage value of the pin CC1, and compares it with a reference voltage value Vref to determine whether the forward connection is successful; after the anti-reverse insertion detection module determines that the forward connection is successful, a forward connection success output signal is sent to the connection establishment prompt module.

[0012] Optionally, the anti-reverse insertion detection module includes an input communication interface, a first output communication interface, and a second output communication interface, all communication interfaces of the second Type-C socket module are connected to all first output communication interfaces of the anti-reverse insertion detection module in a one-to-one correspondence according to a first connection sequence, all communication interfaces of the second Type-C socket module are connected to all second output communication interfaces of the anti-reverse insertion detection module in a one-to-one correspondence according to a second connection sequence, the first connection sequence is a forward sequence connection, and the second connection sequence is a reverse sequence connection.

[0013] The second Type-C socket module is connected to one or more communication interface pins and debugging interface pins of the one or more chips through the input communication interface of the anti-reverse insertion detection module.

[0014] The anti-reverse insertion detection module determines whether the forward connection is successful by detecting the voltage value of the pin CC1, and the anti-reverse insertion detection module closes the second output communication interface after determining that the forward connection is successful. The anti-reverse insertion detection module closes the first output communication interface after determining that the forward connection is not successful.

[0015] Optionally, the connection establishment prompt module includes a signal lamp prompt circuit, the signal lamp prompt circuit includes an LED lamp, the LED lamp is lit when the forward connection success output signal is a high-level signal, the signal lamp prompt circuit further includes a resistor R1, a positive electrode end of the LED lamp is connected to a pin end of the anti-reverse insertion detection module outputting the forward connection success output signal, a negative electrode end of the LED lamp is connected to one end of the resistor R1, and the other end of the resistor R1 is grounded.

[0016] Optionally, the anti-reverse insertion detection module includes a comparator circuit, the comparator circuit includes an operational amplifier, a pin CC1 of the second Type-C socket module is connected to a first pin of the operational amplifier as a non-inverting input end of the comparator circuit, and the first pin of the operational amplifier is grounded through a resistor R2 with a resistance of 5.1K.

[0017] A second pin of the operational amplifier is used as an inverting input end of the comparator circuit, the second pin of the operational amplifier is connected to a +5V power supply through a 100K resistor R3, and the second pin of the operational amplifier is grounded through a resistor R4 with a resistance of 5.1K.

[0018] A third pin of the operational amplifier is connected to the +5V power supply, and a fourth pin of the operational amplifier is grounded. An input voltage of the inverting input end of the comparator is a voltage divided by the resistor R4 in a voltage dividing circuit composed of the resistor R3 and the resistor R4, and is used as the reference voltage value Vref.

[0019]

[0020] The input voltage of the positive input end of the comparator circuit is the input value of the pin CC1 of the second Type-C socket module;

[0021] When the voltage of the positive input end of the comparator circuit is higher than the reference voltage value Vref, the fifth pin of the operational amplifier is the output end of the comparator circuit, and outputs a high level signal;

[0022] The LED lamp is a light emitting diode, the resistance R1 has a resistance value of 1K, one end of the light emitting diode is connected with the output end of the comparator circuit, the other end of the light emitting diode is grounded through the resistance R1, when the comparator circuit outputs the high level signal, the light emitting diode is lighted, and when the comparator circuit outputs a low level signal, the light emitting diode is extinguished.

[0023] Optionally, the connection establishment prompting module comprises a buzzer prompting circuit, the buzzer prompting circuit comprises a buzzer, when the positive connection success output signal is a high level signal,

[0024] The buzzer starts to work in a sound emitting state.

[0025] Optionally, the interface disconnection module comprises different spacing row pins and / or sockets and / or flexible flat cable sockets.

[0026] In order to solve the above technical problems, the utility model also provides a kind of equipment, and the equipment includes the debugging circuit based on Type-C interface of any of the above described.

[0027] In order to solve the above technical problems, the utility model also provides a kind of system, including one or more chips, further include the debugging circuit based on Type-C interface of any of the above described, the debugging circuit is connected with the one or more chips, and the debugging circuit is used to debug the one or more chips.

[0028] The utility model provides a kind of based on Type-C interface's debugging circuit, equipment and system, and the debugging circuit includes debugging interface module and communication interface convergence module;Debugging interface module includes interface sub-connection module and first Type-C socket module;Communication interface convergence module includes second Type-C socket module;Second Type-C socket module and first Type-C socket module are connected by data line;Second Type-C socket module is used to collect one or more communication interface pins and debugging interface pins of one or more chips Interface signal, and transmission to first Type-C socket module, to make interface sub-connection module split interface signal, pass through debugging circuit to chip for debugging.This integrated design greatly reduces the work complexity of staff in development debugging stage or after-sales maintenance stage, and the anti-reverse insertion detection function and correct connection prompting function of increased Type-C interface, further improve the operation efficiency and convenience of staff.The utility model provides based on Type-C interface's debugging circuit, both retain the support to USB 2.0 interface and charging function, and by ingeniously using other remaining pins of Type-C interface, the key communication interface needed to be led out inside electronic hardware product is gathered together, and this integrated design greatly simplifies the debugging work of staff. BRIEF DESCRIPTION OF DRAWINGS

[0029] In order to more clearly illustrate the technical scheme of the utility model, the drawings needed to be used in the utility model description will be simply introduced below, and obviously, the drawings in the following description are only some embodiments of the utility model, and for those skilled in the art, other drawings can be obtained according to these drawings without creating labor, wherein:

[0030] Figure 1 The system architecture diagram of the debugging circuit based on Type-C interface provided for the utility model embodiment is shown in the figure.

[0031] Figure 2 The system architecture diagram of another debugging circuit based on Type-C interface provided for the utility model embodiment is shown in the figure.

[0032] Figure 3 The pin definition diagram of first Type-C socket module and second Type-C socket module provided for the utility model embodiment is shown in the figure.

[0033] Figure 4 The implementation circuit diagram of anti-reverse insertion detection module and connection prompting module provided for the utility model embodiment is shown in the figure.

[0034] Figure 5 The anti-reverse insertion detection principle schematic diagram provided for the utility model embodiment is shown in the figure. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the utility model will be clearly and completely described below with reference to the drawings in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the utility model.

[0036] The utility model discloses a debugging circuit, equipment and system based on type-c interface, debugging circuit based on type-c interface is used to debug one or more chips, and the debugging circuit includes debugging interface module and the communication interface convergence module connected with debugging interface module;Debugging interface module includes interface subconnection module and first type-c socket module;Interface subconnection module and first type-c socket module are connected;Interface subconnection module is used to split the multiple interface signals obtained by first type-c socket module;The communication interface convergence module includes second type-c socket module;Second type-c socket module and first type-c socket module are connected through data line;Second type-c socket module is used to connect with one or more communication interface pins and debugging interface pins of one or more chips;Second type-c socket module is used to collect the interface signal of one or more communication interface pins and debugging interface pins of one or more chips, and the interface signal of one or more chips is transmitted to first type-c socket module, so that after interface subconnection module splits the interface signal of one or more chips obtained by first type-c socket module, the chip is debugged through debugging circuit.

[0037] This integrated design greatly reduces the work complexity of the staff in the development and debugging stage or the after-sales maintenance stage, and the anti-reverse insertion detection function and the correct connection reminding function of the increased Type-C interface further improve the operation efficiency and convenience of the staff. The debugging circuit based on the Type-C interface provided by the utility model not only retains the support for the USB 2.0 interface and the charging function, but also cleverly utilizes other remaining pins of the Type-C interface to gather the key communication interfaces needed to be led out inside the electronic hardware product, which greatly simplifies the debugging work of the staff.

[0038] Please refer to Figure 1 , Figure 1The utility model provides a system architecture diagram of debugging circuit based on type C interface provides in the embodiment, and the debugging circuit based on type C interface is used to debug one or more chips on electronic hardware product single board 10. The debugging circuit based on type C interface mainly comprises two modules of debugging interface module 100 and communication interface convergence module 110 connected with debugging interface module 100. Among them, debugging interface module 100 includes interface subconnection module 101 and first type C socket module 102;Communication interface convergence module 110 contains second type C socket module 111, anti-reverse insertion detection module 112 and build connection prompting module 113.

[0039] In other embodiments, the communication interface convergence module 110 can be integrated on the electronic hardware product single board, which can be any electronic hardware device, such as a mobile phone, a tablet computer, a camera, and other household electronic hardware products, modules, or development boards in the development and debugging stage. The chips used in the electronic hardware product single board are not limited to central processing units (CPU), graphics processing units (GPU), microcontroller units (MCU), field programmable gate arrays (FPGA), and other types of processor chips.

[0040] The chips on the electronic hardware product single board are connected to the second Type-C socket module 111 through the communication interface, which is not limited to serial ports, inter-integrated circuit (IIC) interfaces, Ethernet interfaces, and other types of interfaces, and can be combined and converged in different numbers and different types.

[0041] In this embodiment, the interface subconnection module 101 is connected to the first Type-C socket module 102, and the interface subconnection module 101 is used to split the multiple interface signals obtained by the first Type-C socket module 102. The interface subconnection module 101 includes different pitch pins and / or sockets and / or flexible flat cable sockets, which are responsible for re-splitting, classifying, and organizing various communication interfaces converged on the pins of the first Type-C socket module 102, and arranging them into connection interfaces that can be externally connected for debugging. The externally connected debugging connection interface can be a connection method of different pitch pins and / or sockets and / or flexible flat cable (FFC) sockets, and can provide external connection in one type or multiple types.

[0042] In the embodiment, the second Type-C socket module 111 and the first Type-C socket module 102 are connected through a data line. The second Type-C socket module 111 is used to connect with one or more communication interface pins and debugging interface pins of one or more chips.

[0043] The second Type-C socket module 111 is used to collect interface signals of one or more communication interface pins and debugging interface pins of one or more chips, and transmit the interface signals of the one or more chips to the first Type-C socket module 102, so that the interface splitting module 101 splits the interface signals of the one or more chips obtained by the first Type-C socket module 102, and then the debugging circuit is used to debug the one or more chips.

[0044] In the embodiment, as shown in Figure 1 The second Type-C socket module 111 includes a pin CC1 corresponding to a fast charging protocol PD in a universal serial bus standard USB. The second Type-C socket module 111 is connected with the anti-reverse plug detection module 112 through the pin CC1.

[0045] In the embodiment, the connection establishment prompt module 113 is connected with the anti-reverse plug detection module 112.

[0046] The anti-reverse plug detection module 112 determines whether the forward connection is successful by detecting the voltage value of the pin CC1. After the anti-reverse plug detection module 112 determines that the forward connection is successful, the anti-reverse plug detection module 112 sends a forward connection success output signal to the connection establishment prompt module 113. The connection establishment prompt module 113 sends a prompt signal according to the forward connection success output signal, so as to prompt the staff that the interface forward connection is successful.

[0047] Preferably, the anti-reverse plug detection module 112 detects the voltage value of the pin CC1, and compares the voltage value with a reference voltage value Vref to determine whether the forward connection is successful. After the anti-reverse plug detection module 112 determines that the forward connection is successful, the anti-reverse plug detection module 112 sends a forward connection success output signal to the connection establishment prompt module 113.

[0048] Optionally, the connection establishment prompt module 113 includes a signal lamp prompt circuit, the signal lamp prompt circuit includes an LED lamp, and the LED lamp is lit when the forward connection success output signal is a high-level signal.

[0049] Optionally, the connection establishment prompt module includes a buzzer prompt circuit, the buzzer prompt circuit includes a buzzer, and the buzzer starts to work in a sound state when the forward connection success output signal is a high-level signal.

[0050] The buzzer starts to work in a sound state when the forward connection success output signal is a high-level signal.

[0051] In the embodiment, the anti-reverse insertion detection module 112 realizes the anti-reverse insertion detection function through a comparator. Specifically, the anti-reverse insertion detection module 112 is connected with the connection establishment prompt module 113 through an output pin of the comparator.

[0052] The first Type-C socket module 102 and the second Type-C socket module 111 are connected with each other through a Type-C data line. When the first Type-C socket module 102 and the second Type-C socket module 111 are connected according to the one-to-one matching of the same pin name definition, the anti-reverse insertion detection module 112 detects that the pin CC1 of the second Type-C socket module 111 is at a high level, which is higher than the comparison voltage Vref (i.e., the reference voltage value Vref) of the comparator inside the anti-reverse insertion detection module 112. The output pin of the comparator of the anti-reverse insertion detection module 112 outputs a high level. The high level signal is a forward connection success output signal. When the connection establishment prompt module 113 receives the high level signal output from the output pin of the comparator, the connection establishment prompt module 113 reminds the staff through an LED lamp, a buzzer and the like, and informs the staff that the connection is successfully established and the wire insertion direction is correct.

[0053] When the first Type-C socket module 102 and the second Type-C socket module 111 are not connected according to the one-to-one matching of the same pin name definition, the anti-reverse insertion detection module 112 detects that the pin CC1 of the second Type-C socket module 111 is at a low level, which is lower than the comparison voltage Vref (i.e., the reference voltage value Vref) of the comparator inside the anti-reverse insertion detection module 112. The output pin of the comparator of the anti-reverse insertion detection module 112 outputs a low level. When the connection establishment prompt module 113 receives the low level signal output from the output pin of the comparator, the LED lamp cannot be lit and the buzzer cannot sound, thereby informing the staff that the connection is failed and the wire insertion direction is reversed.

[0054] In the above implementation mode, the anti-reverse insertion detection module 112 realizes the anti-reverse insertion detection function through a comparator. The anti-reverse insertion detection module 112 detects the voltage value of the pin CC1, compares the voltage value with the reference voltage value Vref through the comparator, and determines whether the forward connection is successful. After the anti-reverse insertion detection module 112 determines that the forward connection is successful, the anti-reverse insertion detection module 112 sends a forward connection success output signal to the connection establishment prompt module 113.

[0055] In other implementation modes, optionally, please refer to Figure 2 , Figure 2Another system architecture diagram of the debugging circuit based on the Type-C interface is provided for the embodiment of the utility model. The anti-reverse insertion detection module 112 includes an input communication interface IN3, a first output communication interface OUT1, and a second output communication interface OUT2. All communication interfaces of the second Type-C socket module 111 are connected in one-to-one correspondence with all first output communication interfaces OUT1 of the anti-reverse insertion detection module 112 in a first connection order, and all communication interfaces of the second Type-C socket module 111 are connected in one-to-one correspondence with all second output communication interfaces OUT2 of the anti-reverse insertion detection module 112 in a second connection order. The first connection order is a forward sequence connection, and the second connection order is a reverse sequence connection.

[0056] In the embodiment, the second Type-C socket module 111 is connected with one or more communication interface pins and debugging interface pins of one or more chips through the input communication interface IN3 of the anti-reverse insertion detection module 112.

[0057] The anti-reverse insertion detection module 112 determines whether the forward connection is successful by detecting the voltage value of the pin CC1. After the anti-reverse insertion detection module 112 determines that the forward connection is successful, the second output communication interface OUT2 is closed. If the anti-reverse insertion detection module 112 determines that the forward connection is not successful, the first output communication interface OUT1 is closed.

[0058] Specifically, when the first Type-C socket module 102 and the second Type-C socket module 111 are connected in one-to-one correspondence according to the same pin name definition, the anti-reverse insertion detection module 112 detects that the pin CC1 of the second Type-C socket module 111 is at a high level, that is, the anti-reverse insertion detection module 112 determines that the forward connection is successful, and the second output communication interface OUT2 is closed. When the first Type-C socket module 102 and the second Type-C socket module 111 are not connected in one-to-one correspondence according to the same pin name definition, the anti-reverse insertion detection module 112 detects that the pin CC1 of the second Type-C socket module 111 is at a low level, that is, the anti-reverse insertion detection module 112 determines that the forward connection is not successful, and the first output communication interface OUT1 is closed.

[0059] In the embodiment, the main difference from the above-mentioned Figure 1 The main difference between the embodiment shown in the figure and the above-mentioned embodiment is that the second Type-C socket module 111 is connected with the anti-reverse insertion detection module 112 through the first output communication interface OUT1 and the second output communication interface OUT2, and the anti-reverse insertion detection module 112 is connected with the single board of the electronic hardware product through the input communication interface IN3. Specifically, the anti-reverse insertion detection module 112 is connected with one or more communication interface pins and debugging interface pins of one or more chips on the single board of the electronic hardware product through the input communication interface IN3.

[0060] In the embodiment, when the first Type-C socket module 102 and the second Type-C socket module 111 are connected one by one according to the same pin name definition through the Type-C data line, the anti-reverse plug detection module 112 detects that the pin CC1 of the second Type-C socket module 111 is at a high level, on the one hand, the anti-reverse plug detection module 112 controls the output pin of the comparator to output a high level, and on the other hand, decides that the first output communication interface OUT1 is used as the signal input end of the second Type-C socket module 111.

[0061] Optionally, in the embodiment, when the anti-reverse plug detection module 112 receives the output pin of the comparator outputting a high level, the connection establishment prompt module 113 prompts the staff through an LED lamp, a buzzer and the like, and informs the staff that the connection is successfully established and the wire direction is correct.

[0062] In the embodiment, when the anti-reverse plug detection module 112 detects that the pin CC1 of the second Type-C socket module 111 is at a low level, on the one hand, the anti-reverse plug detection module 112 controls the output pin of the comparator to output a low level, and on the other hand, decides that the second output communication interface OUT2 is used as the signal input end of the second Type-C socket module 111.

[0063] Optionally, in the embodiment, when the anti-reverse plug detection module 112 receives the output pin of the comparator outputting a low level, the connection establishment prompt module 113 cannot light the LED lamp and cannot make the buzzer sound, thereby informing the staff that the connection fails and the wire direction is reversed.

[0064] Please refer to Figure 3 , Figure 3 The pin definition diagram of the first Type-C socket module and the second Type-C socket module provided in the embodiment of the utility model. As shown in Figure 3 When the pin definition is performed, the following method is adopted to perform the pin definition: the USB 2.0 data interface is reserved through the B6 pin (D+) and the B7 pin (D-);

[0065] The power supply interface is reserved through the A4 pin, the A9 pin, the B4 pin and the B9 pin, a total of 4 VBUS pins, and the A1 pin, the A12 pin, the B1 pin and the B12 pin, a total of 4 ground (GND) pins;

[0066] The serial port 1 data interface from the single board of the electronic hardware product is converged through the A2 pin (TX1) and the A3 pin (RX1);

[0067] The serial port 2 data interface from the single board of the electronic hardware product is converged through the A8 pin (TX2) and the B8 pin (RX2);

[0068] The Ethernet interface from the single board of the electronic hardware product is converged through the A10 pin (RX-), the A11 pin (RX+), the B2 pin (TX+) and the B3 pin (TX-);

[0069] The A5 pin (CC1) and the B5 pin (CC2) are multiplexed as the detection pins of the input voltage or level of the anti-reverse plug detection module under the premise of reserving the PD communication interface of the second Type-C socket module 111.

[0070] Please refer to Figure 4 , Figure 4 The embodiment circuit diagram of the anti-reverse plug detection module and the connection establishment prompting module is provided in the utility model. As shown in Figure 4 , the signal lamp prompting circuit further includes a resistor R1, the LED lamp is a light emitting diode D10, the positive terminal of the light emitting diode D10 is connected with the pin end of the output forward connection success output signal of the anti-reverse plug detection module (namely the output pin of the comparator), the negative terminal of the light emitting diode D10 is connected with one end of the resistor R1, and the other end of the resistor R1 is grounded.

[0071] And, as shown in Figure 4 , the anti-reverse plug detection module is composed of a comparator circuit, and the comparator circuit includes an operational amplifier U30. The pin CC1 of the second Type-C socket module is connected with the first pin U301 of the operational amplifier U30, as the same phase input end (+IN) of the comparator circuit, the first pin U301 of the operational amplifier U30 is grounded through the resistor R2 with a resistance of 5.1K; the second pin U302 of the operational amplifier U30 is connected with the +5V power supply through the 100K resistor R3, as the reverse input end (-IN) of the comparator circuit, the second pin U302 of the operational amplifier U30 is grounded through the resistor R4 with a resistance of 5.1K; the third pin U303 of the operational amplifier U30 is connected with the +5V power supply, and the fourth pin U304 of the operational amplifier U30 is grounded. The input voltage of the reverse input end of the comparator is the voltage divided by the resistor R4 in the voltage dividing circuit composed of the resistor R3 and the resistor R4, and is taken as the reference voltage value Vref; the reference voltage value Vref is obtained by calculation according to the following formula:

[0072]

[0073] In the embodiment, the input voltage of the positive input end of the comparator circuit is the input value of the pin CC1 of the second Type-C socket module; when the voltage of the positive input end of the comparator circuit is higher than the reference voltage value Vref, the fifth pin of the operational amplifier U30 is the output end of the comparator circuit, and outputs a high level signal; the resistance value of the resistor R1 is 1K; one end of the light emitting diode is connected with the output end of the comparator circuit, and the other end of the light emitting diode is grounded through the resistor R1. When the comparator circuit outputs a high level signal, the light emitting diode is lighted; when the comparator circuit outputs a low level signal, the light emitting diode is extinguished.

[0074] Please refer to Figure 5 , Figure 5 A reverse insertion detection principle schematic diagram is provided for the embodiment of the utility model. As shown in Figure 5 , in actual use, since in the debugging interface module 100, the pin CC1 of the first Type-C socket module 102 is connected with +5V power supply through a 20K pull-up resistor Rp; and in the communication interface convergence module 110, the pin CC1 and the pin CC2 of the second Type-C socket module 111 are respectively connected with ground (GND) through a 5.1K resistor Rd; when the first Type-C socket module 102 and the second Type-C socket module 111 are connected in the positive direction through the Type-C data line, at this time, the pin CC1 of the first Type-C socket module 102 is connected with the pin CC1 of the second Type-C socket module 111; the voltage of the pin CC1 is taken from the voltage divided by the resistor Rd in the voltage dividing circuit composed of the resistor Rp and the resistor Rd, and is taken as the positive input end voltage V +IN of the comparator.

[0075]

[0076] At this time, V +IN is greater than Vref, the output end of the comparator outputs a high level, and then the light emitting diode D10 is lighted; when the first Type-C socket module 102 and the second Type-C socket module 111 are connected in the reverse direction through the Type-C data line, at this time, the pin CC2 of the first Type-C socket module 102 is connected with the pin CC1 of the second Type-C socket module 111; and the pin CC2 of the first Type-C socket module 102 is in a suspended state, the pin CC1 of the second Type-C socket module 111 is connected with ground (GND) through a 5.1K resistor Rd, so that the pin CC1 of the second Type-C socket module 111 is in a low level state, and then the positive input end voltage V +IN of the comparator is less than Vref, the output end of the comparator outputs a low level, and then the light emitting diode D10 is extinguished.

[0077] The embodiment of the utility model provides a kind of equipment, equipment includes the debugging circuit based on Type-C interface of any one of the above implementation.

[0078] The embodiment of the utility model further provides a system, comprising one or more chips, further comprising the debugging circuit based on Type-C interface of any one of the above implementation, the debugging circuit is connected with one or more chips, and the debugging circuit is used to debug one or more chips.

[0079] The utility model provides a kind of debugging circuit, equipment and system based on Type-C interface, retain the support of USB2.0 interface and charging function, again by ingeniously using the other remaining pins of Type-C interface, the key test interface needed to be led out in module is integrated together.These interfaces include UART (universal asynchronous receiver-transmitter) interface, IIC (Inter-Integrated Circuit) interface, SWD (Serial Wire Debug) software upgrade interface and network interface etc..The integrated design simplifies the debugging work of staff, and provides convenient fault location and software upgrade means for on-site technician.

[0080] In order to further improve the efficiency and convenience of operation, the utility model further adds the anti-reverse insertion detection and reminding function of Type-C interface.The function can guide staff to insert interface correctly in time, avoid connection error, so as to improve work efficiency, and reduce operation complexity.

[0081] Therefore, the Type-C interface scheme of the utility model not only reduces the development and maintenance complexity of product, reduces cost, but also improves the efficiency and ease of use of operation through anti-reverse insertion detection and reminding function, provides a kind of efficient, economic new method for the research and development and maintenance of intelligent terminal and electronic equipment.

[0082] Finally, it should be noted that: the above is only preferred embodiment of the utility model, and is not used to limit the utility model, although the utility model is described in detail with reference to the foregoing embodiments, for the person skilled in the art, it still can modify the technical scheme recorded in the foregoing each embodiment, or equivalent replacement is carried out to part of technical features. Any modification, equivalent replacement, improvement etc. within the spirit and principle of the utility model should be included in the protection scope of the utility model.

Claims

1. A debugging circuit based on a Type-C interface, characterized in that, The debugging circuit is used for debugging one or more chips, and the debugging circuit comprises a debugging interface module and a communication interface convergence module connected with the debugging interface module; The debugging interface module comprises an interface split module and a first Type-C socket module; the interface split module and the first Type-C socket module are connected; the interface split module is used for splitting a plurality of interface signals obtained by the first Type-C socket module; The communication interface convergence module comprises a second Type-C socket module; the second Type-C socket module and the first Type-C socket module are connected through a data line; The second Type-C socket module is used for connecting with one or more communication interface pins and debugging interface pins of the one or more chips; The second Type-C socket module is used for collecting interface signals of the one or more communication interface pins and debugging interface pins of the one or more chips, and transmitting the interface signals of the one or more chips to the first Type-C socket module, so that the interface split module splits the interface signals of the one or more chips obtained by the first Type-C socket module, and the chip is debugged through the debugging circuit.

2. The debugging circuit based on a Type-C interface according to claim 1, wherein The communication interface convergence module further comprises an anti-reverse insertion detection module and a connection establishment prompting module connected with the anti-reverse insertion detection module; The second Type-C socket module comprises a pin CC1 corresponding to a fast charging protocol PD in a universal serial bus standard USB; The second Type-C socket module is connected with the anti-reverse insertion detection module through the pin CC1; The anti-reverse insertion detection module determines whether the forward connection is successful by detecting a voltage value of the pin CC1; after determining that the forward connection is successful, the anti-reverse insertion detection module sends a forward connection success output signal to the connection establishment prompting module; and the connection establishment prompting module sends a prompt signal according to the forward connection success output signal, to prompt a worker that the interface forward connection is successful.

3. The Type-C interface based debugging circuit of claim 2, wherein, The anti-reverse insertion detection module detects a voltage value of the pin CC1, and determines whether the forward connection is successful by comparing the voltage value with a reference voltage value Vref; after determining that the forward connection is successful, the anti-reverse insertion detection module sends a forward connection success output signal to the connection establishment prompting module.

4. The Type-C interface based debugging circuit according to claim 2 or 3, characterized in that, The anti-reverse insertion detection module comprises an input communication interface, a first output communication interface and a second output communication interface; all communication interfaces of the second Type-C socket module are connected with all first output communication interfaces of the anti-reverse insertion detection module one by one according to a first connection sequence, and all communication interfaces of the second Type-C socket module are connected with all second output communication interfaces of the anti-reverse insertion detection module one by one according to a second connection sequence; the first connection sequence is a forward sequence connection, and the second connection sequence is a reverse sequence connection. The second Type-C socket module is connected with one or more communication interface pins and debugging interface pins of the one or more chips through the input communication interface of the reverse insertion prevention detection module; The reverse insertion prevention detection module determines whether the forward connection is successful by detecting the voltage value of the pin CC1, and closes the second output communication interface after determining that the forward connection is successful; The reverse insertion prevention detection module determines that the forward connection is not successful, and closes the first output communication interface.

5. The Type-C interface based debugging circuit of claim 3, wherein, The connection establishment prompting module includes a signal lamp prompting circuit, and the signal lamp prompting circuit includes an LED lamp. When the forward connection success output signal is a high-level signal, the LED lamp is lit. The signal lamp prompting circuit further includes a resistor R1, a positive electrode end of the LED lamp is connected with a pin end of the reverse insertion prevention detection module outputting the forward connection success output signal, a negative electrode end of the LED lamp is connected with one end of the resistor R1, and the other end of the resistor R1 is grounded.

6. The Type-C interface based debugging circuit of claim 5, wherein, The reverse insertion prevention detection module includes a comparator circuit, the comparator circuit includes an operational amplifier, a pin CC1 of the second Type-C socket module is connected with a first pin of the operational amplifier as a same-phase input end of the comparator circuit, and the first pin of the operational amplifier is grounded through a resistor R2 with a resistance of 5.1K; A second pin of the operational amplifier is used as a reverse input end of the comparator circuit, the second pin of the operational amplifier is connected with a +5V power supply through a 100K resistor R3, and the second pin of the operational amplifier is grounded through a resistor R4 with a resistance of 5.1K; A third pin of the operational amplifier is connected with the +5V power supply, and a fourth pin of the operational amplifier is grounded; an input voltage of the reverse input end of the comparator is a voltage divided by the resistor R4 in a voltage dividing circuit composed of the resistor R3 and the resistor R4, and is used as a reference voltage value Vref; An input voltage of a forward input end of the comparator circuit is an input value of the pin CC1 of the second Type-C socket module; When the voltage of the forward input end of the comparator circuit is higher than the reference voltage value Vref, a fifth pin of the operational amplifier is used as an output end of the comparator circuit, and outputs a high-level signal; The LED lamp is a light-emitting diode, the resistor R1 has a resistance of 1K, one end of the light-emitting diode is connected with the output end of the comparator circuit, the other end of the light-emitting diode is grounded through the resistor R1, the light-emitting diode is lit when the comparator circuit outputs the high-level signal, and the light-emitting diode is extinguished when the comparator circuit outputs a low-level signal.

7. The Type-C interface based debugging circuit of claim 2, wherein, The connection establishment prompting module includes a buzzer prompting circuit, the buzzer prompting circuit includes a buzzer, and the buzzer starts to work in a sound state when the forward connection success output signal is a high-level signal.

8. The Type-C interface based debugging circuit of claim 1, wherein, The interface separate connection module includes row pins and / or sockets and / or flexible flat cable sockets with different pitches.

9. An apparatus, comprising: The device comprises a Type-C interface based debugging circuit as claimed in any one of claims 1 to 8.

10. A system, characterized by The device comprises one or more chips, and further comprises a Type-C interface based debugging circuit as claimed in any one of claims 1 to 8, which is connected with the one or more chips, and is used for debugging the one or more chips.