cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F105 need usb mass storage demo + SDIO

kan35
Associate II
Posted on March 28, 2010 at 11:01

STM32F105 need usb mass storage demo + SDIO

5 REPLIES 5
emmanuel239955
Associate II
Posted on May 17, 2011 at 13:44

Hi Alexander

I search USB example for STM32f105 tooand I don't find sources. What did you find about mass storage ? I need USB host example to load files from mass storage. Can you give me sources you found or say me where you found it ?

Thanks

Posted on May 17, 2011 at 13:44

''I found very good examples of USB mass storage in IAR's example folder but for STM32F103 only''

So what's stopping you just using that on the STM32F105 ??

kan35
Associate II
Posted on May 17, 2011 at 13:44

I found here:

''C:\Program Files\IAR Systems\Embedded Workbench 5.** Evaluation\ARM\examples\ST\STM32F10x\IAR-STM32F103ZE-SK\MassStorage\''

It is example of USB Mass Storage Device only (for F103 chip).. As I see you need something else

kan35
Associate II
Posted on May 17, 2011 at 13:44

USB of 105/7 very differ whith 103. Every other modules works fine on 105 exept USB.

I dont have so much knoleges to port USB-MSD code from 103 to 105... maybe someone did it already?

chikos332
Associate II
Posted on May 17, 2011 at 13:44

Hi,

I think the best way is that you take spi SD card driver provided by STM32stdFWLib (

http://www.st.com/stonline/products/support/micro/files/stm32f10x_stdperiph_lib.zip

, under the folder: STM32F10x_StdPeriph_Lib_V3.2.0\Utilities\STM32_EVAL\Common\stm32_eval_spi_sd.c/h). and you implement it in the Mass Storage demo.

Is this the kind of information you are looking for or do you need help in implementing the code ?