cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone using the STM32C to read a USB flash Drive?

tomabcd9
Associate II
Posted on November 07, 2009 at 10:58

Anyone using the STM32C to read a USB flash Drive?

4 REPLIES 4
tomabcd9
Associate II
Posted on May 17, 2011 at 13:28

Looking at the Docs it appears the STM32C can but used as USB host

so is there example software so the STM32C can connect to a USB flash

drive?

If so how much code/ram space does it take? What file systems

does it support? Are there any licensing issues?

If this is all documented somewhere please just point me to it.

Thanks

Tom

tomas23
Associate II
Posted on May 17, 2011 at 13:28

Hi Tom,

there are few vendors that provide USB host stack for STM32, we have real experience with Micrium (works), but is not cheap.

Nothing free, so far.

sheldon
Associate II
Posted on May 17, 2011 at 13:28

I'm looking to do something similar. Chan's FAT (http://elm-chan.org/fsw/ff/00index_e.html) can be used for the file system, but then I need to implement the disk I/O functions:

I wasn't impressed with the USB-OTG driver being mostly binary form so I couldn't get more help with it. However, I did see that Keil has a stm32_usbmem.zip file that seems to demo USB host for the STM32 (if you use Keil)

Has anyone else tried to do something similar with any success?

Posted on May 17, 2011 at 13:28

I couldn't locate the file stm32_usbmem anywhere in Keil directories.

Could you please point me at the location.

Did you have any success with implementing usb drive interface ?

thanks a lot,

Gennady