Skip to main content
rimbamor
Associate II
March 28, 2011
Question

How to install the SD card Driver

  • March 28, 2011
  • 3 replies
  • 881 views
Posted on March 28, 2011 at 11:12

How to install the SD card Driver

    This topic has been closed for replies.

    3 replies

    rimbamor
    rimbamorAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:29

    ok i m using STM3210C eval bord and i want to read a file from SD card , so first i should install the driver of the SDcard (it's connceted with SPI3)

    I found an example stm32_eval_spi_sd.c  in

     

    STM32 Embedded GUI library (AN3128)

    \FIRMWARE\Utilities\STM32_EVAL\Common  

     I'can't understand how to configure pins of SDcard.

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:29

    What did you try?

    How did it fail?

    Be specific.

    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.
    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:29

    Driving an SD-Card is not a trivial exercise.

    Configuring the SPI interface is quite basic.

    Is seems that you need to spend some time gaining familiarity with the basics of the STM32 and the STM3210C eval board before moving on to more advanced projects.

    There are plenty of basic examples - including SPI - included with the standard peripheral library (aka ''FW Library'')

    http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=FIRMWARE&ClassID=1734

    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.