Skip to main content
Associate II
May 2, 2025
Solved

STM32WB09 Failed to read registers from target

  • May 2, 2025
  • 1 reply
  • 2637 views

Hi,

I can't debug my STM32WB09. I can execute a few lines (it's not a specific number, it may be random), and then CubeIDE throws the following error and disconnects from the board. The board is based on the Nucleo-WB09KE (NUWB09KE$CR1). Below, I’m attaching an image of the adapted board and another image of the error. I’m also including the project zip file. The project itself isn’t particularly complex, other than the addition of a .c file to handle the data generated for BLE transmission.

Please, if you can help or guide me in debugging the project, I’d really appreciate it.

 

ManuelIgnacio_0-1746192617697.png

 

ManuelIgnacio_1-1746192777286.jpeg

 

ManuelIgnacio_2-1746192786188.jpeg

 

 

 

Best answer by ManuelIgnacio

hi,

The issue was in the clock signal waveform sent by the ST-Link 2 Mini—it was completely distorted. The solution I found was to lower the debugging frequency. After doing this, the signal appeared as a clean square wave on the oscilloscope.

1 reply

ManuelIgnacioAuthorBest answer
Associate II
May 6, 2025

hi,

The issue was in the clock signal waveform sent by the ST-Link 2 Mini—it was completely distorted. The solution I found was to lower the debugging frequency. After doing this, the signal appeared as a clean square wave on the oscilloscope.