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

Embedded system tracking and debugging method and device

An embedded system, tracing and debugging technology, applied in the direction of software testing/debugging, etc., can solve problems such as trace information cache conflicts, and achieve the effect of avoiding the disorder of trace information data or the loss of trace information

Active Publication Date: 2016-03-02
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] In view of this, the present invention proposes a method and device for tracking and debugging an embedded system to solve the problem of tracking information cache conflicts caused by interrupting low-priority tasks by high-priority tasks

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
  • Embedded system tracking and debugging method and device
  • Embedded system tracking and debugging method and device
  • Embedded system tracking and debugging method and device

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0077] This embodiment is a preferred implementation of the embedded system tracking and debugging method of the present invention, and the overall process is as follows figure 2 shown, including:

[0078] 1. The task calls the tracking module at the tracking point to start tracking;

[0079] 2. Assign a specific information storage area to the task of calling the tracking module in the tracking information buffer area;

[0080] In this embodiment, this step selects the information storage area corresponding to the priority of the task from among the priority information storage areas pre-divided by the tracking information buffer area and assigns it to the task;

[0081] 3. The tracking module obtains the tracking information data of the task, assembles the tracking information, and writes the tracking information into the information storage area;

[0082] Tracking information can be written to any location in the free buffer of the information storage area;

[0083] A p...

specific Embodiment 2

[0090] This embodiment is a preferred implementation of the embedded system tracking and debugging method of the present invention, and the overall process is as follows figure 2 shown, including:

[0091] 1. The task calls the tracking module at the tracking point to start tracking;

[0092] 2. Assign a specific information storage area to the task of calling the tracking module in the tracking information buffer area;

[0093] In this embodiment, this step allocates a buffer area whose length is the length of the tracking information as the information storage area of ​​the task in the free buffer area of ​​the tracking information buffer area;

[0094] A preferred implementation mode is to allocate a continuous buffer area as the information storage area of ​​the task from the first storage unit of the free buffer area; similar to the preferred implementation mode of specific embodiment 1, adopting this preferred implementation mode can make The information storage area ...

specific Embodiment 3

[0105] This embodiment is a preferred implementation of the embedded system tracking and debugging device of the present invention, and the specific structure is as follows Figure 5 shown, including:

[0106] The tracking module obtains the task tracking information data, assembles the tracking information, and writes the tracking information into the information storage area of ​​the task;

[0107] An information storage area allocation module, which allocates an information storage area for tasks in the tracking information buffer area;

[0108] Tracking information cache area, used to cache task tracking information;

[0109] The tracking information sending module reads the tracking information data from the tracking information buffer area and sends it to the analysis device;

[0110] Analyze device, analyze tracking information.

[0111] Among them, the information storage area allocation module such as Figure 6 shown, including:

[0112] a task priority acquisition...

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 discloses an embedded system tracking and debugging method. After the task calls the tracking module to start tracking, a specific information storage area is allocated to the task calling the tracking module in the tracking information buffer area; the tracking module acquires the tracking information data of the task, Assemble the tracking information and write the tracking information into the information storage area; the tracking information sending module reads the cached tracking information and sends it to the analysis device for tracking information analysis. The invention also discloses an embedded system tracking and debugging device adapted to the method. The technical scheme of the invention can effectively avoid the problem of tracking information cache conflict in the embedded system tracking and debugging.

Description

technical field [0001] The invention relates to a software debugging technology in the development of an embedded system, in particular to an embedded system tracking and debugging method and device. Background technique [0002] Embedded systems need to debug software during the development process. At present, there are two main methods for debugging embedded system software. [0003] One is online debugging (abbreviation, JATGDebug). The main method of online debugging is to observe the system status by setting breakpoints, so as to find out the problems existing in the software design. Online debugging can observe the current code execution status of the system, memory data, interrupt status, hardware status and other information and runtime debugging information through the debugger to analyze and locate problems. The problem with online debugging is that when debugging system software that has strict timing requirements, if you observe the system status at a breakpoin...

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 SPREADTRUM COMM (SHANGHAI) CO LTD