cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.5.0 FreeRTOS thread-aware

egoltzman
Senior

Hello,

I the recent publications (https://blog.st.com/stm32cube-ecosystem/) about the new released version of the CubeIDE I can see that ST added support for FreeRTOS thread-aware debugging and this is great, but I can't find any documentation about it and how do I use it.

Can you please point me to where I can find such documentation?

Thanks

12 REPLIES 12

Difference for debugger config:

0693W000006Gc3UQAS.pngThis is STM32CubeIDE

Version: 1.5.1

Build: 9029_20201210_1234 (UTC)

As for Startup - I was asking about sentence on page 119:

When [Thread-aware RTOS support] is used, update the Startup tab: disable [Resume] and [in Run Commands], add thread 2 and continue. This forces a thread context switch before the continue command is sent.

I see. The left screen shot does not show the drop-down list because the other (SEGGER) RTOS seems not to be supported, so there is no choice. FreeRTOS views work anyway.

The second point concerns the the Startup tab for the debugger configuration. Didn't work for me (ST-LINK). There are blogs about multi-threaded support for gdb + OpenOCD, see here: https://mcuoneclipse.com/2016/04/09/freertos-thread-debugging-with-eclipse-and-openocd/. I'm not using it however.

Thank you for hints, and link!