Quote:
Originally Posted by Tom Bottiglieri
If I remember correctly, SD/MMC cards run on an SPI connection. The IFI RC is using SPI on the user processor for something else.
This could be fixed by using an auxiliary PIC (although I would prefer an AVR.. woo GCC!), connecting the card via SPI, and using a serial connection between the aux board and the IFI controller. Also, I suppose if you wanted to get really fancy, you could emulate SPI by bit banging through the available i/o.
|
I'm glad to see some interest in this topic, reading files from SD chips would be handy...
Last year I posted some information about using an SD module for holding autonomous scripting files. I used a module from
DOSonChip, but I think it uses the same chip as the sparkfun model. I wrote some test code that runs on an SX28, but never tried it on an RC.
The code uses bit-banging on some port pins for SPI, and includes some simple file parsing examples. I intended to write some higher-level functions, but never got there.
All of the information is in multiple blog entries
here.
Have fun,
Jim