Percepio Tracealyzer is the leading solution for visual trace diagnostics for STM32 software. It lets you record a timeline of your RTOS tasks, API calls and custom logging and explore the data visually, using 30+ interactive and interconnected views.
Tracealyzer relies on a trace recorder software library, that automatically records events from the RTOS kernel. It also allows for logging your own events in the application code, such as variable values and states, much like a printf but 100x faster. No extra tracing hardware is required.
Most STM32 projects created with STM32CubeIDE uses FreeRTOS, via the CMSIS-RTOS API. For instance, osKernelStart() is a wrapper for the FreeRTOS function vTaskStartScheduler(). This guide is for FreeRTOS users, but Tracealyzer supports several leading RTOSes.
To get started with Tracealyzer , the first step is to sign up for a free evaluation license. This also provides the download link.