cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble Using RTOS Aware Debugging with ThreadX

zmasmoudi
Associate

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!

3 REPLIES 3
Mahmoud Ben Romdhane
ST Employee

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.

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).

Hello @zmasmoudi 

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

I recommend connecting your custom board to STM32CubeProgrammer and erasing the memory, then restarting debugging, Session.

Please find attached my debugging 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.