Check patentability & draft patents in minutes with Patsnap Eureka AI!

Embedded system trace debugging method and device

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

Active Publication Date: 2013-04-10
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 11 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 trace debugging method and device
  • Embedded system trace debugging method and device
  • Embedded system trace 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 trace debugging method. The embedded system trace debugging method comprises the following steps of: after a mission calls trace module to start tracing, assigning a specific information storage area for the mission for calling the trace module in a trace information cache region; obtaining trace information data of the mission, assembling the trace information and writing the trace information into the information cache region by the trace module; and reading the cached trace information, and sending the trace information to analyzing equipment to carry out trace information analysis by a trace information sending module. The invention further discloses an embedded system trace debugging device suitable for the method. According to the technical scheme provided by the invention, the problem of a cache conflict of the trace information in trace debugging of an embedded system can be effectively solved.

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, JATG Debug). 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 breakpoi...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 周勃钱思园佘广桥彭涛
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More