cancel
Showing results for 
Search instead for 
Did you mean: 

USB MSC with STM32Cube

mentalmenza
Associate II
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
3 REPLIES 3
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 Venmo
Up vote any posts that you find helpful, it shows what's working..
mentalmenza
Associate II
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.

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.