Skip to main content
Associate
January 29, 2026
Question

"Could not verify ST device" when Debugging with RTOS Proxy; OK without

  • January 29, 2026
  • 2 replies
  • 440 views

Hi,

 

I’m working on an STM32H7S78‑DK project that uses FreeRTOS, with STM32CubeIDE v2.0.0 on Windows. The ST‑LINK debugger works normally as long as RTOS Proxy is disabled, but cannot be launched once I enable RTOS Proxy. Error message and Console prints as below:

xuky765_1-1769657682120.png

xuky765_7-1769658326627.png

xuky765_10-1769658622278.png

 

My debugger configuration:

xuky765_2-1769657779374.png

xuky765_3-1769657809934.png

 

The exact same project used to run fine with RTOS Proxy enabled, but it suddenly started failing one day without any changes to my debug settings. The board itself should be good, as it works normally on another development setup.

Has anyone seen this issue before, or is there any known limitation with RTOS Proxy on the H7S series? Any pointers would be appreciated.

2 replies

Technical Moderator
January 29, 2026

Hello @xuky765 

What ST‑LINK debugger are you using? probably these kinds of errors occurred with fake debugger as mentioned here.

see also How to recognize a genuine ST-LINK/V2 versus a clo... - STMicroelectronics Community

BR, Souhaib

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.
Andrew Neil
Super User
January 29, 2026

@Souhaib MAZHOUD wrote:

these kinds of errors occurred with fake debugger as mentioned here.


That thread relates to a fake STM32F103 chip ("Blue Pill") - not a fake ST-Link.

Also, would that explain why it fails with the RTOS Proxy, but not without ?

 

@xuky765 possibly related thread: Could not verify ST device when attempting to debug ?

 

Edit: Link fixed.

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.
mƎALLEm
Technical Moderator
January 29, 2026

@Andrew Neil 


 

@xuky765 possibly related thread: Could not verify ST device when attempting to debug ?


That link is not working.

"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."
xuky765Author
Associate
February 2, 2026

Updates: 

We found that the issue is FreeRTOS thread-related. When the creation call osThreadNew() for a specific thread is commented out, the program runs normally under the debugger.

However, we got different behaviors with different debugger host PCs. The issue reproduces on one Ubuntu 24.04 LTS machine and one Windows machine. On another Ubuntu 24.04 LTS machine, the project runs normally even with RTOS proxy enabled and without disabling the thread creation.

Both Ubuntu machines are using STM32CubeIDE 2.0.0. Multiple target boards were tested with consistent results.

Has anyone encountered RTOS proxy behavior that depends on the host PC environment like this?

Thank you,

K