Skip to main content
Associate
July 25, 2026
Solved

Nucleo-F767ZI - Cannot update firmware for ST-Link

  • July 25, 2026
  • 11 replies
  • 223 views

I have a Nucleo-F767ZI and have tried everything I know to get it going to no avail.  The problem seems to be relating to the ST Link.  After writing and compiling some code in STM32CubeIDE, I get the message that the ST-Link needs to be updated.  I go into STM32CubeProgrammer and attempt to do just that.  When I connect inside STM32CubeProgrammer, the app sees the board, I click on “Connect” and I can see data in various memory locations. However, when I attempt to “Upgrade Firmware”, that’s where the trouble starts. After clicking on Upgrade Firmware, the app reports nothing found.  I can disconnect the USB cable, reconnect, and STM32CubeProgrammer will see the board again.  The unfortunate thing is, I cannot use the board because STM32CubeIDE will not allow me to download.  The weird thing is, in the past, I have used the Arduino IDE to write code and program this board and it still works fine - no problems.  I just cannot get the native STM32CubeIDE and STM32CubeProgrammer to act right.  Finally, I have tried different USB cables, uninstalled and reinstalled STM32CubeIDE / STM32CubeProgrammer, uninstalled / reinstalled USB drivers (STSW-link009), all to no avail.  Oh yes, one final note.  I also have a Nucleo-F446RE board that works flawlessly on my PC with STM32CubeIDE / STM32CubeProgrammer - no issues at all.  If someone has any other suggestions, I would greatly appreciate them!  Thanks!  

Best answer by Kadams58

Problem solved! I finally figured out what was wrong. The problem was the usb driver my PC was using.  Even though I downloaded the STSW-Link009 which contains the correct usb driver, for some reason, my PC was using a different usb driver for the ST Link.  The only way I found it was tracking down which driver did work (the one my Microsoft Surface) and compare it to the driver in use by my desktop PC and sure enough, different drivers were in use!  I uninstalled the wrong USB driver on my desktop PC and pointed it to the USB driver in the STSW-Link009 and bingo!  Works like a charm, every time!  Thanks to everyone who offered help!  

11 replies

Kadams58Author
Associate
July 25, 2026

Here are some screen shots of what I’m seeing.  Shown here, the STM32CubeProgrammer sees the ST-Link and it’s serial number.

 

Kadams58Author
Associate
July 25, 2026

It can even see data in memory locations on my board:

 

Kadams58Author
Associate
July 25, 2026

But, after clicking on “Firmware Upgrade”, everything stops.  “No device connected”.

 

mƎALLEm
ST Technical Moderator
July 25, 2026

Hello ​@Kadams58 and welcome to the ST community,

Try with STSW-LINK007 to update the ST-LINK

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Kadams58Author
Associate
July 25, 2026

Thank you for the suggestion.  Just tried it and here’s the result:

 

Kadams58Author
Associate
July 25, 2026

I failed to mention that I running this on Windows 11 Pro, Gigabyte Z790 AORUS Pro X motherboard, 32 GB RAM.  Don’t know if that matters or not.

Pavel A.
July 28, 2026

This looks OK, but try the update (STSW-LINK007)  on another PC. Also, check the USB cable. Maybe, try with a good USB hub.

.

CTapp.1
Senior III
August 3, 2026

I’ve had similar issues in the past that were resolved by using a USB hub between the host (Mac, I think) and ST-Link, so that’s definitely worth a try,

All posts are made in a personal capacity. MISRA C++ Chair, MISRA C WG Member, Director The MISRA Consortium Limited (TMCL)
Kadams58AuthorBest answer
Associate
August 3, 2026

Problem solved! I finally figured out what was wrong. The problem was the usb driver my PC was using.  Even though I downloaded the STSW-Link009 which contains the correct usb driver, for some reason, my PC was using a different usb driver for the ST Link.  The only way I found it was tracking down which driver did work (the one my Microsoft Surface) and compare it to the driver in use by my desktop PC and sure enough, different drivers were in use!  I uninstalled the wrong USB driver on my desktop PC and pointed it to the USB driver in the STSW-Link009 and bingo!  Works like a charm, every time!  Thanks to everyone who offered help!  

Pavel A.
August 3, 2026

Hi ​@Kadams58,

Can you tell, is your Surface Intel or ARM64?

 

Kadams58Author
Associate
August 4, 2026

Good question.  Not sure.  I’ll report back.