cancel
Showing results for 
Search instead for 
Did you mean: 

Failure loading STLinkUSBDriver.dll

bjfree
Associate II
Posted on May 13, 2012 at 22:33

did a google search none of the links worked.

I installed st-link_v2_usbdriver.zip, ST-LINK_Utility_V2.2Patchv10.zip

I searched my computer for STLinkUSBDriver.dll and could not find it.

I was able to install the STLink dongle that shows up in my device list.

 
8 REPLIES 8
frankmeyer9
Associate II
Posted on May 14, 2012 at 08:48

In general, I'm aware of two problems that might cause your trouble.

One is a 32 Bit / 64 Bit driver issue.

The other, more probable, is ''Addon'' software that some PC/Notebook distributors install.

If your host is a notebook, and has lots of preinstalled software, try to deinstall suspicious stuff.

If you want to dig in, I could recommend the ProcessExplorer and DependencyWalker.

bjfree
Associate II
Posted on May 14, 2012 at 16:15

it is a 32 bit Net book with only 50% real memory allocated.

Win7 starter.

I have drivers for Ardrino, Maple installed and working.

when I plug in the STM32F4 Discovery I see the ST Link as a hub.

the directory STMicroelectronics\st_toolset  was added but no files.

I did a file search and did not find the file

STLinkUSBDriver.dll

anywhere on the system.

is there a place I can get the STLinkUSBDriver.dll ?

frankmeyer9
Associate II
Posted on May 14, 2012 at 17:18

As far as i know, it usually comes with tool suites that support the stm32f4.

Atollic and Keil MDK have their versions copied somewhere intheir folder subtree.

Crossworks wants you to set a link to an existing DLL, at least under Windows. The linux version supports stlink V2 out of the box.

If the STLink utility does not come with this DLL, I could only suggest download and install one of the tools mentioned above (and not forgetting IAR...).

bjfree
Associate II
Posted on May 14, 2012 at 17:21

found it as an attachment to

''https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32VLDiscovery/flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32VLDiscovery%2FProblem%20with%20Keil%20uVision%204%20Failure%20loading%20STLinkUSBDriver.dll%209974&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000491D59B8574F8049B5DFA3E8B21CBA51&currentviews=4981''

bjfree
Associate II
Posted on May 14, 2012 at 17:25

that is the problem, I found it and put it the directory with the STM32 ST-LINK Utility

I am using eclipse with CDT GNU cross compiler.

this works on windows an linux.

thanks for you help.

bjfree
Associate II
Posted on May 14, 2012 at 17:42

found the source to STLink

https://github.com/texane/stlink

frankmeyer9
Associate II
Posted on May 14, 2012 at 18:36

> found the source to STLink

> https://github.com/texane/stlink

This is a port to linux, which is a different story...

bjfree
Associate II
Posted on May 14, 2012 at 19:12

only at the linking level, I did a diff of code and just show the August date an RC1, otherwise the same. I did not check the make files.