cancel
Showing results for 
Search instead for 
Did you mean: 

ST link not working

rajan2
Associate II
Posted on October 02, 2011 at 14:29

Hi everyone,

I recently bought a STM32 discovery board and it seems that the ST-link is not functioning properly when I run ST-link utility it says no ST link detected, I made sure that it is in SWD mode and I have got two jumpers connected on CN3(I have attached a photo of my setup). I am new to this and I'm not sure what might be going wrong so any help will be appreciated. 

#st-link-not-connected-discovery
10 REPLIES 10
rajan2
Associate II
Posted on October 02, 2011 at 23:30

Well I found a fix to my problem in STM discovery thread, my board was working fine with STVP so I replaced ST utility's/ GDB server's STLinkUSBDriver.dll with the one in STVP install dir and its working perfectly now.

juozas
Associate III
Posted on November 12, 2011 at 17:42

Thanks for an idea.

Go to C:\Program Files\Atollic\TrueSTUDIO for STMicroelectronics STM32 Lite 2.2.0\Servers\ST-LINK_gdbserver

Rename STLinkUSBDriver.dll to STLinkUSBDriver_too_new.dll

Get from yours personal archive right STLinkUSBDriver.dll

versions: ''too new'' = 4.2.2.0 ; ''good'' = 4.0.1.2

Regards

viltnieks
Associate
Posted on November 29, 2011 at 23:34

I had the same problem and was trying all kind of solutions (connecting boot pin, installing old ST LINK drivers, removing all kind of software, because it was working before). Nothing helped.

As it appears, DEAMON Tools or more particularly virtual drives are conflicting with latest ST LINK 4.2.2. After uninstalling it, all started to work. As it appears, it was possible to assign different drive letters. Good article on this here:

http://www.atollic.com/index.php/kb/kbdebugging/3-debugging/28-kb_st_link_connection_error

maciejsosin
Associate
Posted on December 11, 2011 at 14:42

Posted on December 11, 2011 at 16:44

Is anywhere 4.0.1.2 version available?

 

Packaged with several IDE that support ST-LINK. I've attached

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
maciejsosin
Associate
Posted on December 11, 2011 at 18:21

Packaged with several IDE that support ST-LINK. I've attached

Thanks for reply. Which one exactly? Attolic has 4.2.2.0 version.

Posted on December 12, 2011 at 01:10

Thanks for reply. Which one exactly? Attolic has 4.2.2.0 version.

Then obviously an EARLIER version of Atollic, from the March/April 2010 time frame, or something like Keil 4.12, but I ATTACHED the 4.0.1.2 DLL to the preceding post to negate the need to actually search for it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
miklos
Associate II
Posted on March 09, 2012 at 23:43

Can't find the attachment, can you please re-upload it? Thanks!

Posted on March 10, 2012 at 06:44

https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32VLDiscovery/DispForm.aspx?ID=936&RootFolder=/public/STe2ecommunities/mcu/Lists/STM32VLDiscovery/ST link not working&Source=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32VLDiscovery/Flat.aspx?RootFolder%3D%252fpublic%252fSTe2ecommunities%252fmcu%252fLists%252fSTM32VLDiscovery%252fST%2520link%2520not%2520working%26FolderCTID%3D0x01200200770978C69A1141439FE559EB459D758000491D59B8574F8049B5DFA3E8B21CBA51%26TopicsView%3Dhttps%253A%252F%252Fmy%252Est%252Ecom%252Fpublic%252FSTe2ecommunities%252Fmcu%252FLists%252FSTM32VLDiscovery%252FAllItems%252Easpx%26currentviews%3D681

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..