Skip to main content
Visitor II
September 26, 2017
Solved

STM32L496G-Discovery Unknown Device

  • September 26, 2017
  • 4 replies
  • 3882 views
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
    This topic has been closed for replies.
    Best answer by Vangelis Fortounas
    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.

    4 replies

    Visitor II
    September 26, 2017
    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

    Visitor II
    September 26, 2017
    Posted on September 26, 2017 at 22:59

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

    Graduate II
    September 26, 2017
    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?

    Visitor II
    January 7, 2019

    same problem

    on a Gentoo Linux machine

    Yesterday the atollicTrueStudio told me that the STLink firmeware on my STM32F411 Nucleo is old and there is an update available

    -> OK

    then i debugged a part of software ...all works for about 2houres

    OK then i disconnected the board,

    powered off my PC and today it doesn't work any more

    the Program on the Target is still running like charm

    BUT

    there is no more connection

    dmesg
     
     
    [551559.359615] usb 11-4: USB disconnect, device number 6
     
    [551563.688058] usb 11-4: new full-speed USB device number 7 using ohci-pci
     
    [551563.967202] usb 11-4: New USB device found, idVendor=0483, idProduct=374b
     
    [551563.967210] usb 11-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
     
    [551563.967214] usb 11-4: Product: STM32 STLink
     
    [551563.967217] usb 11-4: Manufacturer: STMicroelectronics
     
    [551563.967220] usb 11-4: SerialNumber: 066AFF494851877267065831
     
    [551563.969199] usb 11-4: can't set config #1, error -62
     
     
     

    dmesg

    [551559.359615] usb 11-4: USB disconnect, device number 6

    [551563.688058] usb 11-4: new full-speed USB device number 7 using ohci-pci

    [551563.967202] usb 11-4: New USB device found, idVendor=0483, idProduct=374b

    [551563.967210] usb 11-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3

    [551563.967214] usb 11-4: Product: STM32 STLink

    [551563.967217] usb 11-4: Manufacturer: STMicroelectronics

    [551563.967220] usb 11-4: SerialNumber: 066AFF494851877267065831

    [551563.969199] usb 11-4: can't set config #1, error -62

    st-info --probe

    setting new configuration (0 -> 1)

    Found 1 stlink programmers

    serial:

    openocd: ""

    flash: 0 (pagesize: 0)

    sram: 0

    chipid: 0x0000

    descr: unknown device

    so it looks like Atollic has, with this update, killed the STLink on my nucleo device :oops: :evil:

    perhaps somebody knows how to fix this problem

    Visitor II
    January 7, 2019

    NO DRIVER PROBLEM

    another STM32F411 nucleo from the same batch

    i bought 4 of this at the same time 3 working like charm

    [583125.632133] usb 11-4: new full-speed USB device number 13 using ohci-pci

    [583125.931172] usb 11-4: New USB device found, idVendor=0483, idProduct=374b

    [583125.931175] usb 11-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3

    [583125.931176] usb 11-4: Product: STM32 STLink

    [583125.931177] usb 11-4: Manufacturer: STMicroelectronics

    [583125.931178] usb 11-4: SerialNumber: 066EFF494851877267013639

    [583125.941190] usb-storage 11-4:1.1: USB Mass Storage device detected

    [583125.941383] scsi host8: usb-storage 11-4:1.1

    [583125.943287] cdc_acm 11-4:1.2: ttyACM0: USB ACM device

    [583127.019180] scsi 8:0:0:0: Direct-Access    MBED    microcontroller 1.0 PQ: 0 ANSI: 2

    [583127.019398] sd 8:0:0:0: Attached scsi generic sg5 type 0

    [583127.029117] sd 8:0:0:0: [sde] 1056 512-byte logical blocks: (541 kB/528 KiB)

    [583127.035123] sd 8:0:0:0: [sde] Write Protect is off

    [583127.035126] sd 8:0:0:0: [sde] Mode Sense: 03 00 00 00

    [583127.041129] sd 8:0:0:0: [sde] No Caching mode page found

    [583127.041132] sd 8:0:0:0: [sde] Assuming drive cache: write through

    [583127.121279] sd 8:0:0:0: [sde] Attached SCSI removable disk

    Visitor II
    April 18, 2022

    Hi, I’m in the same situation here, brand new Nucleo board, and I get the following with

    st-info — probe 
    setting new configuration (0 -> 1)
    Found 1 st-link programmers 
    seria: XXXXXXXXXXXXXXXXXX < Edit 
    flash: 0 (pagesize: 0)
    sram: 0
    chipid: 0x0000
    descr: unknown device

    It will not connect to the board.

    Any procedure to resolve this?

    Thanks,