Skip to main content
Visitor II
September 23, 2020
Question

Connexion between Nucleo and PC to use STM32F4 as USB device

  • September 23, 2020
  • 1 reply
  • 786 views

Hi,

I would like to use a STM32F4 as a USB storage and followed the STM's video on the subject : https://www.youtube.com/watch?v=GjQqZd1keBo&.

My code run fine but my PC (Win10) fail to recognize device as an USB.

I used a Nucleo STM32F411RE and connected D+ and D- directly to USB plug, ground to ground and I’m not sure what to do with Vbus since video doesn't speak about Vbus sensing. Nucleo is powered through ST-Link.

What am I missing there?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    September 30, 2020

    Hello @VLe G.1​ ,

    Try to increase the heap size, or configure the USB library to use static allocation.

    I recommend you to follow this article: USB device not recognized, this may helps you.

    Please, keep us informed about your progress on this issue.

    Imen