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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
