Skip to main content
Associate II
February 18, 2026
Question

Not able to flash the code to ELSERVO1 using nucleo-g071rb

  • February 18, 2026
  • 6 replies
  • 242 views

Hi,

Recently I have purchased ELSERVO1 board to drive BLDC Motors with 20A rated current. I dont have a ST Flasher, instead, I am using Nucleo g071rb board and removed the jumper pins in the board to flash the external ST controllers.

I have connected exact, pins in both the boards like, SWDIO, SWCLK, VDD and GND but, I am not able to flash the firmware saying ""Target no device found, Error in initializing ST-Link device" Reason: No device found on target"

What will be the issue in flashing the firmware?? I was able to flash to other boards.

I am suspecting that the ELSERVO1 board has dead..

please provide the solution.

 

 

6 replies

Peter BENSCH
Technical Moderator
February 18, 2026

The programmer software probably also expects you to connect NRST as well.

Regards
/Peter

SanjaydrAuthor
Associate II
February 20, 2026

I have tried connecting the NRST as well. The result remains same. What could be the problem. My development is stuck due to this...

Peter BENSCH
Technical Moderator
February 20, 2026

Assuming you have connected every single wire, but you haven't mentioned where it gets its power supply from yet?

If it still doesn't work, have you tried programming another target using this ST-LINK/V2-1?

Regards
/Peter

SanjaydrAuthor
Associate II
February 20, 2026

Your assumption is right.. I have connected every single wire from Nucleo board STLink pins i.e VDD, SWDIO, SWCLK, NRST, GND pins to respective pins of ELSERVO1 board. ELSERVO1 Board has connected 24V DC supply and power LED is ON. Nucleo board is connected with USB cable. 

Since I do not have a dedicated ST programmer, I am using this.. Which i have used to program our custom design ST board.

I hope, I have answered all your questions and doubts. 

Peter BENSCH
Technical Moderator
February 20, 2026

What programmer software did you try?

Was is set to Connect under Reset?

SanjaydrAuthor
Associate II
February 24, 2026

I am using STMCube IDE to program and flash the code. I think, I am not getting the solutions here properly. Could you please check the problem and provide the concrete solution.

Peter BENSCH
Technical Moderator
March 5, 2026

My many questions may be frustrating, but you have provided too few details for concrete clues. It is still not clearly answered whether you were able to successfully program another target with the same ST-LINK on this NUCLEO-G071RB – because if CN4 is still plugged into the NUCLEO, the ST-LINK cannot program another target, as the STM32G071 of the NUCLEO is connected in parallel to the other target.

It would be best if you insert a photo of your setup using the camera button, showing the ST-LINK setting and the cable connection to the target.

  • Are the supply voltages (5V, 3.3V) measurable and correct on the ELSERVO1?
  • What voltage of the target is measured by the STM32CubeProgrammer (realized via the VDD line)?
    Perhaps you should also include a screenshot of the STM32CubeProgrammer.

Regards
/Peter