cancel
Showing results for 
Search instead for 
Did you mean: 

how to install st-link/v2 driver in win10 ?

mehmet.karakaya
Associate III
Posted on July 11, 2017 at 18:24

hello dear forum,

I bought a win10 laptop

where I tried to connect st-link/v2 adaptor

I downloaded stsw-link009 package and tried to install 

however I get the message 

'you have to run 64bit version of DPInst.exe on this computer'

I couldnot find this version in internet

how to proceed ?

please advice

thank you

#st-link #win10
20 REPLIES 20
Posted on July 14, 2017 at 12:50

Hello !  Try to change the path of installing directory by make a new folder e.g at root directory ->  c:\abc. Put inside the uncompressed driver  and run it again.

Posted on July 14, 2017 at 13:51

This message is not from bat file.  Is from dpinst_x86.exe.   Try to run  directly with administrator rights the dpinst_amd64.exe 

Posted on July 14, 2017 at 14:00

At least try this.

 Go to Control Panel and open Device Manager.

 Find the stlink device(or the unknown usb device)

Right click the device and select properties.

Select Driver tab, then click the Update Driver button.

Choose Browse my computer for driver software.

Let me pick from a list of device drivers on my computer

 Browse for the .inf driver file in your unziped stlink folder. Open and Next.

The driver must be installed.

Posted on July 14, 2017 at 13:40

I have added screenshot

0690X00000603tdQAA.jpg
Posted on July 14, 2017 at 15:51

thank you Vangelis, it worked

why there is no readme file in the package ?

It took 3 day of me :(

Posted on July 15, 2017 at 08:59

It's for both Intel and AMD 64-bit processors. 

Posted on October 11, 2017 at 22:26

Hi Vangelis,

This approach does not work for me. I have installed the 64-bit version of the driver but OpenOCD cannot connect to the board. Running OpenOCD gives the error '... Error: open failed in procedure 'init' in procedure 'ocd_bouncer'. When I try updating the driver like you suggested, I get the message 'The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems'. Any ideas?

I am using the STM32VLDISCOVERY.

Posted on October 14, 2017 at 00:28

Hello Simon.

Is STlink visible In windows Device manager?

0690X00000608biQAA.png

or is recognized as unknown device?

In first case, driver is Ok.

In second case, download  the

https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.license%3d1507919289811.product%3dSTSW-LINK009.html

and unzip the contents to a folder named in English language. It helps to put this folder to C:\  directory. Install driver as instructions above. You must have elevated privileges to intall drivers.

I tried in a W10 pro 64 the  latest drivers few minutes before, and not faced any problem.

Vf

Posted on October 15, 2017 at 18:05

Hi again! Thank you for answering.

If I connect the device it shows up in device manager under the category 'Universal Serial Bus controllers' as 'USB Mass Storage Device'. I have downloaded and installed the drivers you linked. The first time I did not do it with elevated privileges but the installation said it was successful. I have tried running the same installer again afterwards with elevated privileges and the installer finishes immediately, claiming the driver is already installed.

Oscar Lopez
Associate
Posted on March 21, 2018 at 19:05

Hi

I?ve tried to follow all the considerations mentioned and still have the same error on my Windows10

a) downloaded

http://www.st.com/en/development-tools/stsw-link009.html

 

b) unzip and run as with administrator privileges the bat file

0690X00000604UxQAI.jpg

c) review Device Manager under unknown usb device and try to upgrade indicating to the .inf folder, it fails with '' Device Description Request Failed''

Any ideas?

Thanks for answering 

Oscar