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

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: 2006-10-25
ZTE CORP
View PDF0 Cites 3 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 the existing software debugging technology is not well applicable to multi-task concurrent debugging;

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

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

[0031] 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.

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

[0033] 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

A method for multitasking concurrent debugging of an embedded system, comprising the following steps: setting at least one stack trace record area for each stack in the memory, and initializing; executing the print information record function, and calling the print content preservation function during the printing process Save the print information to the stack trace record area; respectively execute the entry trace record function at the entrance and the exit trace record function at the exit, and perform instrumentation at the function entry and exit of the application program respectively; call for stack trace The analysis and debugging function of the record area is used to display the basic information of all stack trace record areas, the function call process of the specified stack trace record area and the saved print content of the specified stack trace record area. The method of the invention does not affect the task scheduling process of the tested software, and smoothly executes multi-task concurrent debugging; the analysis of software abnormality directly uses the information recorded in the stack trace recording area without analyzing hardware, so the implementation is simple and easy to use.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 钟文昕赵良刚周元庆
Owner ZTE CORP
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