[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN214280251U - Debugging system of equipment - Google Patents

Debugging system of equipment Download PDF

Info

Publication number
CN214280251U
CN214280251U CN202023223519.6U CN202023223519U CN214280251U CN 214280251 U CN214280251 U CN 214280251U CN 202023223519 U CN202023223519 U CN 202023223519U CN 214280251 U CN214280251 U CN 214280251U
Authority
CN
China
Prior art keywords
section
earphone socket
equipment
debugged
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202023223519.6U
Other languages
Chinese (zh)
Inventor
刘宇航
赵跃东
牛根艺
赵倩倩
胡述静
高跃
曾宽
宗凯凯
张冉
张舒窈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shunyun Internet Technology Co.,Ltd.
Wolong Electric Drive Group Co Ltd
Original Assignee
Wolong Electric Shanghai Central Research Institute Co ltd
Zhejiang Longchuang Motor Technology Innovation Co ltd
Wolong Electric Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wolong Electric Shanghai Central Research Institute Co ltd, Zhejiang Longchuang Motor Technology Innovation Co ltd, Wolong Electric Group Co Ltd filed Critical Wolong Electric Shanghai Central Research Institute Co ltd
Priority to CN202023223519.6U priority Critical patent/CN214280251U/en
Application granted granted Critical
Publication of CN214280251U publication Critical patent/CN214280251U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses debug system of equipment includes: the debugged equipment is provided with a 3-section type earphone socket, and a debugged circuit in the debugged equipment is connected with the 3-section type earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment; a commissioning device having a 3-segment headset receptacle; a male-to-male cable connecting the debugging equipment and the debugged equipment; at least one section of the 3-section earphone socket of the debugging equipment is used as a GND line, at least one section of the 3-section earphone socket is used as a SWDIO line, and at least one section of the 3-section earphone socket is used as a SWCLK line; at least one section of the 3-section earphone socket of the debugged equipment is used as a GND line, at least one section of the 3-section earphone socket is used as a SWDIO line, at least one section of the 3-section earphone socket is used as a SWCLK line, and the electrical properties of the same section of the 3-section earphone socket of the debugged equipment are the same as those of the same section of the 3-section earphone socket of the debugged equipment. By the aid of the technical scheme, the plug-in connector is suitable for quick plugging and unplugging, labor intensity is reduced, batch production is suitable, and cost is low.

Description

Debugging system of equipment
Technical Field
The utility model relates to the technical field of circuits, especially, relate to a debug system of equipment.
Background
In recent years, microcontrollers have become more and more widely used, particularly in contemporary internet of things devices. The standard debugging Interface of the internet of things device mainly includes a Joint Test Action Group (JTAG) Interface, a Serial Wire Debug (SWD) Interface, and a Single Wire Interface Module (SWIM) Interface, and in these debugging modes, the SWD and the SWIM are popular with users because of fewer pins and easy connection. However, most of the interface lines of the SWD and the SWIM adopt a form of a simple ox horn socket with a double row and a 2.54mm interval of the JTAG, or a form of a single row socket/pin with a 2.54mm interval, which causes problems of high cost, laborious plugging and unplugging, large occupied board space, low fixing strength, and the like. In addition, when the equipment is produced and debugged in small batches, the exposed area of the opening reserved outside the shell for temporarily modifying the debugging interface of the debugging program is too large, and the protection level is inconvenient to promote.
In summary, how to more conveniently realize the debugging of the device and quickly insert and extract the device, thereby reducing the labor intensity of inserting and extracting and reducing the operation time is a technical problem which needs to be solved by the technical personnel in the field at present.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a debug system of equipment to conveniently realize the equipment debugging, thereby can quick plug, thereby reduce plug intensity of labour, reduce operating time.
In order to solve the technical problem, the utility model provides a following technical scheme:
a commissioning system of a device comprising:
the debugging equipment is provided with a 3-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 3-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 3-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 3-section earphone socket of the debugging equipment is used as a GND line, at least one section of the 3-section earphone socket is used as an SWDIO line, and at least one section of the 3-section earphone socket is used as an SWCLK line;
at least one section of the 3-section type earphone socket of the debugged equipment is used as a GND line, at least one section of the 3-section type earphone socket is used as a SWDIO line, at least one section of the 3-section type earphone socket is used as a SWCLK line, and the electrical properties of the same section of the 3-section type earphone socket of the debugged equipment are the same.
Preferably, the first section, the second section and the third section of the 3-section earphone socket of the debugging device are sequentially used as a GND line, a SWDIO line and a SWCLK line;
or the first section, the second section and the third section of the 3-section earphone socket of the debugging equipment are sequentially used as a GND line, an SWCLK line and an SWDIO line;
wherein, the first section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets outside, and the second section of 3 section formula earphone sockets represents the one section in the middle of this 3 section formula earphone sockets, and the third section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets innermost.
A commissioning system of a device comprising:
the debugging equipment is provided with a 3-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 3-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 3-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 3-section earphone socket of the debugging equipment is used as a GND wire, and at least one section of the 3-section earphone socket is used as a SWIM wire;
at least one section of the 3-section type earphone socket of the debugged equipment is used as a GND wire, at least one section of the 3-section type earphone socket of the debugged equipment is used as a SWIM wire, and the electrical properties of the same section of the 3-section type earphone socket of the debugged equipment are the same as those of the same section of the 3-section type earphone socket of the debugged equipment.
Preferably, the first section, the second section and the third section of the 3-section earphone socket of the debugging device are sequentially used as a GND line, a GND line and a SWIM line;
or the first section, the second section and the third section of the 3-section earphone socket of the debugging equipment are sequentially used as a GND wire, a SWIM wire and a SWIM wire;
or the first section, the second section and the third section of the 3-section earphone socket of the debugging equipment are sequentially used as a GND wire, a SWIM wire and a GND wire;
wherein, the first section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets outside, and the second section of 3 section formula earphone sockets represents the one section in the middle of this 3 section formula earphone sockets, and the third section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets innermost.
A commissioning system of a device comprising:
the debugging equipment is provided with a 4-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 4-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 4-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 4-section earphone socket of the debugging equipment is used as a GND line, at least one section of the 4-section earphone socket is used as an SWDIO line, and at least one section of the 4-section earphone socket is used as an SWCLK line;
at least one section of the 4-section earphone socket of the debugged equipment is used as a GND line, at least one section of the 4-section earphone socket is used as a SWDIO line, at least one section of the 4-section earphone socket is used as a SWCLK line, and the electrical properties of the same section of the 4-section earphone socket of the debugged equipment are the same as those of the same section of the 4-section earphone socket of the debugged equipment.
Preferably, the first section of the 4-section earphone socket of the debugging device is used as a GND line;
at least one of the second section, the third section and the fourth section of the 4-section earphone socket of the debugging equipment is used as an SWDIO line, at least one of the sections is used as an SWCLK line, and at least one of the sections is used as a RESET line;
the first section of the 4-section earphone socket represents the outermost section of the 4-section earphone socket, the second section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the first section, the fourth section of the 4-section earphone socket represents the innermost section of the 4-section earphone socket, and the third section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the fourth section.
A commissioning system of a device comprising:
the debugging equipment is provided with a 4-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 4-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 4-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 4-section earphone socket of the debugging equipment is used as a GND wire, and at least one section of the 4-section earphone socket is used as a SWIM wire;
at least one section of the 4-section type earphone socket of the debugged equipment is used as a GND wire, at least one section of the 4-section type earphone socket of the debugged equipment is used as a SWIM wire, and the electrical properties of the same section of the 4-section type earphone socket of the debugged equipment are the same as those of the same section of the 4-section type earphone socket of the debugged equipment.
Preferably, the first section of the 4-section earphone socket of the debugging device is used as a GND line; the second section, the third section and the fourth section of the 4-section earphone socket of the debugging equipment are sequentially used as a GND wire, a SWIM wire and a SWIM wire;
or the first section of the 4-section earphone socket of the debugging equipment is used as a GND line; the second section, the third section and the fourth section of the 4-section earphone socket of the debugging equipment are sequentially used as SWIM lines, SWIM lines and SWIM lines;
or the first section of the 4-section earphone socket of the debugging equipment is used as a GND line; the second section of the 4-section earphone socket of the debugging equipment is suspended, and the third section and the fourth section of the 4-section earphone socket of the debugging equipment are sequentially used as SWIM lines;
the first section of the 4-section earphone socket represents the outermost section of the 4-section earphone socket, the second section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the first section, the fourth section of the 4-section earphone socket represents the innermost section of the 4-section earphone socket, and the third section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the fourth section.
Preferably, the debugged device is an internet of things device.
Preferably, the earphone socket of the debugging device and the earphone socket of the debugged device are both 3.5mm earphone sockets.
Use the embodiment of the utility model provides a technical scheme has set up earphone socket on debugged equipment, and debugged circuit in the debugged equipment is connected with debugged equipment's earphone socket, has also set up earphone socket on the debugging equipment, utilize public to public cable connection debugging equipment and debugged equipment, owing to adopt earphone socket's mode to connect, make the scheme of this application be fit for quick plug, reduced plug intensity of labour, reduce operating time, the opening exposes the area simultaneously and makes the protection level high for a short time. And earphone socket and public production technique to public cable all are comparatively ripe for the scheme of this application is fit for batch production, and the cost is lower. The earphone socket can be a 3-segment type or a 4-segment type, and the scheme of the application can be applied to SWD occasions and SWIM occasions according to different circuit settings of the earphone socket of the debugging equipment and the debugged equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first structural schematic diagram of the debugging system of the device in the present invention in an unassembled state;
fig. 2 is a second schematic structural diagram of the debugging system of the device in the present invention in an unassembled state;
fig. 3a is a first wiring diagram of a 3-segment earphone socket of a debugged device and a debugged circuit thereof;
fig. 3b is a second wiring diagram of the 3-segment earphone socket of the debugged device and the debugged circuit thereof;
fig. 3c is a third wiring diagram of the 3-segment earphone socket of the debugged device and the debugged circuit thereof;
fig. 4 is a third structural diagram of the debugging system of the device in the present invention in an unassembled state;
fig. 5 is a fourth schematic structural diagram of the debugging system of the device in the unassembled state of the present invention.
Detailed Description
The core of the utility model is to provide a debug system of equipment, be fit for quick plug, reduced plug intensity of labour, reduction operating time, the opening exposes the area simultaneously and makes the protection level high for a short time. And is suitable for batch production and has lower cost.
In order to make the technical field better understand the solution of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings and the detailed description. It is to be understood that the embodiments described are only some embodiments of the invention, and not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an unassembled debugging system of a device according to the present invention, where the debugging system of the device may include:
a debugged device 10 having a 3-segment headphone socket, and a debugged circuit in the debugged device 10 is connected to the 3-segment headphone socket of the debugged device 10, so that the debugging device 20 debugs the debugged device 10;
a commissioning device 20 having a 3-segment headset socket;
a male-to-male cable 30 connecting the commissioning device 20 and the commissioned device 10;
at least one section of the 3-section earphone socket of the debugging device 20 is used as a GND line, at least one section is used as a SWDIO line, and at least one section is used as a SWCLK line;
at least one section of the 3-section earphone socket of the debugged device 10 is used as a GND line, at least one section is used as a SWDIO line, and at least one section is used as a SWCLK line, and the electrical properties of the same section of the 3-section earphone socket of the debugged device 10 and the same section of the 3-section earphone socket of the debugged device 20 are the same.
In the solution of this application, the debugged device 10 may generally be an internet of things device, a debugged circuit in the debugged device 10 is connected to an earphone socket of the debugged device 10, and the debugged circuit is generally located in a microprocessor or a microcontroller of the debugged device 10, that is, a debugging circuit of the microprocessor/microcontroller is generally connected to the earphone socket of the debugged device 10. The earphone jack of the debugged circuit can be generally arranged on the surface of the debugged circuit, which is convenient for operation.
The debugging device 20 is also provided with an earphone socket, the debugging device 20 may be an emulation writer generally, and the debugging device 20 may perform data interaction with the debugged device 10 by connecting the debugging device 20 and the public-to-public cable 30 of the debugged device 10, that is, may perform writing and reading of data.
The earphone socket of this application can be 3 segmentations's earphone socket, also can be 4 segmentations's earphone socket. It is understood that, when the debuggee device 10 selects the 3-segment earphone socket embodiment, the debuggee device 20 also needs to be the 3-segment earphone socket, and the male-to-male cable 30 should also be an earphone plug with 2 segments and 3 segments. Accordingly, when the debuggee device 10 selects the 4-segment earphone socket embodiment, the debuggee device 20 also needs to be the 4-segment earphone socket, and the male cable 30 should also be an earphone plug having 2 segments and 4 segments.
The embodiment of fig. 1 is a 3-segment earphone jack embodiment, and is applied to SWD applications.
Specifically, the 3-segment headphone jack of the debugging device 20 has at least one segment serving as a GND (Ground) line, at least one segment serving as a SWDIO (Serial Wire Debug Input/Output) line, and at least one segment serving as a SWCLK (Serial Wire Clock) line. The 3-segment earphone socket of the debuggee device 10 has at least one segment as a GND line, at least one segment as a SWDIO line, and at least one segment as a SWCLK line.
The specific setting mode can be set according to actual needs, for example, the first section of the 3-segment headphone jack of the debugging device 20 is used as the SWDIO line, the second section is used as the GND line, and the third section is used as the SWCLK line. And it is emphasized that the electrical properties of the same section of the 3-section headphone socket of the debuggee apparatus 10 and the 3-section headphone socket of the debug apparatus 20 are the same. For example, if the first section of the 3-segment headphone socket of the debuggee device 10 is used as the GND line, the first section of the 3-segment headphone socket of the debug device 20 needs to be set as the GND line.
In a specific embodiment of the present invention, the first section, the second section, and the third section of the 3-segment earphone jack of the debugging device 20 are sequentially used as a GND line, a SWDIO line, and a SWCLK line;
or, the first section, the second section, and the third section of the 3-section earphone socket of the debugging device 20 are sequentially used as a GND line, a SWCLK line, and a SWDIO line;
wherein, the first section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets outside, and the second section of 3 section formula earphone sockets represents the one section in the middle of this 3 section formula earphone sockets, and the third section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets innermost.
In this embodiment, the first section of the 3-segment earphone socket of the debug apparatus 20 is used as the GND line, the first section of the 3-segment earphone socket of the debugged apparatus 10 is used as the GND line, and the first section of the 3-segment earphone socket represents the outermost section of the 3-segment earphone socket, that is, the outermost first section of the 3-segment earphone socket of the debug apparatus 20 is used as the GND line, and correspondingly, the outermost first section of the 3-segment earphone socket of the debugged apparatus 10 is used as the GND line, so that the EMS (Electromagnetic Compatibility) feature of the interface under the ESD (Electro-Static discharge) discharge test condition can be improved. That is, since the discharge condition generally occurs in the outermost segment, the segment is set as the ground line, and it is not easy to cause interference with the signal data.
In this embodiment, the positions of the SWCLK line and the SWDIO line may be set arbitrarily, that is, the second section of the 3-segment headphone socket of the debugging device 20 is used as the SWDIO line, the third section of the 3-segment headphone socket of the debugging device 20 is used as the SWCLK line, the second section of the 3-segment headphone socket of the debugged device 10 is used as the SWDIO line, and the third section of the 3-segment headphone socket of the debugged device 10 is used as the SWCLK line. Such an embodiment is shown in fig. 1. Or the third section of the 3-segment headphone jack of the debug apparatus 20 is used as the SWDIO line, the second section of the 3-segment headphone jack of the debug apparatus 20 is used as the SWCLK line, the third section of the 3-segment headphone jack of the debugged apparatus 10 is used as the SWDIO line, and the second section of the 3-segment headphone jack of the debugged apparatus 10 is used as the SWCLK line.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a debugging system of an apparatus according to the present invention in an unassembled state, where the debugging system of the apparatus may include:
a debugged device 10 having a 3-segment headphone socket, and a debugged circuit in the debugged device 10 is connected to the 3-segment headphone socket of the debugged device 10, so that the debugging device 20 debugs the debugged device 10;
a commissioning device 20 having a 3-segment headset socket;
a male-to-male cable 30 connecting the commissioning device 20 and the commissioned device 10;
at least one section of the 3-section earphone socket of the debugging equipment 20 is used as a GND wire, and at least one section of the 3-section earphone socket is used as a SWIM wire;
at least one section of the 3-section earphone socket of the debugged device 10 is used as a GND line, at least one section of the 3-section earphone socket is used as a SWIM line, and the electrical properties of the same section of the 3-section earphone socket of the debugged device 10 are the same as those of the same section of the 3-section earphone socket of the debugged device 20.
The embodiment of fig. 2 also employs a 3-segment earphone socket, which is applied in the SWIM case, so that at least one segment of the 3-segment earphone socket of the debugging device 20 is used as the GND line, at least one segment is used as the SWIM line, and at least one segment of the 3-segment earphone socket of the debugged device 10 is used as the GND line, and at least one segment is used as the SWIM line. Likewise, the electrical properties of the same segment of the 3-segment headphone socket of the debuggee device 10 and the 3-segment headphone socket of the debug device 20 need to be the same.
In a specific embodiment of the present invention, the first section, the second section, and the third section of the 3-section earphone jack of the debugging device 20 are sequentially used as a GND line, and a SWIM line;
or, the first section, the second section, and the third section of the 3-section earphone socket of the debugging device 20 are sequentially used as a GND line, a SWIM line, and a SWIM line;
or, the first section, the second section, and the third section of the 3-section earphone socket of the debugging device 20 are sequentially used as a GND line, a SWIM line, and a GND line;
wherein, the first section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets outside, and the second section of 3 section formula earphone sockets represents the one section in the middle of this 3 section formula earphone sockets, and the third section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets innermost.
In this embodiment, similarly to the previous embodiment, the first section of the 3-segment earphone socket of the commissioning device 20 and the first section of the 3-segment earphone socket of the commissioned device 10 are set as GND lines, so that the EMS characteristics of the interface under the ESD discharge test condition can be improved.
The second section and the third section can be set at will, and only one section is required to be set as the SWIM line. In the first embodiment of this embodiment, the first, second, and third sections of the 3-segment earphone socket of the debuggee device 20 are sequentially used as the GND line, and the SWIM line, so that the first, second, and third sections of the 3-segment earphone socket of the debuggee device 10 are sequentially used as the GND line, and the SWIM line. Referring to fig. 3a, it is a schematic diagram of a connection between a 3-segment headphone jack of a debugged device 10 and a debugged circuit thereof, and in fig. 3a, the debugged circuit is specifically an MCU.
Accordingly, in a second embodiment of this embodiment, the first section, the second section, and the third section of the 3-segment earphone socket of the debugged device 20 are sequentially used as a GND line, a SWIM line, and a SWIM line, so that the first section, the second section, and the third section of the 3-segment earphone socket of the debugged device 10 are sequentially used as a GND line, a SWIM line, and fig. 3b is a schematic connection diagram of the 3-segment earphone socket of the debugged device 10 and a debugged circuit thereof in this embodiment.
Accordingly, fig. 3c is a schematic diagram of the connection between the 3-segment earphone socket of the debuggee device 10 and the debuggee circuit thereof in this embodiment.
It should be noted that, although the embodiments in fig. 3b, fig. 3a, and fig. 3c can all ensure the implementation of the scheme, in practical applications, the embodiment in fig. 3b is usually selected. In the embodiment of fig. 3b, since the second segment and the third segment of the earphone jack are both used as SWIM lines, when abnormal conditions such as poor contact occur at the jack interface of any one segment of the SWIM line, the other segment of the SWIM line can still ensure normal transmission of data. Of course, in the embodiments of fig. 3a and 3c, the earphone socket has two sections as GND lines, and it can be ensured that when an abnormal condition such as poor contact occurs at the socket interface of any one section of GND line, the other section of GND line can still be grounded normally.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a debugging system of a device in an unassembled state according to the present invention, where the debugging system of the device may include:
a debugged device 10 having a 4-segment headphone socket, and a debugged circuit in the debugged device 10 is connected to the 4-segment headphone socket of the debugged device 10, so that the debugging device 20 performs debugging of the debugged device 10;
a commissioning device 20 having a 4-segment headset socket;
a male-to-male cable 30 connecting the commissioning device 20 and the commissioned device 10;
at least one section of the 4-section earphone socket of the debugging device 20 is used as a GND line, at least one section is used as a SWDIO line, and at least one section is used as a SWCLK line;
at least one section of the 4-section earphone socket of the debugged device 10 is used as a GND line, at least one section is used as a SWDIO line, and at least one section is used as a SWCLK line, and the electrical properties of the same section of the 4-section earphone socket of the debugged device 10 and the same section of the 4-section earphone socket of the debugged device 20 are the same.
The embodiment of fig. 4 is a 4-segment earphone jack, which is used in SWD applications. Therefore, the 4-segment headphone jack of the debugging device 20 has at least one segment as the GND line, at least one segment as the SWDIO line, and at least one segment as the SWCLK line. The debuggee device 10 does the same, and the electrical properties of the same segment of the 4-segment headphone socket of the debuggee device 10 and the 4-segment headphone socket of the debug device 20 need to be the same.
In one embodiment of the present invention, the first section of the 4-section earphone jack of the commissioning device 20 is used as the GND line;
at least one of the second, third and fourth sections of the 4-section headphone jack of the debugging device 20 is used as a SWDIO line, at least one of the second, third and fourth sections is used as a SWCLK line, and at least one of the second, third and fourth sections is used as a RESET line;
the first section of the 4-section earphone socket represents the outermost section of the 4-section earphone socket, the second section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the first section, the fourth section of the 4-section earphone socket represents the innermost section of the 4-section earphone socket, and the third section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the fourth section.
In this embodiment, the first section of the 4-section earphone socket of the debug apparatus 20 is used as the GND line, and the electrical properties of the same sections of the 4-section earphone socket of the debugged apparatus 10 and the 4-section earphone socket of the debug apparatus 20 need to be the same, so the first section of the 4-section earphone socket of the debug apparatus 20 is also used as the GND line.
Similarly to the previous embodiment, the first section of the 4-segment earphone socket of the commissioning device 20 and the first section of the 4-segment earphone socket of the commissioned device 10 are set as GND lines, so that the EMS characteristics of the interface under the ESD discharge test condition can be improved.
At least one of the 4-segment earphone sockets of the debugging device 20 is used as a RESET line, which is considered that in some cases, the debugged device 10 needs to be RESET by the RESET line to ensure normal communication with the debugging device 20. Of course, in some cases, when the RESET line is not needed, the position may be left floating or set as one of the SWDIO line, the SWCLK line and the GND line, so as to achieve the effect of ensuring normal operation of the line by the redundant line when abnormal conditions such as poor contact occur at the socket interface in the foregoing embodiments. For example, in a specific situation, considering that the debugged device 10 may not need a RESET line, the first section to the fourth section of the 4-segment headphone jack of the debugged device 10 and the debug device 20 are sequentially set as a GND line, a SWDIO line, and a SWCLK line, and since the headphone jack has two sections as the SWDIO line, it can be ensured that when an abnormal condition such as poor contact occurs at the jack interface of any one section of the SWDIO line, the other SWDIO line can still ensure normal reading and writing of data.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a debugging system of a device in an unassembled state according to the present invention, where the debugging system of the device may include:
a debugged device 10 having a 4-segment headphone socket, and a debugged circuit in the debugged device 10 is connected to the 4-segment headphone socket of the debugged device 10, so that the debugging device 20 performs debugging of the debugged device 10;
a commissioning device 20 having a 4-segment headset socket;
a male-to-male cable 30 connecting the commissioning device 20 and the commissioned device 10;
at least one section of the 4-section earphone socket of the debugging equipment 20 is used as a GND wire, and at least one section of the 4-section earphone socket is used as a SWIM wire;
at least one section of the 4-section earphone socket of the debugged device 10 is used as a GND line, at least one section of the 4-section earphone socket is used as a SWIM line, and the electrical properties of the same section of the 4-section earphone socket of the debugged device 10 and the same section of the 4-section earphone socket of the debugged device 20 are the same.
The embodiment of fig. 5 is a 4-segment earphone jack, which is used in SWIM applications. Therefore, the 4-segment earphone socket of the debugging device 20 and the 4-segment earphone socket of the debuggee device 10 both have at least one segment as the GND line and at least one segment as the SWIM line.
In one embodiment of the present invention, the first section of the 4-section earphone jack of the commissioning device 20 is used as the GND line; the second, third and fourth sections of the 4-section earphone socket of the debugging device 20 are sequentially used as GND lines, SWIM lines and SWIM lines;
alternatively, the first section of the 4-section earphone jack of the debugging device 20 is used as the GND line; the second, third and fourth sections of the 4-section headphone jack of the debugging device 20 are sequentially used as SWIM lines, SWIM lines and SWIM lines;
alternatively, the first section of the 4-section earphone jack of the debugging device 20 is used as the GND line; the second section of the 4-section earphone socket of the debugging device 20 is suspended, and the third section and the fourth section of the 4-section earphone socket of the debugging device 20 are sequentially used as SWIM lines;
the first section of the 4-section earphone socket represents the outermost section of the 4-section earphone socket, the second section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the first section, the fourth section of the 4-section earphone socket represents the innermost section of the 4-section earphone socket, and the third section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the fourth section.
In this embodiment, 3 examples are described, and each of the examples is provided with at least 2 segments of the SWIM line, for example, in the embodiment of fig. 5, the first segment to the fourth segment of the 4-segment headphone jack, which is specifically the debug device 20, are sequentially used as GND line, SWIM line, and SWIM line. This embodiment is also a more common embodiment, and redundancy is implemented for both GND lines and SWIM lines.
Of course, other embodiments may be selected in other embodiments, for example, the first segment to the fourth segment of the 4-segment headset socket of the debugging device 20 and the debugged device 10 are sequentially used as GND, SWIM line and SWIM line, so as to ensure the resistance of the SWIM line to the interface contact abnormal condition as much as possible.
Besides, in addition to the 3 embodiments described in this embodiment, other embodiments may be provided in other occasions as long as the requirement that at least one of the 4-segment headset sockets of the commissioning device 20 and the commissioned device 10 is used as the GND line and at least one of the two is used as the SWIM line is satisfied. For example, the first section of the 4-segment headphone jack of the debug device 20 and the debuggee device 10 is used as the GND line, the second section is used as the SWIM line, and the third section and the fourth section are both idle, i.e., both are floating. Alternatively, a RESET line may be selected, but in practical applications, the RESET line is not usually needed in the case of SWIM by the debuggee device 10.
Debuggee device 10 of the present application may generally be an internet of things device. 3 segmentations and 4 segmentations's earphone socket are described above in this application, can all be 3.5mm usually, and the commonality is strong, and wide application, and production technology is mature. That is, the earphone socket of the debugging device 20 and the earphone socket of the debugged device 10 of the present application may both be 3.5mm earphone sockets.
Use the embodiment of the utility model provides a technical scheme has set up earphone socket on debugged equipment, and debugged circuit in the debugged equipment is connected with debugged equipment's earphone socket, has also set up earphone socket on the debugging equipment, utilize public to public cable connection debugging equipment and debugged equipment, owing to adopt earphone socket's mode to connect, make the scheme of this application be fit for quick plug, reduced plug intensity of labour, reduce operating time, the opening exposes the area simultaneously and makes the protection level high for a short time. And earphone socket and public production technique to public cable all are comparatively ripe for the scheme of this application is fit for batch production, and the cost is lower. The earphone socket can be a 3-segment type or a 4-segment type, and the scheme of the application can be applied to SWD occasions and SWIM occasions according to different circuit settings of the earphone socket of the debugging equipment and the debugged equipment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The principle and the implementation of the present invention are explained herein by applying specific examples, and the above descriptions of the embodiments are only used to help understand the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, without departing from the principle of the present invention, the present invention can be further modified and modified, and such modifications and modifications also fall within the protection scope of the appended claims.

Claims (10)

1. A commissioning system for a device, comprising:
the debugging equipment is provided with a 3-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 3-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 3-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 3-section earphone socket of the debugging equipment is used as a GND line, at least one section of the 3-section earphone socket is used as an SWDIO line, and at least one section of the 3-section earphone socket is used as an SWCLK line;
at least one section of the 3-section type earphone socket of the debugged equipment is used as a GND line, at least one section of the 3-section type earphone socket is used as a SWDIO line, at least one section of the 3-section type earphone socket is used as a SWCLK line, and the electrical properties of the same section of the 3-section type earphone socket of the debugged equipment are the same.
2. The debugging system of claim 1, wherein the first, second and third sections of the 3-segment headset jack of the debugging device are sequentially used as a GND line, a SWDIO line and a SWCLK line;
or the first section, the second section and the third section of the 3-section earphone socket of the debugging equipment are sequentially used as a GND line, an SWCLK line and an SWDIO line;
wherein, the first section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets outside, and the second section of 3 section formula earphone sockets represents the one section in the middle of this 3 section formula earphone sockets, and the third section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets innermost.
3. A commissioning system for a device, comprising:
the debugging equipment is provided with a 3-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 3-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 3-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 3-section earphone socket of the debugging equipment is used as a GND wire, and at least one section of the 3-section earphone socket is used as a SWIM wire;
at least one section of the 3-section type earphone socket of the debugged equipment is used as a GND wire, at least one section of the 3-section type earphone socket of the debugged equipment is used as a SWIM wire, and the electrical properties of the same section of the 3-section type earphone socket of the debugged equipment are the same as those of the same section of the 3-section type earphone socket of the debugged equipment.
4. The debugging system of claim 3, wherein the first, second and third sections of the 3-segment headset jack of the debugging device are sequentially used as GND, GND and SWIM lines;
or the first section, the second section and the third section of the 3-section earphone socket of the debugging equipment are sequentially used as a GND wire, a SWIM wire and a SWIM wire;
or the first section, the second section and the third section of the 3-section earphone socket of the debugging equipment are sequentially used as a GND wire, a SWIM wire and a GND wire;
wherein, the first section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets outside, and the second section of 3 section formula earphone sockets represents the one section in the middle of this 3 section formula earphone sockets, and the third section of 3 section formula earphone sockets represents the one section of this 3 section formula earphone sockets innermost.
5. A commissioning system for a device, comprising:
the debugging equipment is provided with a 4-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 4-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 4-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 4-section earphone socket of the debugging equipment is used as a GND line, at least one section of the 4-section earphone socket is used as an SWDIO line, and at least one section of the 4-section earphone socket is used as an SWCLK line;
at least one section of the 4-section earphone socket of the debugged equipment is used as a GND line, at least one section of the 4-section earphone socket is used as a SWDIO line, at least one section of the 4-section earphone socket is used as a SWCLK line, and the electrical properties of the same section of the 4-section earphone socket of the debugged equipment are the same as those of the same section of the 4-section earphone socket of the debugged equipment.
6. The commissioning system of a device of claim 5, wherein a first segment of a 4-segment headset jack of the commissioning device is used as a GND line;
at least one of the second section, the third section and the fourth section of the 4-section earphone socket of the debugging equipment is used as an SWDIO line, at least one of the sections is used as an SWCLK line, and at least one of the sections is used as a RESET line;
the first section of the 4-section earphone socket represents the outermost section of the 4-section earphone socket, the second section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the first section, the fourth section of the 4-section earphone socket represents the innermost section of the 4-section earphone socket, and the third section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the fourth section.
7. A commissioning system for a device, comprising:
the debugging equipment is provided with a 4-segment earphone socket, and a debugged circuit in the debugged equipment is connected with the 4-segment earphone socket of the debugged equipment so that the debugging equipment debugs the debugged equipment;
the commissioning device having a 4-segment headset receptacle;
a male-to-male cable connecting the commissioning device and the commissioned device;
at least one section of the 4-section earphone socket of the debugging equipment is used as a GND wire, and at least one section of the 4-section earphone socket is used as a SWIM wire;
at least one section of the 4-section type earphone socket of the debugged equipment is used as a GND wire, at least one section of the 4-section type earphone socket of the debugged equipment is used as a SWIM wire, and the electrical properties of the same section of the 4-section type earphone socket of the debugged equipment are the same as those of the same section of the 4-section type earphone socket of the debugged equipment.
8. The commissioning system of a device of claim 7, wherein a first segment of a 4-segment headset jack of the commissioning device is used as a GND line; the second section, the third section and the fourth section of the 4-section earphone socket of the debugging equipment are sequentially used as a GND wire, a SWIM wire and a SWIM wire;
or the first section of the 4-section earphone socket of the debugging equipment is used as a GND line; the second section, the third section and the fourth section of the 4-section earphone socket of the debugging equipment are sequentially used as SWIM lines, SWIM lines and SWIM lines;
or the first section of the 4-section earphone socket of the debugging equipment is used as a GND line; the second section of the 4-section earphone socket of the debugging equipment is suspended, and the third section and the fourth section of the 4-section earphone socket of the debugging equipment are sequentially used as SWIM lines;
the first section of the 4-section earphone socket represents the outermost section of the 4-section earphone socket, the second section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the first section, the fourth section of the 4-section earphone socket represents the innermost section of the 4-section earphone socket, and the third section of the 4-section earphone socket represents the section of the 4-section earphone socket close to the fourth section.
9. The commissioning system of devices of claim 7, wherein the commissioned device is an internet of things device.
10. The commissioning system of devices of claim 9, wherein the headset receptacle of the commissioning device and the headset receptacle of the commissioned device are both 3.5mm headset receptacles.
CN202023223519.6U 2020-12-28 2020-12-28 Debugging system of equipment Active CN214280251U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023223519.6U CN214280251U (en) 2020-12-28 2020-12-28 Debugging system of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023223519.6U CN214280251U (en) 2020-12-28 2020-12-28 Debugging system of equipment

Publications (1)

Publication Number Publication Date
CN214280251U true CN214280251U (en) 2021-09-24

Family

ID=77783762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023223519.6U Active CN214280251U (en) 2020-12-28 2020-12-28 Debugging system of equipment

Country Status (1)

Country Link
CN (1) CN214280251U (en)

Similar Documents

Publication Publication Date Title
CN201051600Y (en) Circuit board hot swap interface
CN201781162U (en) Cable group and electronic device
CN103888873A (en) Electronic device and UART output system and method
CN214280251U (en) Debugging system of equipment
CN202076648U (en) Expansion module of connecting device realized through PCI-E bus
CN202205997U (en) Modular connector with protective elements
CN107681387A (en) A kind of multicore is from short-circuit protection connector structure
CN214673257U (en) Fixed-point self-short-circuit electric connector
CN203387024U (en) Expansion device of built-in NGFF connector
CN112736525A (en) Debugging system of equipment
CN201656199U (en) Serial line with USB current-taking function
CN116028409B (en) Adapter card, mainboard, computer, data transmission method, equipment and medium
CN219513480U (en) USB connecting wire
CN209843998U (en) Go up screen line mistake plug protection architecture
CN207664362U (en) A kind of multicore is from short-circuit protection connector structure
CN107783923B (en) External electric connection interface
CN101662116B (en) Jumper component of multi-pin serial port communication line and use method thereof
CN216085616U (en) Multi-interface audio patch cord
CN220526326U (en) Self-checking USB changes network device
CN203967454U (en) Based on the high-frequency data transmission device of USB 3.0 technology
CN203645103U (en) Serial port debugging cable system
CN113013681B (en) Fixed point self-short circuit electric connector
CN220419823U (en) V2X equipment debugging circuit and V2X equipment
CN201741967U (en) Improved network connecting device
US20120115361A1 (en) Electronic connector module

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220314

Address after: 312000 building 16, science and Technology City, No. 1100, Fuxing East Road, Cao'e street, Shangyu District, Shaoxing City, Zhejiang Province

Patentee after: Zhejiang Shunyun Internet Technology Co.,Ltd.

Patentee after: Wolong Electric Drive Group Co., Ltd

Address before: 312353 Economic Development Zone, Shangyu District, Shaoxing City, Zhejiang Province

Patentee before: WOLONG ELECTRIC GROUP Co.,Ltd.

Patentee before: Wolong Electric (Shanghai) Central Research Institute Co.,Ltd.

Patentee before: Zhejiang longchuang Motor Technology Innovation Co.,Ltd.

TR01 Transfer of patent right