EmbeddedRelated.com
Forums

MCI protocol for SD CARD with lpc2368

Started by filipepferraz May 13, 2010
I'm new to arm programming, with books and examples found on the Internet I goota some of the microcontroler functions to work like: use of fic, irq, uart0, rtc, gp/io, lcd mod, a/d.
I'm really lost now, i'm trying to communicate with the SD CARD to initially write a block and record a variable for example. And in a futher use a Fat32 filesystem.

I'm using Yagarto compiler.

I found some examples of mmc with fat chan library but don't work with my board, or i dont know how to initializate the card.

Anyone can pass me more detalled informations about the use of SD CARD using the MCI protocol?

Where can I start studing to complete this Task?

Any information will help a lot.

An Engineer's Guide to the LPC2100 Series

Hi:

i am also new, am looking for same. i have found tutorial on SD/MMC protocol from ProdManualSDCardv1.9.pdf from sandisk.
If you download IAR Workbench for ARM this also has example program for LPC processor. But unfortunately in my case it does not work.
I am using Olimex LPC2378 Board.

it will be great if there will be document which is like NXP's AN10406.pdf.

I can not attach the attachment here or do not know how to do.
If you send me your email id then i can send this to you.
Regards
Sachin
--- In l..., "filipepferraz" wrote:
>
> I'm new to arm programming, with books and examples found on the Internet I goota some of the microcontroler functions to work like: use of fic, irq, uart0, rtc, gp/io, lcd mod, a/d.
> I'm really lost now, i'm trying to communicate with the SD CARD to initially write a block and record a variable for example. And in a futher use a Fat32 filesystem.
>
> I'm using Yagarto compiler.
>
> I found some examples of mmc with fat chan library but don't work with my board, or i dont know how to initializate the card.
>
> Anyone can pass me more detalled informations about the use of SD CARD using the MCI protocol?
>
> Where can I start studing to complete this Task?
>
> Any information will help a lot.
>