cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32f407 FatFs + USB MSD, Example

zbiku11
Associate II
Posted on June 10, 2013 at 15:00

Hi!

I need to make MSD USB interface to read data from SD Card.

Its my first attempt to mass storage class.

I'm using fatfs library (http://elm-chan.org) with LFN option.

Im looking for some examples for fatfs (I dont want to use SDIO).

I have only example files for my discovery board - only Device.

Could you help me?

Regards.
5 REPLIES 5
Posted on June 10, 2013 at 15:53

Doesn't the ''Demonstration Builder'' firmware for the STM32x0G-EVAL board materially do this?

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
zbiku11
Associate II
Posted on June 10, 2013 at 16:07

Can you give me any link ?

I cant find any useful information about STM32X0G and its Demonstartion programs.
Posted on June 10, 2013 at 16:50

The Board page

http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF252216

The Design Resources tab, Associated Software

''

http://www.st.com/web/en/catalog/tools/PF258142

STM32F2 and STM32F4 demonstration builder platform

''

The file

http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/firmware/stm32f2-f4_demobuild.zip

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
zbiku11
Associate II
Posted on June 10, 2013 at 17:23

This project is so HUGE !

I dont even know where to start...

It also uses SDIO.
Posted on June 10, 2013 at 18:30

This project is so HUGE !I dont even know where to start... It also uses SDIO.

No, I'm pretty sure there is FatFs / USB - MSC code in the disk_read() code it's using (not in diskio.c)
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..