AnsweredAssumed Answered

STLink driver not working for Windows 8 (64 bit)

Question asked by ianmd on Jun 28, 2013
Latest reply on Dec 15, 2015 by Clive One
I'm not having any luck getting Windows 8 to load the ST Link driver correctly. Other people have posted similar problems but have reported that setting Windows 8 to disable Driver Signature Enforcement fixes their problems. This hasn't worked for me.

I'm using the ST-Link part of an STM32F4 discovery board to program my own STM32F4 based board. It's worked for me for over a year using Windows 7 on my previous laptop which died last week. I'm rebuilding my development environment on a new Windows 8 laptop (Dell Inspiron 15z) and getting the driver to work is frustrating me.

I'm installing st-link_v2_usbdriver downloaded from http://www.st.com/web/en/catalog/tools/PF258167

As an aside, my target board uses USB as a VCP and I've installed the USB VCP driver ok.

Does being 64-bit make any difference?

I've been into the registry and found the entry for the ST-Link in the enum\USB section. This is what it looks like .. it might mean something to somebody.


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0483&PID_3748]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0483&PID_3748\5&2842f95&0&2]
"DeviceDesc"="STM32 STLink"
"LocationInformation"="Port_#0002.Hub_#0003"
"Capabilities"=dword:00000004
"ContainerID"="{27e98665-dfdd-11e2-be75-6817291a1417}"
"HardwareID"=hex(7):55,00,53,00,42,00,5c,00,56,00,49,00,44,00,5f,00,30,00,34,\
  00,38,00,33,00,26,00,50,00,49,00,44,00,5f,00,33,00,37,00,34,00,38,00,26,00,\
  52,00,45,00,56,00,5f,00,30,00,31,00,30,00,30,00,00,00,55,00,53,00,42,00,5c,\
  00,56,00,49,00,44,00,5f,00,30,00,34,00,38,00,33,00,26,00,50,00,49,00,44,00,\
  5f,00,33,00,37,00,34,00,38,00,00,00,00,00
"CompatibleIDs"=hex(7):55,00,53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,\
  5f,00,46,00,46,00,26,00,53,00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,\
  00,46,00,46,00,26,00,50,00,72,00,6f,00,74,00,5f,00,46,00,46,00,00,00,55,00,\
  53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,46,00,46,00,26,00,53,\
  00,75,00,62,00,43,00,6c,00,61,00,73,00,73,00,5f,00,46,00,46,00,00,00,55,00,\
  53,00,42,00,5c,00,43,00,6c,00,61,00,73,00,73,00,5f,00,46,00,46,00,00,00,00,\
  00
"ConfigFlags"=dword:00000040

Outcomes