cancel
Showing results for 
Search instead for 
Did you mean: 

Make a USB memory stick out of STM32 based system

zeetahhs
Associate II
Posted on September 24, 2009 at 21:00

Make a USB memory stick out of STM32 based system

2 REPLIES 2
zeetahhs
Associate II
Posted on May 17, 2011 at 13:24

I'm developing my own board for an embedded system using the STM32 part.

Since this is an embedded system, I will be recording a bunch of data and storing it in on an onboard serial flash device.

What I'd like to do is have the code running on the STM32 use a file system, write files to the onboard serial flash device and then later I can plug my embedded system into a PC where it will show up as a USB memory stick and I can quickly copy my file off to the PC.

I'm not using an OS, so I'm looking for USB mass storage class driver code, file system code and SPI based serial flash driver that is stable, well checked out and runs on a bare metal system.

I've found code for the file system. The code for the SPI based serial flash driver is managable. The USB mass storage class driver code is the big challenge.

Thanks in advance for any pointers/suggestions.

Harjit

st3
Associate II
Posted on May 17, 2011 at 13:24

The demo code for the STM3210B-EVAL board includes this functionality.