--- In lpc2000@yahoogroups.com, "wildmojo2003" <jhlebasko@i...>
wrote:
> I'm looking to use SD card in a datalogging application. I am
trying
> to research how much code space will be needed to support the SD
card.
> I want to be able to read the data off of the card with a normal
card
> reader. Anyone has experience with this?
It is definitely possible using SPI mode. Not all MMC cards
implement SPI mode, but most do -- I only have one card that doesn't.
In my application I read bits out of file on a FAT-formatted card in
order to program an FPGA. The fpga bits are written to the card
using XP and a dongle. My LPC2106 board also writes bits into
files on the card, which can later be read using XP.
Here's the size for the bulk of the code:
ch@laptop-vmware:~/src/rc2106$ size mmc.o spi.o fat.o crc.o
text data bss dec hex filename
4624 192 0 4816 12d0 mmc.o
496 0 0 496 1f0 spi.o
4144 4 512 4660 1234 fat.o
192 0 0 192 c0 crc.o
ch@laptop-vmware:~/src/rc2106$
I can't share the code unfortunately at the moment. Perhaps in the
future.
Cheers,
-chMessage
Re: SD Card inferface
2004-07-21 by RobbingPeter
Attachments
- No local attachments were found for this message.