CN216527147U - Remote debugging device applied to embedded product - Google Patents

Remote debugging device applied to embedded product Download PDF

Info

Publication number
CN216527147U
CN216527147U CN202123350184.9U CN202123350184U CN216527147U CN 216527147 U CN216527147 U CN 216527147U CN 202123350184 U CN202123350184 U CN 202123350184U CN 216527147 U CN216527147 U CN 216527147U
Authority
CN
China
Prior art keywords
debugging
jlink
interface
usb
embedded
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
CN202123350184.9U
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.)
Shandong Sheenrun Optics Electronics Co Ltd
Original Assignee
Shandong Sheenrun Optics Electronics 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 Shandong Sheenrun Optics Electronics Co Ltd filed Critical Shandong Sheenrun Optics Electronics Co Ltd
Priority to CN202123350184.9U priority Critical patent/CN216527147U/en
Application granted granted Critical
Publication of CN216527147U publication Critical patent/CN216527147U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model provides a remote debugging device applied to an embedded product, which is integrated in the embedded product and comprises an external network interface, a board card and an internal JLINK debugging interface, wherein the board card comprises a net port chip, a CPU, a power supply module and a USB-to-JLINK circuit, the external network interface is connected with the CPU through the net port chip, the CPU is connected with the internal JLINK debugging interface through the USB-to-JLINK circuit, the power supply module supplies power for the board card, and the internal JLINK debugging interface is connected with a debugging interface of an ARM chip. The utility model can complete the remote debugging of the program without disassembling the equipment.

Description

Remote debugging device applied to embedded product
Technical Field
The utility model is mainly applied to the development of embedded products, relates to the remote debugging of ARM chips by Keil software, and particularly relates to a remote debugging device applied to embedded products.
Background
For embedded products such as security and protection, a common method in the development and debugging stages is to use a USB to jline tool to directly connect an ARM chip in the embedded product, thereby completing the design and development of a program. The reason for doing this is because the product has not been assembled yet at the present stage, and the debugging interface still exposes outside, uses USB to change JLINK to debug simple swiftly. When the problem is found after the product is assembled and the program debugging is needed, the equipment can be detached and the debugging interface is connected again; it is more cumbersome if the device is already installed outdoors to be commissioned.
Disclosure of Invention
Aiming at the defects of the prior art, the utility model provides a remote debugging device applied to an embedded product, which can be used for completing remote debugging of a program without disassembling equipment.
In order to solve the technical problem, the technical scheme adopted by the utility model is as follows: the utility model provides a be applied to remote debugging device of embedded product, inside the embedded product in this device is integrated, including external network interface, the integrated circuit board with internal JLINK debugging interface, the integrated circuit board includes the net gape chip, CPU, power module and USB change JLINK circuit, external network interface passes through the net gape chip and links to each other with CPU, CPU changes the internal JLINK debugging interface of JLINK circuit connection through USB, power module is the integrated power supply of integrated circuit board, internal JLINK debugging interface connection is to the debugging interface of ARM chip.
Further, the USB to JLINK circuit includes USB interface, singlechip and OUT1 port, and CPU is connected to USB interface one end, and the other end of USB interface is connected to the input of singlechip through resistance, and the output of singlechip is connected to OUT1 port through resistance, and OUT1 port is connected to inside JLINK debugging interface.
Furthermore, the external network interface and the network interface of the embedded product are integrated into a network of an embedded product user through a network switch.
Furthermore, the power module comprises a voltage conversion circuit, and the voltage conversion circuit outputs +3.3V voltage through the forward low drop voltage stabilizer AMS1117 so as to supply power to the single chip microcomputer.
Furthermore, the device carries out remote debugging on the embedded product in a mode of debugging IP.
The utility model has the beneficial effects that: the utility model is provided with an external network interface, a board card and an internal JLINK debugging interface, wherein the external network interface and the network interface of an embedded product are integrated into a network of an embedded product user through a network switch, the board card is provided with a USB-to-JLINK circuit, when debugging information is transmitted to a CPU through the external network interface, the debugging information is transmitted to the internal JLINK debugging interface through the USB-to-JLINK circuit, and the debugging information is transmitted to an ARM chip through the internal JLINK debugging interface, so that the remote debugging of the ARM chip is realized. Based on the device, technicians can debug the equipment remotely by means of the network cable when debugging programs through Keil software. Compared with the debugging mode of directly converting USB into JLINK, the debugging method is more convenient and faster.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a schematic circuit diagram of a USB to JLINK circuit;
fig. 3 is a schematic diagram of remote debugging of an embedded product by debugging IP.
Detailed Description
The utility model is further described with reference to the following figures and specific embodiments.
Example 1
The embodiment discloses a remote debugging instrument for embedded product, this device integration is inside embedded product, as shown in fig. 1, including external network interface, the integrated circuit board and the internal JLINK debugging interface, the integrated circuit board includes the net gape chip, CPU, power module and USB change JLINK circuit, external network interface passes through the net gape chip and links to each other with CPU, CPU passes through the internal JLINK debugging interface of USB change JLINK circuit connection, power module is the integrated circuit board power supply, the debugging interface of internal JLINK debugging interface connection to ARM chip.
As shown in fig. 2, the USB to JLINK circuit includes a USB interface, a single chip, and an OUT1 port, one end of the USB interface is connected to the CPU, the other end of the USB interface is connected to pins PA11 and PA12 of the single chip through resistors R1 and R4, pins PA3 and PA4 of the single chip are connected to an OUT1 port through resistors R10 and R9, and an OUT1 port is connected to the internal JLINK debug interface. During operation, the CPU receives remote debugging information through an external network interface and a network interface chip, and then sends the remote debugging information to the single chip microcomputer U2 through the USB interface, and the single chip microcomputer tunes the data format of the remote debugging information into the JLINK downloader format and then sends the data format to the external JLINK interface, and then sends the data format to the debugging interface of the ARM chip.
In this embodiment, the power module includes a voltage conversion circuit, and the voltage conversion circuit outputs +3.3V voltage through the forward low drop voltage regulator AMS1117 to supply power for the singlechip.
In this embodiment, the external network interface and the network interface of the embedded product are integrated into a network of an embedded product user through the network switch.
The device carries out remote debugging on the embedded product in an IP debugging mode.
The device is used based on a main flow tool Keil in the field of current embedded software development and serves as a JLINK server between a Keil debugging tool and an ARM chip. The Keil software realizes remote debugging of the ARM chip by means of the JLINK server.
When an embedded product is assembled, the internal JLINK interface of the tool is connected to a debugging interface of an ARM chip; the network interface of the tool and the network interface of the embedded product can be integrated into a network of an embedded product user through a network switch; the power module of the tool can be powered by the power supply of the embedded product. After power-on, the IP address of the tool is allocated for subsequent program debugging. After the SEGGER drive is installed in the board card, the tool becomes a JLINK server.
After the installation is finished according to the above method, remote debugging can be carried out by using Keil software of a development tool of an ARM chip. When debugging the program, selecting the IP debugging mode of the Keil software (as shown in FIG. 3), and inputting the IP address of the tool (the IP address of the tool set in the above) so that the technician can realize remote debugging equipment by means of the network cable when debugging the program through the Keil software. Compared with the debugging mode of directly converting USB into JLINK, the debugging method is more convenient and faster.
The foregoing description is only for the basic principle and the preferred embodiments of the present invention, and modifications and substitutions by those skilled in the art are included in the scope of the present invention.

