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
  • "the code bundle"
    "from the net"
    "where they"

    Please, always be more specific than that when asking for help! Do you happen to mean the NXP code bundle, version 1.5?

    If you do mean the NXP code bundle, then the MCI_ReadFifo and MCI_WriteFifo functions are written in assembler, and available in the MCI/readfifo.s file.

Reply
  • "the code bundle"
    "from the net"
    "where they"

    Please, always be more specific than that when asking for help! Do you happen to mean the NXP code bundle, version 1.5?

    If you do mean the NXP code bundle, then the MCI_ReadFifo and MCI_WriteFifo functions are written in assembler, and available in the MCI/readfifo.s file.

Children