cancel
Showing results for 
Search instead for 
Did you mean: 

ST Link utility 4.2.0 has issues

Peter Gibbons
Associate II
Posted on March 07, 2018 at 02:41

I'm using Windows 8.1, I plug in ST LINK V2 in USB port, but I do not yet connect the other side to a target. I start ST Link utility.

I go to Settings, everything looks good, it shows the serial number and FW version V2J29S7.

I change the Mode to normal, the OK button becomes grayed out, so I have no other choice but to hit cancel.

The settings window closes, I open settings again. Now it is saying USB Communication Error! I hit refresh, doesn't make a difference. Also under serial number it now says 'Old ST-LINK firmware/ST-LINK already used'.

Next I unplug the ST LINK V2, then click on Refresh. Now it says 'No ST-LINK detected !', I plug ST LINK V2 back in.

I click refresh and now it looks all correct again (as stated above). I change Mode back to 'connect under reset', and now it is saying the USB communication error again.

My problem is that I have issues connecting to a target but I'm having issues even without the target, so I don't know if the problem is with my target or with the ST Link utility software. Does this sound like normal behavior or is my ST Link V2 broken (it's brand new)? Can I download an older version of ST Link utilities?

Otherwise the laptop runs great, I have no other problems, all my USB ports are working great. Also in device manager, ST Link V2 shows up normal. It shows up under 'universal serial bus device' as 'STM32 STLink'. Says it's working normal and driver version is 2.1.0.0.

Even after ST Link utility says there is a usb communication error, in device manager, it's still showing up normal. Also noticed that ST Link utilities sometimes becomes unresponsive for about 10 seconds.

Please help me as I'm currently unable to continue development and it was Semtech that recommended to our company that we should switch over to ST microcontrollers because before this we were using TI and also PIC and had no issues with either of those.

#st-linkv2 #st-link-v2-1 #st-link-utility-problem #st-link-utility #stm32-st-link-utility
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on March 07, 2018 at 05:22

DELL laptop? Anything in the USBSTOR Upper/Lower Filters, like some Intel drivers or Daemon Tools?

The external ST-LINK expects buffers to be powered by VTarget on Pins 1 or 2

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

View solution in original post

3 REPLIES 3
Posted on March 07, 2018 at 05:22

DELL laptop? Anything in the USBSTOR Upper/Lower Filters, like some Intel drivers or Daemon Tools?

The external ST-LINK expects buffers to be powered by VTarget on Pins 1 or 2

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 07, 2018 at 05:25

https://community.st.com/0D50X00009XkYEoSAN

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 14, 2018 at 03:30

Thank you Sir! Like you said, once I provided VCC (not just via resistor, but with the ability to supply current too), then everything started working great.

Also measured pin 1 and 2 of the ST LINK V2 and they are electrically connected, so it definitely doesn't matter if you use pin 1 or 2 to supply VCC.

Also realized my ST LINK V2 is the isolated version, so this may or may not apply to the regular version.