Skip to main content
halid
Explorer
April 7, 2025
Question

STM32WB09 can't program with St-link (DEV_TARGET_RESET_ERR)

  • April 7, 2025
  • 2 replies
  • 463 views

Hi, I use stm32wb09 microcontroller to build a project. Whenever I try to program from cubeIDE with stlink, I encounter with this given error on photo. With open OCD debugger selection I can program the microcontroller, but I want to program with my stlink since open ocd debugger kinda freaks out when debugging. I used both stlink v2 or v3 and updated to latest versions. I can program different mcu's but when it comes to stm32wb09 one it always gives this error. I also can program with the help of stm32 programmer by downloading hex file but to debug properly I need to program with stlink. Is there any particular reason that might make happen this error, or is it a known error for stm32wb09 mcu?

WhatsApp Image 2025-04-07 at 09.54.04.jpeg

2 replies

Associate II
April 16, 2025

Hi,

 

I had the same issue, I solved it using the ST-Link v3 mini and connecting the rst pin of the ST-Link with the pin 29 of the microcontroler.

Now I have problems debugging my code, my firmware runs during a time and then it's like the ST-Link disconnects

 

Regards,

Manuel Ibáñez. 

 

STTwo-32
Technical Moderator
May 5, 2025

Hello @halid 

Are you using your own design based on the STM32WB09 or the NUCLEO evaluation board. If it is the Nucleo board, I think the Note under paragraph 7.12 of the UM3345 Rev 1.should help you.

Best Regards.

STTwo-32