Method of parallel regulating multi-task of imbedding system

An embedded system and multi-task technology, applied in the field of communication, can solve the problems that software debugging technology is not suitable for multi-task concurrent debugging, etc., and achieve the effect of simple implementation and convenient use

Inactive Publication Date: 2005-01-12
ZTE CORP
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is: in order to overcome that th

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
  • Method of parallel regulating multi-task of imbedding system
  • Method of parallel regulating multi-task of imbedding system
  • Method of parallel regulating multi-task of imbedding system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The method of the present invention is described in detail below.

[0037] The present invention opens up a stack trace record area for each stack in the reserved memory of the single board, and the circular queue in the stack trace record area records the functions and printed information recently executed in this stack, so as to give the debugger a clear message The processing flow can save a lot of debugging time; when the stack is completely destroyed, the usual debugging means cannot display the function call process, and the function call process can also be displayed through the stack trace record area; the present invention can also be used when the program runs away In the case of reset, by powering on again, observe the stack trace recording area information of the last operation in the memory reserved by the board, and quickly locate the running function.

[0038] Implementation of the present invention is divided into 4 major parts:

[0039] 1. When powerin...

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 method includes steps: setting up at least one stack trace record area on memory for each stack, and initializing the area; executing printing information recording function, in printing procedure, calling printing contents saving function to save printing information to the said trace record area; executing a entrance trace record function at entrance; executing a exit trace record function at exit, embedding stubs at entrance and exit of functions in application program; calling analysis debugging function in use for stack trace record area to display all basic information in the stack trace record area, as well as procedures of function call and saved printing contents. The invention does not inference on task dispatching procedure of software to be tested, analyzes abnormity of software by using information recorded in stack trace record area without need of hardware analysis.

Description

technical field [0001] The invention relates to a method for multi-task concurrent debugging of an embedded system in the communication field. Background technique [0002] In the software developed on the embedded operating system, such as communication software, a large number of state machine processing mechanisms are used. The traditional debugging method can be summarized as the following process: set a breakpoint--program pause--observe the program state--continue to run. However, the traditional method of setting breakpoints for debugging is time-consuming and laborious. If you want to check whether a message has arrived, you need to set a breakpoint in the message processing function and wait for the message to arrive. When the message arrives, the program stops and then single-step tracking , and observe whether it is consistent with the design. Moreover, after the breakpoint is stopped, due to the concurrency of the multi-tasking system, the environment after the ...

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 ZTE CORP
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