This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Connecting SD-Card to ARM7

Hello,
a nice day to everyone.
Of course i know my thread is not so KEIL specific but i'am not sure how to start it somewhere else.

How can i connect a cheap SD-Card or some other storage medium to an ARM7 microcontroller. The idea is to have mega or giga bytes of memory instead of a few kilo bytes.

I'am looking forward to your friendly suggestions.
What about the hardware, what about the software.
Can a PC read out the data then from the memory-card?

Cincerly yours :-)

Parents
  • The most simple solution might be to use the SPI port of your ARM (or a software emulation of it, respectively). All SD/MMC are able to communicate via SPI in an easy manner.

    Anyway, it is not really easy to access FAT32 file systems. There should be several source code examples in the web, and Microsoft has tons of information how such a file system is organized. You "just" have to sort it out.

    If you want only memory expansion, it might be better to look at the card as a "swap" device. To read/write such a card from the PC, you may use low level access on Windows or Linux (Mac should work also) through the raw device driver.

Reply
  • The most simple solution might be to use the SPI port of your ARM (or a software emulation of it, respectively). All SD/MMC are able to communicate via SPI in an easy manner.

    Anyway, it is not really easy to access FAT32 file systems. There should be several source code examples in the web, and Microsoft has tons of information how such a file system is organized. You "just" have to sort it out.

    If you want only memory expansion, it might be better to look at the card as a "swap" device. To read/write such a card from the PC, you may use low level access on Windows or Linux (Mac should work also) through the raw device driver.

Children
No data