Claims (5)

1. The utility model provides a be applied to remote debugging device of embedded product which characterized in that: this device integration is inside embedded product, including external network interface, integrated circuit board and internal JLINK debugging interface, the integrated circuit board includes net gape chip, CPU, power module and USB change JLINK circuit, and external network interface passes through the net gape chip and links to each other with CPU, and CPU changes JLINK circuit connection internal JLINK debugging interface through USB, and power module is the integrated circuit board power supply, the debugging interface of internal JLINK debugging interface connection to ARM chip.
2. The remote debugging device applied to embedded products of claim 1, wherein: the USB-to-JLINK circuit comprises a USB interface, a single chip microcomputer and an OUT1 port, wherein one end of the USB interface is connected with a CPU, the other end of the USB interface is connected with the input end of the single chip microcomputer through a resistor, the output end of the single chip microcomputer is connected with an OUT1 port through a resistor, and an OUT1 port is connected to an internal JLINK debugging interface.
3. The remote debugging device applied to embedded products of claim 1, wherein: the external network interface and the network interface of the embedded product are integrated into a network of an embedded product user through a network switch.
4. The remote debugging device applied to embedded products of claim 1, wherein: the power module comprises a voltage conversion circuit, and the voltage conversion circuit outputs +3.3V voltage through the forward low drop voltage stabilizer AMS1117 so as to supply power to the single chip microcomputer.
5. The remote debugging device applied to embedded products of claim 1, wherein: the device carries out remote debugging on the embedded product in an IP debugging mode.
CN202123350184.9U 2021-12-29 2021-12-29 Remote debugging device applied to embedded product Active CN216527147U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202123350184.9U CN216527147U (en) 2021-12-29 2021-12-29 Remote debugging device applied to embedded product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202123350184.9U CN216527147U (en) 2021-12-29 2021-12-29 Remote debugging device applied to embedded product

Publications (1)

Publication Number Publication Date
CN216527147U true CN216527147U (en) 2022-05-13

Family

ID=81506205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202123350184.9U Active CN216527147U (en) 2021-12-29 2021-12-29 Remote debugging device applied to embedded product

Country Status (1)

Country Link
CN (1) CN216527147U (en)

Similar Documents

Publication Publication Date Title
CN103186441B (en) Switching circuit
CN109271177A (en) A kind of method and system of automatic load PCIE Switch products configuration parameter
CN105955911A (en) Hot-plug control circuit and control method thereof
CN100504831C (en) Method and apparatus for recovering I2C bus locked by slave device
WO2022206246A1 (en) System for parsing blackbox data of server power supply
CN106844277B (en) Server and information transmission method thereof
CN104102160A (en) Controller area network (CAN) bus signal transceiving analysis tool
CN216527147U (en) Remote debugging device applied to embedded product
CN101030185B (en) Device for updating USB switching cascade line
CN201518128U (en) Software upgrading and debugging tool
CN102654838A (en) Software upgrading device and method for stage lamp
US7327002B2 (en) Industrial control circuit using a single-chip microprocessor
CN109541437A (en) Integrated circuit and system
CN102436413A (en) Debugging system and debugging method of board power supply
CN102789298A (en) Power control circuit and method
CN109150911B (en) Communication protocol conversion device of security inspection machine
CN104679123A (en) Mainboard and data burning method thereof
CN212847692U (en) Testing device for verifying eMMC and SD card
CN209373404U (en) A kind of data collection system based on LabView
CN213904673U (en) Raspberry pie expansion board for teaching
CN207488755U (en) A kind of portable IIC command control systems
CN211206649U (en) Remote controller test circuit
CN218336073U (en) Computer communication control fills full agreement testing arrangement soon
CN217061428U (en) Chip burning device
CN201269802Y (en) Simulation apparatus for digital control machine tool

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant