2011-04-05 02:30 AM
Hello,
when i try using the STM32 Discovery board (STM32F100) with Keil uVision (V4.20.03.0, Target DLL: STLink\ST-LINKIII-KEIL.dll V1.5.6), when i try to debug or flash there always pops up this error:''Failure loading STLinkUSBDriver.dll''. This Dll exists in the path C:\Keil\ARM\STLink\, but it just does not want to work. Any help is appreciated. Wolfram2011-04-07 04:14 AM
Update:
i found out that the ST-LinkUpgrade.exe shows a similar problem. When starting it, there is first this error message: ''Cant load library: ST-Link/V2 USB driver is missing'' and then after pressing ''Device connect'': ''The STLinkUSBDriver.dll file is nonexistent or in the wrong position. Please check it''. So i checked it, the DLL does exist, i copied it also into C:\WINDOWS\system32\, but i does not help. I also installed the whole stuff on another (Windows XP)-PC, but with the same problems. Is there any Path-Variable which has to be adjusted ? Or what else is wrong ?Wolfram
2011-04-14 02:59 AM
I have same same problem. Do some have solution?
Regards Simon2011-04-18 10:31 PM
Now
I
bought
an
LPCXpresso to test it and I will leave the STM32 Try to install the ST-Link Utility and check if occurs the same problem:http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/um0892.zip
2011-04-19 07:28 AM
''Unknown target connected''
I dunno.. I tried the IAR-IDE, and this just works...2011-04-20 12:11 AM
Wolfram,
what is the language of your computer? Curiously I have the same problem that you with 3 computers with WinXP-Spanish but works fine with WinXP in English.2011-05-02 05:34 AM
Hello Wolfram,
copy the attached driver, rename extension to ''dll'' and paste it over the same name one in C:\Keil\ARM\STLink. (maybe backup the original dll prior this action). JR2011-05-03 01:08 AM
Hello JR,
thanks for the new library, but the problem remains the same. Wolfram2011-05-10 12:50 PM
Hey guys,
I have a solution for this. Man, this is ugly but works... 1) Download the ST-Link software um0892.zip and install it. (http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/um0892.zip
) 2) Copy the DLL (STLinkUSBDriver.dll) from ''C:\Program Files\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility'' to ''C:\Keil\ARM\STLink''. 3) That's it!! This tool from ST was able to find my device through JTAG-USB but the Keil-MDKv4.20 wasn't. Then I had the idea to try this experience which just solved my problem. As I said before, that's a very ugly solution!! Regards! Wagston.2011-05-12 05:56 AM
Dear all,
To use MDK-ARM v4.20 with ST-LINK/V2 properly you need to upload the ST-LINK V2 driver fom the following link:http://www.st.com/internet/evalboard/product/251168.jsp
http://www.st.com/internet/evalboard/product/251168.jsp
- SW DRIVERS
For Win7 users, you may also need the attached STLinkUSBDriver.dll which fixed known limitation. You need jsut to overwrite the STLinkUSBDriver.dll located at: [Keil_Install_Directory]\ARM\STLink.PS: Both ST-LINK V2 driver and the attached Dll will be integrated in the coming version of MDK-ARM by June.
Hopefully this helps.
Best Regards, Ibtissem.