cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L496G-Discovery Unknown Device

Adams.Peter
Associate III
Posted on September 26, 2017 at 22:21

My STM32L496G-Discovery shows up as an 'Unknown Device' in the Windows 7 Device manager.

I tried connecting to it with the ST-LINK Utility, it gives a 'No ST_LINK detected' error message.

Is there a way to directly connect to U6 (the 32F103 running ST-LINK firmware) over USB to do DFU?

#st-link #st-link-error
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on September 27, 2017 at 00:59

Is there a utility that will flash the encrypted ST-LINK FW through the SWD pins?

No there isn't exist such utility.

But, why are you convinced that chip is erased? It is very unusual.

Try to make a test

Plug your board to a computer

open device manager

right click to the unknown device(if exists such unknown device)

select properties

open Details tab

select from dropdown list the 'hardware id' 

observe for something like  USB\VID_0483&PID_374........  

If exists it's a matter of not installed drivers.

View solution in original post

14 REPLIES 14
Posted on September 26, 2017 at 22:41

Hello!

Try to install drivers from

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html

.

There are several posts in this community about Installing drivers.

Is there a way to directly connect to U6 (the 32F103 running ST-LINK firmware) over USB to do DFU?

You mean that the STlink firmware is erased?

Regards

vf

Posted on September 26, 2017 at 22:59

Yes, the drivers were installed, the '32F103 is not recognized as an ST-LINK device. 

Posted on September 26, 2017 at 23:30

Tried another cable, port, or system? What follows?

Pseudo CD/DVD Drive? DELL System? Intel filter driver?

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on September 26, 2017 at 23:31

Hi again.

If chip is erased, DFU mode is not work.

Take access to SWCLK and SWDIO pins of U6 and  load the 'st link firmware in binary' form.

The difficult part is to find this firmware because ST never released it in unencrypted form.

Try to search in internet for relevant cases.

.

Posted on September 26, 2017 at 23:33

I found AN3156, the '32F103 does not support USB DFU. 

AN2606 shows that it can only be bootloaded through USART1.  

Posted on September 26, 2017 at 23:36

The USB port connects to my phone, using the same cable.

Posted on September 26, 2017 at 23:59

Is there a utility that will flash the encrypted ST-LINK FW through the SWD pins?

Posted on September 27, 2017 at 00:59

Is there a utility that will flash the encrypted ST-LINK FW through the SWD pins?

No there isn't exist such utility.

But, why are you convinced that chip is erased? It is very unusual.

Try to make a test

Plug your board to a computer

open device manager

right click to the unknown device(if exists such unknown device)

select properties

open Details tab

select from dropdown list the 'hardware id' 

observe for something like  USB\VID_0483&PID_374........  

If exists it's a matter of not installed drivers.

Posted on September 27, 2017 at 01:10

Device description: Unknown Device

Hardware id: USB\UNKNOWN

Manufacturer: (Standard USB Host Controller)