cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enable FreeRTOS debugging support in CubeIDE?

CDew.1
Associate III

I've just started my first FreeRTOS-based project.

In the debugger, when I pause execution, all I see is this stack trace:

Thread #1 [main] 1 [core: 0] (suspended : Signal : 0:Signal 0)
  prvCheckTasksWaitingTermination() at tasks.c:2,488 0x800b4f4
  prvIdleTask() at tasks.c:3,235 0x800b404
  pxPortInitialiseStack() at port.c:214 0x00ba94

In order to be able to develop a FreeRTOS-based project, I need to be able to see the whole program, not just the currently suspended thread.

Is there a way, in CubeIDE, of turning on FreeRTOS debugging features such as those present in Atollic or Kinetis Design Studio?

http://blog.atollic.com/how-to-debug-freertos-projects-on-arm-cortex-m-devices

https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/

1 ACCEPTED SOLUTION

Accepted Solutions
WGend.15
Associate II

CubeIDE does not yet support the freeRTOS eclipse plugins. I think some persons have been able with third party plugins but not sure which ones.

0693W000000TXbDQAW.jpg

source :

https://blog.st.com/stm32cubeide-free-ide/

If you need freeRTOS plugins you better stay with TrueStudio for now.

View solution in original post

2 REPLIES 2
WGend.15
Associate II

CubeIDE does not yet support the freeRTOS eclipse plugins. I think some persons have been able with third party plugins but not sure which ones.

0693W000000TXbDQAW.jpg

source :

https://blog.st.com/stm32cubeide-free-ide/

If you need freeRTOS plugins you better stay with TrueStudio for now.

Thanks, I've successfully installed https://www.highintegritysystems.com/down-loads/stateviewer-plug-in/ into CubeMX 1.2.1, which provides panels for tasks, queues and timers, but not semaphores.

I assume the only way of seeing the other tasks' stacks/variables is to set a breakpoint in those tasks.