2017-09-26 01:21 PM
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-errorSolved! Go to Solution.
2017-09-26 05:59 PM
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.
2017-09-26 01:41 PM
Hello!
Try to install drivers from
.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
2017-09-26 03:59 PM
Yes, the drivers were installed, the '32F103 is not recognized as an ST-LINK device.
2017-09-26 04:30 PM
Tried another cable, port, or system? What follows?
Pseudo CD/DVD Drive? DELL System? Intel filter driver?
2017-09-26 04:31 PM
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.
.
2017-09-26 04:33 PM
I found AN3156, the '32F103 does not support USB DFU.
AN2606 shows that it can only be bootloaded through USART1.
2017-09-26 04:36 PM
The USB port connects to my phone, using the same cable.
2017-09-26 04:59 PM
Is there a utility that will flash the encrypted ST-LINK FW through the SWD pins?
2017-09-26 05:59 PM
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.
2017-09-26 06:10 PM
Device description: Unknown Device
Hardware id: USB\UNKNOWN
Manufacturer: (Standard USB Host Controller)