A debugging method and debugging device

A debugging method and technology of a network file system, applied in the field of debugging methods and debugging devices, can solve problems such as time-consuming, unfavorable rapid iterative development of embedded systems, and low debugging efficiency, so as to save debugging time, fast iterative development, The effect of improving debugging efficiency

Active Publication Date: 2020-05-22
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it takes a long time to compile the entire embedded program and download the compiled binary file to the embedded device, which will lead to low debugging efficiency and is not conducive to the rapid iterative development of embedded systems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A debugging method and debugging device
  • A debugging method and debugging device
  • A debugging method and debugging device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0017] figure 1 It is a schematic flow chart of a debugging method provided by Embodiment 1 of the present invention. This method is suitable for debugging embedded programs in the embedded software development process. The method can be executed by a debugging device, wherein the device can be controlled by software and / or Or hardware implementation, and generally integrated on the server for program debugging.

[0018] Such as figure 1 As shown, a debugging method provided by Embodiment 1 of the present invention includes the following operations:

[0019] S101. If it is detected that there is an execution file generated after compiling the embedded program in the host computer, upload the execution file to the file directory of the network file system on the target server.

[0020] In this embodiment, the host computer may specifically refer to a computer or a workstation for editing and compiling embedded programs. The target server can be specifically understood as ano...

Embodiment 2

[0028] figure 2 It is a schematic flowchart of a debugging method provided by Embodiment 2 of the present invention. This second embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, the debugging method further includes: obtaining the compressed file of the embedded system in the embedded device, and based on the compressed file in the Constructing a network file system on the target server; controlling the embedded device to start and load and run the network file system on the target server based on a setting command.

[0029] On the basis of the above optimization, this embodiment further embodies "controlling the embedded device to start and load and run the network file system on the target server based on the setting command" as: configuring the boot program in the embedded device The start-up operation parameters and the start-up load command; according to the start-up operation parameters and the start-up load command, control ...

Embodiment 3

[0052] image 3 It is a structural block diagram of a debugging device provided by Embodiment 3 of the present invention. The device is suitable for debugging an embedded program during the embedded development process, the device can be realized by software and / or hardware, and is generally integrated on a target server for debugging. Such as image 3 As shown, the debugging device includes: an execution file uploading module 31 and a debugging result determining module 32 .

[0053] Wherein, the execution file upload module 31 is used to upload the execution file to the file directory of the network file system on the target server when it detects that there is an execution file generated after the embedded program is compiled in the host computer;

[0054] The debugging result determination module 32 is configured to determine the debugging result of the embedded program by running the network file system containing the execution file, wherein the network file system is l...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

One embodiment of the invention discloses a debug method and a debug device. The method comprises following steps: if an executable file generated after the compiling of an embedded program in a host computer is detected, the executable file is uploaded to a file directory of a network file system of a target server; a debug result of the embedded program is determined by running the network file system containing the executable file, wherein the network file system is loaded and operated on the basis of an embedded device. By means of the method, compared with existing debug methods, the operation of downloading and integrating executable binary system files to the embedded device is saved so as to increase the debug efficiency of embedded software exploitation, save more debug time and realize the quick iteration exploitation of embedded system.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of debugging of embedded systems, in particular to a debugging method and a debugging device. Background technique [0002] Debugging is an essential part of the embedded system software development process. At present, the editing, compiling, and linking processes of embedded programs are all completed on the host machine (computer or workstation), and the final running and debugging is done on the embedded device. carried out on. In the existing debugging method, first edit and modify the program code to be updated on the host computer, then recompile the entire embedded program on the host computer and generate an executable binary file; finally, download the generated binary file to the embedded device, and after restarting the embedded device, determine the corresponding debugging effect after code modification. [0003] If the embedded program is modified and debugged based on t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3644G06F11/3664
Inventor 蒋波
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products