cancel
Showing results for 
Search instead for 
Did you mean: 

Connexion between Nucleo and PC to use STM32F4 as USB device

VLe G.1
Associate

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?

1 REPLY 1
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen