Skip to main content
Associate
February 7, 2026
Solved

STM32 Nucleo - ST Link problem

  • February 7, 2026
  • 1 reply
  • 207 views

Hello,

 

hope everyone is well. I'm working on the software side for a micro mouse bot. We're planning on using the STM32G070RB for the microcontroller. For prototyping, I'm using the NUCLEO-G070RB. I separated the ST Link from the board, and wired the two together, as shown below (source and the schematic:(

IMG_0495.jpg

And here's the schematic below:

IMG_0496.jpg

When I flash a program (I use openOCD, but I've also tried STM32CubeIDE), it works until I unplug the ST-Link, then it doesn't seem to work until I plug it back in. Any advice? Am I missing an additional connection? 

To clarify, the Arduino powers the Nucleo board.

Best answer by TDK

Probably: When USB power isn't present, the st-link chip is not powered and NRST is held low.

1 reply

TDK
TDKBest answer
Super User
February 7, 2026

Probably: When USB power isn't present, the st-link chip is not powered and NRST is held low.

"If you feel a post has answered your question, please click ""Accept as Solution""."
AFE123xAuthor
Associate
February 7, 2026

Hey, thanks for the response. I'm a little confused. Is the ST link required for the microcontroller to run? I thought the st link flashes the binary onto the stm32g070rb system memory. could you clarify?

mƎALLEm
Technical Moderator
February 7, 2026

What do you mean by "unplug the ST-Link"? totally disconnect the ST-LINK from the target MCU or just disconnect the USB cable from it? in the second case (disconnect the USB cable without diconnecting it from the target MCU) makes the ST-LINK pulling down the reset pin of your target MCU.

For your second question, you don't need ST-LINK for the MCU in the final application.

"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."