Skip to main content
kan35
Associate II
March 28, 2010
Question

STM32F105 need usb mass storage demo + SDIO

  • March 28, 2010
  • 5 replies
  • 1359 views
Posted on March 28, 2010 at 11:01

STM32F105 need usb mass storage demo + SDIO

    This topic has been closed for replies.

    5 replies

    Andrew Neil
    Super User
    May 17, 2011
    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 ??

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    emmanuel239955
    Associate
    May 17, 2011
    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

    kan35
    kan35Author
    Associate II
    May 17, 2011
    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?

    kan35
    kan35Author
    Associate II
    May 17, 2011
    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

    chikos332
    Visitor II
    May 17, 2011
    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 ?