Skip to main content
Visitor II
February 26, 2025
Solved

Error in initializing ST-LINK device. (stm32wb09ke)

  • February 26, 2025
  • 1 reply
  • 501 views

when i try to download the code i got this message : Error in initializing ST-LINK device.Reason: No device found on target.

when i try to build i get this message NOTE: This behaviour is deprecated and will be removed in a future version of the linker.
Capture d'écran 2025-02-26 161035.png

Best answer by STTwo-32

Hello @Nour123 and welcome to the ST community

For the Connection issue, I suggest you connect to Cube Programmer throw UART as mentioned on the chapter 7.12 of the UM3345 and mass erase you MCU then reconnect it throw CubeIDE. It should work. For the compilation issue, it will be solved soon. For now as a workaround, compile the project based on the STME32WB0. After that compile another project and recompile your STM32WB0 project. This time it should be working fine with this workaround. 

Best Regards.

STTwo-32

 

 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
February 26, 2025

Hello @Nour123 and welcome to the ST community

For the Connection issue, I suggest you connect to Cube Programmer throw UART as mentioned on the chapter 7.12 of the UM3345 and mass erase you MCU then reconnect it throw CubeIDE. It should work. For the compilation issue, it will be solved soon. For now as a workaround, compile the project based on the STME32WB0. After that compile another project and recompile your STM32WB0 project. This time it should be working fine with this workaround. 

Best Regards.

STTwo-32