Skip to main content
Associate
January 5, 2026
Solved

Trouble Using RTOS Aware Debugging with ThreadX

  • January 5, 2026
  • 1 reply
  • 557 views

I'm having trouble enabling RTOS proxy for debugging. I followed the following tutorial:
https://www.youtube.com/watch?v=iRaiMvYZ08o
I get the following error:

Error in final launch sequence:

Failed to execute MI command:
target remote localhost:60000

Error message from debugger back end:
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
Failed to execute MI command:
target remote localhost:60000

Error message from debugger back end:
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
Remote replied unexpectedly to 'vMustReplyEmpty': timeout

 

STM32CubeIDE v2.0.0

STLink connected with SWCLK and SWDIO with up to date firmware

STM32H725 custom board

Tested on new project generated using CubeMX

Here are my debug configuration settings:

Screenshot 2026-01-05 001026.png

zmasmoudi_0-1767589841684.png

Please let me know if you require any additional information.

Thanks in advance!

Best answer by Mahmoud Ben Romdhane

Hello @zmasmoudi 

I reproduced the debug session with Nucleo-H723ZG and it works correctly.

I recommend connecting your custom board with STM32CubeProgrammer and erasing the memory, then restarting the debug session.

Please find in attachment my debug configuration.

Thanks.

Mahmoud

 

1 reply

Technical Moderator
January 6, 2026

Hello @zmasmoudi 

Let me thank you for posting and welcome to the ST Community.

For more investigation, could you please provide your Ioc.File.

Thanks.

Mahmoud

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
zmasmoudiAuthor
Associate
January 7, 2026

Hello Mahmoud

Thanks for the welcome and the quick response!

I've attached the .ioc file for a minimally reproducible example. I am getting the error with the auto-generated code without any modification (except clock init).

Technical Moderator
January 13, 2026

Hello @zmasmoudi 

I reproduced the debug session with Nucleo-H723ZG and it works correctly.

I recommend connecting your custom board with STM32CubeProgrammer and erasing the memory, then restarting the debug session.

Please find in attachment my debug configuration.

Thanks.

Mahmoud

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.