Skip to main content
Jim Seymour
Senior
July 2, 2019
Question

Looking for a USB Host (Mass Storage Device) example for the STM32F730

  • July 2, 2019
  • 1 reply
  • 922 views

Forgive me if this is a FAQ - but ST's website always confuses me...

I'm starting a project using a STM32F7 part (specifically: STM32F730R8Tx) and am looking for some sample code that can read/write a USB mass storage device.

Ideally, I'd like to use the new STM32CubeIDE tool - but I'll adapt to whatever I can find.

Thanks.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
July 2, 2019

Most examples would be under the DISCO/EVAL Applications directories in the CubeF7 package. Unpack there are a huge number of HAL examples. You might have to do some slight porting for specific devices/boards.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Jim Seymour
Senior
July 8, 2019

Thanks. There is, in fact, a USB Host application there - specifically in ...\STM32Cube\Repository\STM32Cube_FW_F7_V1.15.0\Projects\STM32F7308-DISCO\Applications\USB_Host

Of course, the project is for Keil and I don't have a license for STM32F7 work.

Does anyone have instructions on how I might convert this project to the new STM32CubeIDE?

Tesla DeLorean
Guru
July 8, 2019

If it doesn't provide direct import methods you should be able to construct a project pulling in the library source files, USB core and MSC files, and a GNU startup file.

The Keil project file is XML ASCII​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..