2020-12-16 11:36 PM
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
2020-12-17 12:03 AM
STM32CubeIDE user manual.
2020-12-17 12:27 AM
I'll attach a link to the document for easier navigation.
2020-12-17 01:29 AM
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?
2020-12-17 01:39 AM
No, works with ST-LINK as well. Only the drop-down list for embOS/FreeRTOS is SEGGER specific.
2020-12-17 01:43 AM
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.
2020-12-17 01:53 AM
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:
2020-12-18 04:32 AM
Thanks KnafB, how do I use it in my existing CubeIDE project?
2020-12-22 04:15 AM
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.
2020-12-22 04:24 AM
Sorry, don't get your point. Can you post a screenshot or explain what & where you are looking for?