Switching device for DP interface and debugging serial port
Through the switching device between the DP interface and the debugging serial port, the hot plug signal is used to realize the switching between the serial port and the display interface, which solves the problem of unstable switching caused by abnormal management chip and improves the stability and convenience of equipment debugging.
Patent Information
- Application Number
- CN202422320389.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2034-09-23
AI Technical Summary
In the prior art, when the management chip is abnormal, the switching control instructions between the DP interface and the debug serial port cannot take effect, resulting in unstable or invalid switching operations, affecting the convenience of equipment debugging and operation and maintenance.
A switching device for the DP interface and the debug serial port is used. Through the combination of the switching switch, debug serial port, DP interface, DP connector and MOS tube, the hot plug signal of the DP interface is used to switch the serial port and the display interface, realizing a pure hardware design, not relying on software to issue instructions, and improving stability.
It achieves flexible switching between the serial port and the display interface when the panel size is tight, avoids switching failures caused by abnormalities in the management chip, shortens debugging time, and improves development efficiency and convenience.
Smart Images

Figure CN223308612U_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to electronic digital data processing, and in particular to a switching device between a DP interface and a debugging serial port. Background Art
[0002] Nowadays, laptops, PCs, servers, etc. pursue lightweight and miniaturization. Therefore, the size of the device panel is limited. As a result, the serial port used to collect system logs cannot be placed simultaneously with functional interfaces such as USB, network ports, and display ports. However, during debugging and operation and maintenance, system logs need to be collected and analyzed through the serial port frequently. In this case, the device can only be disassembled to connect to the serial port, which is extremely inconvenient.
[0003] Since the switching control between the DP interface and the debug serial port depends on the management chip to issue specific instructions, the instructions cannot take effect when the management chip is abnormal, which leads to unstable switching operations or even direct failure of the technical problem. Summary of the Invention
[0004] This application provides a switching device for the DP interface and the debug serial port, which solves the technical problem that the switching control between the DP interface and the debug serial port depends on the management chip to issue specific instructions, and the instructions cannot take effect when the management chip is abnormal, which leads to unstable switching operation or even direct failure. It realizes the switching of the serial port and the display interface through the hot plug signal of the DP interface. The pure hardware design does not rely on the software to issue instructions, avoids switching failures caused by abnormal conditions of the management chip, improves the overall stability, does not affect the function of the multiplexed interface when the panel size is tight, introduces serial port debugging, shortens debugging time, and improves development efficiency and convenience.
[0005] In view of the above problems, the present application provides a switching device for a DP interface and a debug serial port, which includes: a switching switch; a debug serial port, the debug serial port being interactively connected to the switching switch; a DP interface, the DP interface being interactively connected to the switching switch; a DP connector, the DP connector being connected to a debug cable with the DP interface; a MOS tube, the gate of the MOS tube being connected to the hot plug signal of the DP connector and being pulled down, or the drain of the MOS tube being connected to the control signal of the switching switch and being pulled up, to perform switching control between the DP interface and the debug serial port.
[0006] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0007] The present application adopts a switching method between the DP interface and the debug serial port, including a switching switch; a debug serial port, the debug serial port is interactively connected to the switching switch; a DP interface, the DP interface is interactively connected to the switching switch; a DP connector, the DP connector is connected to a debug cable with the DP interface; a MOS tube, the gate of the MOS tube is connected to the hot plug signal of the DP connector and is pulled down, or the drain of the MOS tube is connected to the control signal of the switching switch and is pulled up, to control the switching between the DP interface and the debug serial port. The switching between the serial port and the display interface is achieved through the hot plug signal of the DP interface. The pure hardware design does not rely on software to issue instructions, avoids switching failures caused by abnormal conditions of the management chip, improves overall stability, does not affect the function of the multiplexed interface when the panel size is tight, introduces serial port debugging, shortens debugging time, and improves development efficiency and convenience. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a block diagram of the principle of a switching device between a DP interface and a debug serial port;
[0009] Figure 2 This is a mainboard circuit design diagram of a switching device between a DP interface and a debug serial port for this application. DETAILED DESCRIPTION
[0010] This application provides a switching device for the DP interface and the debug serial port, which solves the technical problem that the switching control between the DP interface and the debug serial port depends on the management chip to issue specific instructions, and the instructions cannot take effect when the management chip is abnormal, which leads to unstable switching operation or even direct failure. It realizes the switching of the serial port and the display interface through the hot plug signal of the DP interface. The pure hardware design does not rely on the software to issue instructions, avoids switching failures caused by abnormal conditions of the management chip, improves the overall stability, does not affect the function of the multiplexed interface when the panel size is tight, introduces serial port debugging, shortens debugging time, and improves development efficiency and convenience.
[0011] Example
[0012] like Figure 1 As shown, the present application provides a switching device between a DP interface and a debug serial port, which includes:
[0013] Toggle switch;
[0014] A debugging serial port, the debugging serial port being interactively connected to the switch;
[0015] DP interface, the DP interface is interactively connected to the switch;
[0016] DP connector, the DP connector is connected to the debugging cable with the DP interface;
[0017] A MOS transistor, the gate of which is connected to the hot plug signal of the DP connector and is pulled down, or the drain of which is connected to the control signal of the switch and is pulled up, to perform switching control between the DP interface and the debug serial port.
[0018] Specifically, the switch is used to select between the debug serial port and the DP interface; the debug serial port refers to the interface used for serial communications such as device debugging and log output; the DP interface refers to the digital display interface used to connect a display device; the DP connector is used to connect a debug cable with a DP interface; when the debug cable is inserted into the DP connector, specific operations are triggered, such as the state change of the switch.
[0019] The MOS transistor is used to control the state of the switch. Specifically, the gate of the MOS transistor is connected to the hot plug signal of the DP connector and has a pull-down resistor to ensure that the MOS transistor is in the off state when no debug cable is inserted. The drain of the MOS transistor is connected to the control signal of the switch and has a pull-up resistor to ensure that the control signal of the switch defaults to a high level when the MOS transistor is off.
[0020] The DP interface and debug serial port switch control. Specifically, when the debug cable is inserted into the DP connector, a hot plug signal (high level) is present, turning on the MOS tube. The control signal of the switch is low, switching to DP interface mode. The MOS tube is off by default. When the MOS tube is in the default state, it is in debug serial port mode.
[0021] Through the above steps, the combination of the switch, debug serial port, DP interface, DP connector and MOS tube is used to achieve flexible switching between debug mode and normal display mode. The mode can be easily switched by plugging or unplugging the debug cable as needed, which improves convenience.
[0022] Furthermore, the debugging serial port is interactively connected to the switch, including:
[0023] Connect the signal receiving TX and signal sending RX in the debugging serial port to the switch.
[0024] In one practicable manner, the interactive connection between the debug serial port and the switch is as follows: Figure 2 As shown, the signal receiving line TX and the signal sending line RX in the debug serial port are respectively connected to the corresponding interfaces of the switch. Thus, the switch can control the working state of the debug serial port according to the received signals, thereby realizing the communication and control functions between the debug serial port and the switch.
[0025] Furthermore, the DP interface is interactively connected to the switch, including:
[0026] The AUX_P signal and AUX_N signal in the DP interface are connected to the switch.
[0027] In one practicable manner, the interactive connection between the DP interface and the switch is specifically as follows: Figure 2 As shown, the AUX_P signal line and AUX_N signal line in the DP interface are respectively connected to the corresponding interfaces of the switching switch. Thus, the switching switch can control the working state of the DP interface according to the received AUX_P and AUX_N signals to realize the normal switching and use of the display function.
[0028] Furthermore, the MOS tube includes:
[0029] The high and low levels of the control signal of the switch are controlled by turning the MOS tube on and off.
[0030] In one practicable manner, the role of the MOS transistor in this switching method is to control the high and low levels of the control signal of the switching switch by turning the MOS transistor on and off. Preferably, when the MOS transistor is on, current is allowed to flow, thereby changing the level state of the switching switch control signal from a high level to a low level; when the MOS transistor is off, current is not allowed to flow, and the control signal of the switching switch is maintained at a high level through the pull-up resistor.
[0031] Preferably, the MOS transistor's source is grounded, its drain is connected to the switch's control signal and has a pull-up resistor attached. Its gate is connected to the DP connector's hot-swap signal and has a pull-down resistor attached. Therefore, when the MOS transistor is turned on, it actually pulls the switch's control signal down to ground potential, changing it from a high level to a low level. When the MOS transistor is turned off, the switch's control signal remains at a high level through the pull-up resistor.
[0032] Furthermore, the MOS tube includes:
[0033] The source of the MOS tube is grounded;
[0034] The drain of the MOS tube is connected to the control signal of the switch and is pulled up. The control signal of the switch is high level by default.
[0035] In one implementation, the MOS transistor's configuration and operating principle are as follows: the MOS transistor's source is directly connected to ground, providing a stable potential reference point and ensuring a stable voltage reference during the MOS transistor's switching process. The MOS transistor's drain is connected to the control signal input of the switch, meaning that the MOS transistor's switching state directly affects the switch's control signal. The switch's control signal line is connected to a high-level power supply via a pull-up resistor, ensuring that the control signal defaults to a high-level state when there are no other external signals affecting it.
[0036] Specifically, the working principle of the MOS transistor is that when the gate of the MOS transistor receives sufficient voltage (that is, the hot plug signal of the DP connector is at a high level), the MOS transistor turns on, allowing current to flow from the source to the drain, which will cause the control signal of the switching switch to be pulled low (because the MOS transistor is equivalent to a conductive switch at this time, connecting the control signal to the ground potential). When the gate of the MOS transistor does not receive sufficient voltage (that is, the hot plug signal of the DP connector is at a low level), the MOS transistor turns off and does not allow current to flow from the source to the drain. At this time, because the control signal line is pulled up to a high level, the control signal of the switching switch remains at a high level.
[0037] Preferably, through configuration, the MOS tube can effectively control the action of the switch according to the hot plug signal of the DP connector, thereby realizing flexible switching between the DP interface and the debug serial port.
[0038] Furthermore, the drain of the MOS tube is connected to the control signal of the switch and is pulled up, including:
[0039] When you need to use the debug serial port to view logs, plug the debug cable with the DP interface into the DP connector to view the logs directly.
[0040] In one practicable manner, the source of the MOS transistor is grounded to provide a stable potential reference, the drain of the MOS transistor is connected to the control signal of the switching switch, and the control signal is connected to a high level through a pull-up resistor. By default, the control signal of the switching switch is a high level.
[0041] Specifically, when the debug serial port needs to be used to view logs, the user inserts a debug cable with a DP interface into the DP connector; the DP connector detects the insertion of the debug cable, the MOS tube is turned off by default, and the control signal of the switch is high, corresponding to the debug serial port mode. The debug serial port is activated, and the user can directly view log information through the debug serial port.
[0042] Furthermore, the gate of the MOS transistor is connected to the hot plug signal of the DP connector and is pulled down, including:
[0043] When the monitor is normally inserted, the switch is switched to the AUX channel of the DP interface, and the display function is used normally.
[0044] In one practicable manner, when the gate of the MOS tube is connected to the hot plug signal of the DP connector and is pulled down, the source of the MOS tube is grounded to provide a stable potential reference; the gate of the MOS tube is connected to a low level through a pull-down resistor to ensure that the gate is at a low level when there is no hot plug signal; the drain of the MOS tube is connected to the control signal of the switching switch, and the control signal is connected to a high level through a pull-up resistor. By default, the control signal of the switching switch is a high level.
[0045] Specifically, when the user plugs in the monitor normally, the DP connector detects the insertion of the monitor and generates a hot plug signal. The hot plug signal generated by the DP connector is a level change, from low level to high level, indicating that the monitor is connected; the gate of the MOS tube receives the hot plug signal (high level) of the DP connector, causing the MOS tube to turn on, which means that the MOS tube now allows current to flow from the source (ground) to the drain (the control signal of the switching switch). Since the MOS tube is turned on, the control signal of the switching switch is pulled to a low level (because the MOS tube now connects the control signal to the ground potential); the switching switch detects that its control signal changes from a high level to a low level. According to the circuit design, the switching switch will switch to the AUX channel of the DP interface. At this time, the AUX channel of the DP interface is activated and the monitor can use the display function normally.
[0046] Then, when the user removes the monitor, the hot-swap signal on the DP connector returns to a low state. The MOS transistor's gate no longer receives a high signal, turning it off. Since the MOS transistor is off, the control signal on the toggle switch is no longer pulled low, but instead returns to a high state through the pull-up resistor. The toggle switch detects that the control signal has returned to a high state and resets to its default state (the default is the debug serial port). Simply inserting and removing the monitor allows for convenient switching between the DP interface's AUX channel and the debug serial port, ensuring normal display functionality and convenient debugging.
[0047] Through the above configuration, the user can easily switch between the debug serial port and the DP interface by simply inserting and removing the debug cable and the display with the DP interface. Furthermore, as shown in Table 1, Table 1 is a truth table of the switch.
[0048] Table 1
[0049]
[0050] Further, including:
[0051] The hot plug signal output of the display is high level, and the MOS tube is turned on.
[0052] In one embodiment, the DP connector of the monitor detects the insertion of the monitor and generates a hot plug signal. The hot plug signal is a level change from low to high, indicating that the monitor is connected. The gate of the MOS transistor receives the hot plug signal (high level) from the DP connector; because the gate receives sufficient voltage, the MOS transistor turns on, which means that the MOS transistor now allows current to flow from the source (ground) to the drain (the control signal of the switching switch); because the MOS transistor is turned on and the MOS transistor now connects the control signal to the ground potential, the control signal of the switching switch is pulled to a low level; the switching switch detects that its control signal changes from a high level to a low level, and the switching switch switches to the AUX channel of the DP interface; the AUX channel of the DP interface is activated, and the monitor can use the display function normally.
[0053] In summary, the embodiments of the present application have at least the following technical effects:
[0054] The present application adopts a switching method between the DP interface and the debug serial port, including a switching switch; a debug serial port, the debug serial port is interactively connected to the switching switch; a DP interface, the DP interface is interactively connected to the switching switch; a DP connector, the DP connector is connected to a debug cable with the DP interface; a MOS tube, the gate of the MOS tube is connected to the hot plug signal of the DP connector and is pulled down, or the drain of the MOS tube is connected to the control signal of the switching switch and is pulled up, to control the switching between the DP interface and the debug serial port. The switching between the serial port and the display interface is achieved through the hot plug signal of the DP interface. The pure hardware design does not rely on software to issue instructions, avoids switching failures caused by abnormal conditions of the management chip, improves overall stability, does not affect the function of the multiplexed interface when the panel size is tight, introduces serial port debugging, shortens debugging time, and improves development efficiency and convenience.
[0055] This specification and drawings are merely illustrative of the present application and may be modified and combined in various ways without departing from the spirit and scope of the present application. To the extent such modifications and variations fall within the scope of the present claims and their equivalents, the present application is intended to include such modifications and variations.
Claims
1. A switching device between a DP interface and a debug serial port, characterized in that: include: Toggle switch; A debugging serial port, the debugging serial port being interactively connected to the switch; DP interface, the DP interface is interactively connected to the switch; DP connector, the DP connector is connected to the debugging cable with the DP interface; A MOS transistor, wherein the gate of the MOS transistor is connected to the hot plug signal of the DP connector and is pulled down, or the drain of the MOS transistor is connected to the control signal of the switch and is pulled up, to perform switching control between the DP interface and the debug serial port; The debugging serial port is interactively connected to the switch, including: Connect the signal receiving TX and signal transmitting RX in the debugging serial port to the switch; The MOS tube includes: The high and low levels of the control signal of the switch are controlled by turning the MOS tube on and off.
2. The switching device between the DP interface and the debug serial port according to claim 1, wherein: The DP interface is interactively connected to the switch, including: The AUX_P signal and AUX_N signal in the DP interface are connected to the switch.
3. The switching device between the DP interface and the debug serial port according to claim 1, wherein: The MOS tube includes: The source of the MOS tube is grounded; The drain of the MOS tube is connected to the control signal of the switch and is pulled up. The control signal of the switch is high level by default.
4. The switching device between the DP interface and the debug serial port according to claim 3, wherein: The drain of the MOS tube is connected to the control signal of the switch and is pulled up, including: When you need to use the debug serial port to view logs, plug the debug cable with the DP interface into the DP connector to view the logs directly.
5. The switching device between the DP interface and the debug serial port according to claim 4, characterized in that: The gate of the MOS tube is connected to the hot plug signal of the DP connector and is pulled down, including: When the monitor is normally inserted, the switch is switched to the AUX channel of the DP interface, and the display function is used normally.
6. The switching device between the DP interface and the debug serial port according to claim 5, characterized in that: include: The hot plug signal output of the display is high level, and the MOS tube is turned on.