Skip to main content
txmsszd
Associate II
June 16, 2016
Question

stm32 usb cdc Device Descriptor Request Failed

  • June 16, 2016
  • 33 replies
  • 11046 views
Posted on June 16, 2016 at 19:19

hi,I am tring to use usb virtual port to transmit data to pc.

MCU:STM32F373 100pins

cubemx: usb device fs checked

usb:communication device class

PC: windows 10

heap size: 0x200

stack size :0x400

when i plug usb cable to pc,it can not be recognised.In device manager,it shows Device Descriptor Request Failed. ST VCP driver installed. BTW, when I debug it, it could goes into USB_LP_IRQHandler after MX_USB_DEVICE_Init() excuted.

thanks.
    This topic has been closed for replies.

    33 replies

    aurelien2
    Associate
    November 14, 2017
    Posted on November 14, 2017 at 10:10

    Hello, when I active usb DMA, my board isn't recognized by host. So I suspect DMA in the configuration. Without DMA, virtual serial com port run very well.

    Aleksandr S.
    Associate
    March 14, 2018
    Posted on March 14, 2018 at 08:54

    Hi, All!

    I have: HAL version 1.0.0 and SPL)

    I just adjusted descriptor:

    0x02, /*bDeviceClass*/

    0x02, /*bDeviceSubClass*/

    It's work on Win10!

    roman239955
    Associate II
    April 13, 2018
    Posted on April 13, 2018 at 22:27

    I had this issue and found it was the micro-USB Cable.  After switching cables the USB worked fine.  

    Make sure you cut the malfunctioning cable into small pieces to prevent future issues with it.

    I have an F407G-Disc1, F411-disco, and F429i-disc1 that all worked after switching cables.