Open-Source RTOS tracing with Orbuculum
summary
Implements FreeRTOS trace hooks that emit structured packets over ARM ITM stimulus ports (control on port 3, data on port 2) using a simple start/stop 16‑bit header/footer format and LipTrace wrappers. Uses Orbuculum with an ORTrace Mini (demo sustain ≈100 kb/s; USB‑UART works for low rates) to capture, a short Python decoder to reconstruct events and timestamps, and a TraceCompass state‑system plugin to visualize task states, queue counts and lock durations. The pipeline decodes, timestamps and visualizes RTOS behavior and works on the demo setup.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 1:25Instrumenting FreeRTOS for tracing
- 7:15Sending trace data via ITM
- 12:37Introducing Orbuculum tools
- 16:39Processing trace data offline
- 24:33Visualizing traces with Trace Compass
- 31:03Building state system in Trace Compass
- 36:48Tools and future possibilities
- 38:59Q&A session
