cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32CubeIDE 2.0.0 to 2.1.0 update breaks FreeRTOS kernel aware debugging

DreamOnDirac
Associate III

Hi

While running stm32CubeIDE 2.0.0 (and older versions), the the RTOS kernel aware debugging worked as expected (described here for thoose who dont use it):  

https://community.st.com/t5/stm32-mcus/how-to-enable-freertos-run-time-and-stack-usage-view/ta-p/627524

However, since updating to 2.1.0 this seems to have stopped working.

I have tried the #define configTASK_RETURN_ADDRESS NULL as suggested here

https://community.st.com/t5/stm32cubeide-mcus/freertos-backtrace-problem/td-p/858548

But without any change. I have tested GCC 12.3, 13.3 and 14.3 with no change

The "FreeRTOS Queues", "FreeRTOS Task list" and "FreeRTOS Semaphores" views still works as expected.

What can I do to remedy this?

 

Best regards

Martin

 

5 REPLIES 5
DreamOnDirac
Associate III

Hi

 

I have reverted to 2.0.0 and kernel aware debugging is again working

 

Best regards

Martin

Andrew Neil
Super User

@DreamOnDirac wrote:

since updating to 2.1.0 this seems to have stopped working.


What, exactly, are the symptoms of "not working" ?

How to write your question to maximize your chances to find a solution

 

Have you seen: Issues Debugging FreeRTOS with J-Link.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
DreamOnDirac
Associate III

Hi

The symptoms were that the tasks were listed so that the call stack could be investigated

This is what i expect

Skärmbild 2026-03-03 224532-OK.png

This is what i got

Skärmbild 2026-03-03 225153-FAIL.png

 

Best regards

Martin

mattias norlander
ST Employee

Hi @DreamOnDirac,

 

I heard rumor that the version of the RTOS proxy which is integrated into 2.10 has a regression bug compared to 2.0.0. I imagine that one solution would be to replace the RTOS proxy tool from 2.1.0 with the one from 2.0.0...

You find them "roughly" ("roughy" since I am on Mac, you are probably on Windows) here:

STM32CubeIDE 2.1.0/plugins/com.st.stm32cube.ide.mcu.externaltools.rtosproxy.macosaarch64_1.0.0.202601281726/tools

Make a back-up of the tools folder and then replace it with the one from 2.0.0....

Appologies for the inconvenience!

 

Kind regards, Mattias

mahae
Associate

I had the same problem on linux after upgrading.
After executing the following command in the plugins folder, the task list is visible again.
cp -r com.st.stm32cube.ide.mcu.externaltools.rtosproxy.linux64_1.2.100.202412131345 com.st.stm32cube.ide.mcu.externaltools.rtosproxy.linux64_1.2.200.202601091506