cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LinkUpgrade disconnects board after opening in upgrade mode. Upgrade is unable to be clicked

Lucas Teti
Associate

Hi,

I am new to stm products and am using the STM32F4 discovery. When I run ST-LinkUpgrade I am unable to click upgrade, although I can click "opening in upgrade mode". When I do this the board just disconnects. I have used the jar file for the upgrade software as well as the programmer, although the result is the same in both cases. 

I saw a similar support message from 3 years ago but it has not been answered. I have used the jar file for the upgrade software as well as the programmer, although the result is the same in both cases. 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

I tried doing what is done in both videos but I still get the same error. The error I often get is "Unexpect error during opening (1)" My device is disconnected whenever I run the open in update mode. When I reconnect it the same thing happens again. For context, I am running this on ubuntu in VirtualBox. 

Update: I decided to run update using the windows version of the stlink updater and it worked. 

View solution in original post

4 REPLIES 4
RhSilicon
Lead

I found this video about different chip, in the comments:

- where is that Arduino code????

- - Arduino code can be any simple code. It doesn't matter what code you use. If ST-Link is fake, it won't upload any code.

https://www.youtube.com/watch?v=cprE-aVBiAU

RhSilicon
Lead

When it asks to restart ST-Link, it means that it has to be removed from the USB port and reconnected:

https://www.youtube.com/watch?v=BIuO0SeKq_k

Hi,

I tried doing what is done in both videos but I still get the same error. The error I often get is "Unexpect error during opening (1)" My device is disconnected whenever I run the open in update mode. When I reconnect it the same thing happens again. For context, I am running this on ubuntu in VirtualBox. 

Update: I decided to run update using the windows version of the stlink updater and it worked. 

If it worked with Windows it also works with Virtualbox and Ubuntu, days ago I did it, it must be a driver problem.