Flexible FreeRTOS Trace Solution

A new FreeRTOS trace solution based on the RTEdbg toolkit is available to developers designing FreeRTOS-based embedded systems.

The tool is an equivalent of a combination of an oscilloscope and a logic analyzer with a virtually arbitrary number of channels, which can be connected both to FreeRTOS signals and to arbitrary application signals. The FreeRTOS trace “test connector” is ready for use and easy to integrate into the project.

See few examples of Data Export and Visualization Possibilities

Key advantages:

  1. The logging functions execute quickly and consume minimal stack and program memory (several times less than other FreeRTOS trace solutions).
  2. Simple and highly efficient recording of both RTOS and application-specific information - from atomic values, bitfields, complete data structures, up to exception core dumps.
  3. Ideal for post-mortem diagnostics as it requires no registration of tasks, queues, or other objects.
  4. Open-source solution optimized for 32-bit devices.
  5. Supports the trace of traceENTER/traceEXIT macros, primarily intended for use by FreeRTOS developers.

The new FreeRTOS trace solution is highly flexible, ready for future RTOS extensions and integration with other FreeRTOS modules beyond the kernel.

See FreeRTOS trace demo for details. It also shows how to integrate tracing for system issues detected by, e.g., configASSERT(), vApplicationStackOverflowHook(), or vApplicationMallocFailedHook().

1 Like