Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Online debugging system of embedded system and debug method thereof

A technology for embedded systems and debugging systems, applied in the direction of software testing/debugging, etc., can solve the problems of wasting storage space, inconvenient debugging, occupying storage space of embedded systems, etc., and achieve the effect of avoiding waste and reducing storage space.

Inactive Publication Date: 2008-05-21
EASTCOMPEACE TECH
View PDF1 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the above debugging method can effectively debug the program to be debugged, since the breakpoints are preset in the program to be debugged, the number of breakpoints and the positions of the breakpoints are fixed when the program is being debugged. , cannot be modified during operation
When debugging, the debugged program can only stop at the preset breakpoint, and cannot add new breakpoints during debugging
If you need to add a new breakpoint, you can only add a new breakpoint in the debugged program after exiting the debugger, which makes the debugging work very inflexible and brings inconvenience to the debugging
At the same time, since the breakpoint is preset in the program being debugged, it is impossible to dynamically realize the single-step operation function
[0005] In addition, for a more complex program to be debugged, it is often necessary to set a large number of breakpoints in the program to be debugged
Since the setting of each breakpoint occupies a certain amount of storage space, if too many breakpoints are set in the program being debugged, it will take up a large amount of storage space in the embedded system, and the breakpoints are stored during the running of the program being debugged. does not play any role, which causes a lot of waste of storage space

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
  • Online debugging system of embedded system and debug method thereof
  • Online debugging system of embedded system and debug method thereof
  • Online debugging system of embedded system and debug method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Referring to FIG. 1 , FIG. 1 is a schematic block diagram of an embodiment of an embedded system in-circuit debugging system of the present invention. The debugging system is composed of a debugging terminal 1 , a connecting device 2 and an embedded system 3 , wherein the debugging terminal 1 is connected to the embedded system 3 through the connecting device 2 .

[0028] The debugging terminal 1 includes a user interface module 11 , a symbol processing module 12 and an object processing module 13 . The user interface module 11 is the interface interface between the debugging terminal 1 and the debugging personnel, and is used to receive and explain the debugging commands set by the debugging personnel, including adding new breakpoints, checking the value of a certain parameter, and checking the status of a certain function in the program being debugged. call relationship and so on. At the same time, the user interface module 11 also displays the current running status...

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

The present invention provides an online debugging system of an embedded system and a debugging method thereof. The embedded system is connected to a debugging terminal through a connecting device, wherein the debugging terminal includes a user interface module, a symbol processing module for receiving information sent by the user interface module, and The target processing module includes an execution module that executes the commands sent by the user interface module, and a communication module that transmits the commands sent by the execution module to the connected device. The embedded system includes a debugged program and a debugging module. The method includes: adding a default breakpoint in the debugged program, downloading the debugged program to the embedded system and running it; the debugged program runs to the breakpoint and then suspends running, and the debugging terminal checks the running information of the debugged program to determine whether A new breakpoint needs to be added, if necessary, add a new breakpoint, otherwise continue running the debugger. The invention can dynamically set breakpoints in the debugging process of the debugged program, which is convenient for debugging personnel to carry out debugging work.

Description

technical field [0001] The invention relates to an online debugging system of an embedded system, in particular to a dynamic online debugging system of an embedded system and a debugging method using the online debugging system. Background technique [0002] With the development of electronic technology, embedded systems have been widely used in electronic communication, automatic control and other fields. With the development of embedded systems, its computing speed is getting faster and its storage capacity is getting bigger and bigger, and the programs running in embedded systems are getting bigger and more complex. inevitable. Therefore, after the program running in the embedded system is written, it needs to be debugged in order to find and eliminate defects. [0003] The Chinese invention patent application with the publication number CN1752946A discloses an invention named "a debugging method and system for an embedded system". The debugging system of the embedded ...

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
IPC IPC(8): G06F11/36
Inventor 郭伟徐云锋张斌
Owner EASTCOMPEACE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products