SD/MMC interface
Posted: Thu Oct 25, 2012 2:48 pm
Hi All.
I am trying to complete an interface to SD/MMC using the C code.
But I am having a terrible time with the SPI. I started with some
PIC/AVR code to drive the configuration. This has worked in the past
with faster PICs, but I can never get the ARM to initialize properly.
I have posted my code here:
http://gpscruise.wikispaces.com/space/s ... c_demo.zip
Its very small, and modular.
I am using the Coridium arm7 board with a Sparkfun microSd/mmc card.
I have checked the voltages, 3v on all. The SF card is like a raw
interface to a micro card.
Perhaps my timing is off, or maybe microSd's are just different.
Anyone who is interested in this, if you could look over the code,
maybe something just pops out. I fear I have looked at all this so
long that I am just missing the easy stuff.
I have in reserve code that provides FAT access, so I want to layer
that in afterwards. This should give us a nice MMC module to use.
Thanks all.
Joe
I am trying to complete an interface to SD/MMC using the C code.
But I am having a terrible time with the SPI. I started with some
PIC/AVR code to drive the configuration. This has worked in the past
with faster PICs, but I can never get the ARM to initialize properly.
I have posted my code here:
http://gpscruise.wikispaces.com/space/s ... c_demo.zip
Its very small, and modular.
I am using the Coridium arm7 board with a Sparkfun microSd/mmc card.
I have checked the voltages, 3v on all. The SF card is like a raw
interface to a micro card.
Perhaps my timing is off, or maybe microSd's are just different.
Anyone who is interested in this, if you could look over the code,
maybe something just pops out. I fear I have looked at all this so
long that I am just missing the easy stuff.
I have in reserve code that provides FAT access, so I want to layer
that in afterwards. This should give us a nice MMC module to use.
Thanks all.
Joe