# FreeRTOS-trace-demo **Repository Path**: lmx89/FreeRTOS-trace-demo ## Basic Information - **Project Name**: FreeRTOS-trace-demo - **Description**: No description available - **Primary Language**: C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-27 - **Last Updated**: 2026-04-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## FreeRTOS Trace Demo Project ![VCD timing file](Img/vcd_zoom.png) This project demonstrates how to integrate **FreeRTOS trace** capabilities to enable visualization of both kernel and application code execution. The image above shows the visualization of the code execution for this demo project. This project contains the test and demonstration code for the **FreeRTOS trace** based on the **[RTEdbg toolkit](https://github.com/RTEdbg/RTEdbg)**. This is not a demonstration of correct FreeRTOS usage, but rather a showcase of data logging during execution, encompassing FreeRTOS trace, FreeRTOS system error trace, and application tracing. Certain elements are intentionally implemented incorrectly to demonstrate the specific information that is logged when FreeRTOS detects errors—for instance, when a Queue is full or a Semaphore is already taken (or unavailable). The primary focus is placed on the correctness of the FreeRTOS trace output, with less emphasis on whether the `FreeRTOSConfig.h` file is set up in the most optimal and strictly correct manner. ### For more information, please refer to the following documents: * **[RTEdbg Trace Macro Integration Guide for FreeRTOS](https://github.com/RTEdbg/RTOS_trace/blob/master/FreeRTOS/RTEdbg_trace_macro_integration_guide_FreeRTOS.adoc)** * **[RTOS Error Handling and Reporting](https://github.com/RTEdbg/RTOS_trace/blob/master/FreeRTOS/RTOS_Error_Handling_and_Reporting.md)** with examples for FreeRTOS * **[RTOS Trace Customization and Porting](https://github.com/RTEdbg/RTOS_trace/blob/master/RTOS_trace_customization_and_porting.adoc)** * **[GTKWave - Quick Introduction and Shortcuts](https://github.com/RTEdbg/RTEdbg/blob/master/docs/GTKWave-Quick_Introduction_and_Shortcuts.adoc)** - GTKWave is a free, open-source waveform viewer that can be utilized to analyze data gathered from both Real-Time Operating System (RTOS)-based and bare-metal embedded systems.