Unlock instant, AI-driven research and patent intelligence for your innovation.

A debugging method and debugging device for an embedded system

An embedded system and debugging method technology, applied in software testing/debugging, etc., can solve problems such as difficulty in checking global variables, and achieve the effect of enhancing system stability

Active Publication Date: 2016-05-11
HUIZHOU DESAY SV AUTOMOTIVE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a debugging method and a debugging device for an embedded system to solve the technical problem of difficulty in checking global variables in the prior art

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 for an embedded system
  • A debugging method and debugging device for an embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0031] like figure 1 Shown, the present invention is a kind of debugging method of embedded system, comprising:

[0032] The debugging module receives the debugging command and reads one or more global variables from the global variable memory area, which is preset and used to store the address area of ​​all global variables of the embedded system;

[0033] According to the preset global variable analysis table, it is judged whether the read one or more global variables meet the valid conditions. In the global variable analysis table, each global variable has one or more valid conditions corresponding.

[0034] Among them, the valid conditions can be:

[0035] 1. The valid condition is the initialization value of each global variable. In the global variable analysis table, each global variable has a corresponding initialization valu...

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 invention relates to a debugging method and a debugging device for a software system, in particular to a debugging method and a debugging device for an embedded system. The method includes the steps: enabling a debugging module to receive a debugging command and read one or multiple global variables from a preset global variable memory area which is an address area used for storing all global variables in the embedded system; and judging whether the read one or multiple global variables meet valid conditions or not according to a preset global variable analysis table, wherein in the global variable analysis table, each global variable corresponds to one or multiple valid conditions. Before the system runs, initialized check can be quickly performed for the global variables; during running of the system, whether the global variables are within valid ranges or not can be quickly checked; and before the system stops running, whether the global variables return to expected values or not can be quickly checked. System defects can be timely discovered, and system stability can be enhanced by dynamically analyzing the global variables in the whole running process of the system.

Description

technical field [0001] The invention relates to a debugging method of a software system and a device thereof, in particular to a debugging method of an embedded system and a debugging device thereof. Background technique [0002] In embedded software development, often due to the lack of initialization of global variables, many uncertain problems occur in the operation of the system. The analysis of these problems often takes a lot of time. At present, there are no effective analysis tools and methods for this problem. At the same time, there is no means to analyze the global variables during the system operation and before the system stops. Contents of the invention [0003] The invention provides a debugging method and a debugging device for an embedded system to solve the technical problem of difficulty in checking global variables in the prior art. [0004] The technical scheme adopted is as follows: [0005] A debugging method for an embedded system, comprising: ...

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
Inventor 方加强
Owner HUIZHOU DESAY SV AUTOMOTIVE