Skip to main content
Associate
June 14, 2025
Question

Failed to read all registers from target Failed to read all registers from target

  • June 14, 2025
  • 3 replies
  • 1558 views

When I change variables from live expression and other areas during Prohe debug, I get the error "Failed to read all registers from target" and unfortunately I couldn't find a solution. I am using the latest version of stm32cube 1.18.1. There was no such jata before! 

 

I am using Stm32f767zi processor. I tried with both st link v2 and isol version but this error is not resolved.

3 replies

Technical Moderator
June 17, 2025

Hello @hanNL ,

Try enabling suspension of watchdog in Debugger settings. Please refer to this thread : Why do I get error: CM4 Failed to read all registers FAILED to REGISTER Values from the target.

May this thread help you!

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
hanNLAuthor
Associate
June 18, 2025

Unfortunately, those solutions are useless. It's a problem with the version. I'll try it on older versions. This problem doesn't exist in v13.2.

DWeiß.1
Visitor II
July 25, 2025

It is the same for me: since updating the CubeIDE to 1.19.0 (from 1.14), I always get the message "Failed to read all registers from target" when I modify a value in the "Live Expressions" window.
None of the solutions above helped.

Explorer
November 9, 2025

I'm having the same problem; when I change a variable in free expressions, the value changes, but the message "Failed to read all registers from target" is still displayed.

franciscozussa_0-1762730842410.png

 

Technical Moderator
November 10, 2025

Hi @franciscozussa ,

After investigation, we were able to reproduce the issue from our side with CubeIDE version 1.19.0 and ST-LINK GDB server Version 7.11.0.

The issue is reproduced with the ST-LINK GDB server started with version 7.9.0, whereas it did not exist in version 7.8.0.

This fix will be available in the coming versions of STM32CubeIDE.

Thank you for your understanding.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Associate III
November 23, 2025

STMicroelectronics ST-LINK GDB server. Version 7.12.0

 

STMicroelectronics RTOS Proxy. Version 0.17.0

Copyright (c) 2025, STMicroelectronics. All rights reserved.

 

Loading RTOS driver... FreeRTOS

Connecting to GDB server 127.0.0.1 on port 61234 ... Connected

Listen for GDB connection on port: 60000 ... Connected

Failed reading saved stack ptr

Read registers. Failed reading registers from driver.