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

LPC2378/MMC driver

Hi all

I want to interface the MMC card with the LPC 2378 controller ...i have downloded the code bundle from the net where they have given the example program for the MMC interface ,but i am unable to fine a write and read function in the program they have declared the function but not defined it ...

int MCI_ReadFifo(unsigned int * dest);
int MCI_WriteFifo(unsigned int * src);

they have writen in mci.c file .

can anyone tel how to write data and read the data from the MMC and at wt address we start writing the data .

i have went through the code but stil not getting it .

Regards
Suresh

Parents
  • if in future i want to expand it to read a file systems wt should i do ,wt changes i should make to read the file systems ....if any notes is there it wil be helpful for me to do it latter since the technology is expanding our customer wil demand it one day so can u help me to find out wt to do ....

Reply
  • if in future i want to expand it to read a file systems wt should i do ,wt changes i should make to read the file systems ....if any notes is there it wil be helpful for me to do it latter since the technology is expanding our customer wil demand it one day so can u help me to find out wt to do ....

Children
  • Only got hex data???

    Hexadecimal or binary - that is just a question of how the information is presented. The MMC (or the sample driver code) does not care about actual contents. Sample source code likes to dump the information in hex format, to make sure that any (!) information will be possible to present without any problems with character sets etc.

    How to use a file system? Buy one from Keil, or surf for free sample code and figure out if it works - or write your own and then figure out if it works :)

    But don't limit yourself to asking for all information. Search for it. Searching allows you access to much more data, and a lot faster. You can't spend your life asking for everything.