Skip to main content
mentalmenza
Associate
September 2, 2014
Question

USB MSC with STM32Cube

  • September 2, 2014
  • 3 replies
  • 1084 views
Posted on September 02, 2014 at 11:22

I'm using STM32Cube to generate simple USB MSC project. I'm using STM32F417VG.

So I'm selecting USB_OTG_FS - Device_only and USB_DEVICE - Class For FS IP - Mass Storage Class. Then I'm generating source code, compile it and download to board, put it's USB cable to PC and nothing happens. What am I doing wrong?

#usb #cubemx #st32cubemx #msc
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
September 2, 2014
Posted on September 02, 2014 at 15:05

Should we guess?

Suggest you try porting one of the existing USB Firmware examples (V2.1.0 MSC) to your custom boards. Pay particular attention to differences in pin usage, and crystal frequencies.
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
mentalmenza
Associate
September 3, 2014
Posted on September 03, 2014 at 12:13

Do you know where I can find an example of USB Mass Storage Class for stm32f4? It will be good if it make part of my FLASH as MSC.

Montassar BEN ROMDHANE_O
Visitor II
September 3, 2014
Posted on September 03, 2014 at 13:14

Hi de.ab,

You can find three USB MSC class applications for each supported STM32F4 boards within the STM32CubeF4 firmware package available 

http://www.st.com/web/en/catalog/tools/PF259243#

:

  • USB_Device: one MSC_Standalone application
  • USB_HOST: two MSC applications: MSC_Standalone and MSC_RTOS 
Regards.