Re: MMC LCD Interfacing in ATMega16



On Fri, 27 Oct 2006 14:42:27 -0700, techie.embedded@xxxxxxxxx wrote:

Hi

Can someone lead me to some tutorial or some sample codes to write data
into my MMC, read & display onto LCD. I'm using an ATMega16 MCU & my
compiler is WinAVR.

thanks heaps.

techie.

http://sourceforge.net/projects/efsl/

efsl is a general library for mmc + fat. You may find that ATMega16
doesn't have enough space for the library though. I have played around a
little with efsl (not on avr) and it compiled to more than 16K for read
and write (can't remember exactly what size now). If you are interested in
using efsl as is, you might want to look/post their forum.

Otherwise, you could just take out the bits of efsl that you need.
Although, if you want to do *general* read + write, that might not be very
much!

To get the size down, you would need to be pretty specific about how the
card is formatted, and which sectors you use to read/write files. In
which case, efsl could serve as your starting point, along with a good MMC
data ***, and some good information on FAT (use google).

Regards,

Paul.

.


Quantcast