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
KnarfB
Principal III

STM32CubeIDE user manual.

I'll attach a link to the document for easier navigation.

OK, I see it now, but I see that this support is only available for the SEGGER J-Link, is there any way to get this with ST-Link?

No, works with ST-LINK as well. Only the drop-down list for embOS/FreeRTOS is SEGGER specific.

Yes, as @KnarfB​  says. There is basic FreeRTOS support for all debug probes in 1.5.0 but if you want to use the advanced debug features then you would need to use J-Link for now.

Yes, its basic support. Wish I could walk the stacks of individual tasks or set focus on a task.

If you need more real-time insights; I have ported an ancient tool, TimeDoctor, to M4 and friends:

0693W000006G5OiQAK.pnghttps://gitlab.com/KnarfB/timedoctor

Thanks KnafB, how do I use it in my existing CubeIDE project?

Hi, it is not explicitly said in the document, but form what I can read in this chat, STLINK supports Thread-aware debugging.

How can we ensure it is enabled, since the dropdown menu is not available for STLINK? Is it enabled by default?

Also, I am not sure what is the format to add the "thread 2" and "continue" to the Run Commands.

Sorry, don't get your point. Can you post a screenshot or explain what & where you are looking for?