Hi:
I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
with LPC2148 processor, with the help of AN10406_3 application note from
NXP. This note describe interfacing in SPI mode
Please give me link to any document which describe interfacing in SD/MMC
mode.
Regards
Sachin
SD/MMC driver for Olimex LPC2378STK
Started by ●May 31, 2010
Reply by ●July 5, 20112011-07-05
Hi Sachin,
Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
Cynergizer
--- In l..., sachin kumar wrote:
>
> Hi:
>
> I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
> LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
>
> I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
> with LPC2148 processor, with the help of AN10406_3 application note from
> NXP. This note describe interfacing in SPI mode
>
> Please give me link to any document which describe interfacing in SD/MMC
> mode.
>
> Regards
> Sachin
>
Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
Cynergizer
--- In l..., sachin kumar wrote:
>
> Hi:
>
> I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
> LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
>
> I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
> with LPC2148 processor, with the help of AN10406_3 application note from
> NXP. This note describe interfacing in SPI mode
>
> Please give me link to any document which describe interfacing in SD/MMC
> mode.
>
> Regards
> Sachin
>
Reply by ●July 5, 20112011-07-05
--- In l..., "cynergized" wrote:
>
> Hi Sachin,
> Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
>
> Cynergizer
>
You could start with the specifications:
http://www.sdcard.org/developers/tech/sdcard/
There is an interface document after you agree to some terms and conditions. Not the least of which is that you may be required to pay for a license to use anything derived from the simplified specifications.
MOST of the SD specification is proprietary and unless you join the SD group ($$$) you aren't going to get them
Here are some comments on the availability of the MMC specs:
http://intr.overt.org/blog/?pi
And all of this is why I prefer the compact flash devices. I realize they are too large (physically) and probably require too many pins for many applications but I really don't like 'closed' hardware.
Richard
>
> Hi Sachin,
> Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
>
> Cynergizer
>
You could start with the specifications:
http://www.sdcard.org/developers/tech/sdcard/
There is an interface document after you agree to some terms and conditions. Not the least of which is that you may be required to pay for a license to use anything derived from the simplified specifications.
MOST of the SD specification is proprietary and unless you join the SD group ($$$) you aren't going to get them
Here are some comments on the availability of the MMC specs:
http://intr.overt.org/blog/?pi
And all of this is why I prefer the compact flash devices. I realize they are too large (physically) and probably require too many pins for many applications but I really don't like 'closed' hardware.
Richard
Reply by ●July 6, 20112011-07-06
This blog post has a working example for the Olimex board's SD/MMC. Links
to other sources of info are included too.
http://blog.engine12.com/?p(8
http://blog.engine12.com/?p(8
Reply by ●August 4, 20112011-08-04
Hi
Take at look at http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF
This explains the operation and how FAT32 works and documents the utFAT user's interface.
The uTasker project includes SD card FAT32 for SPI or MCI on the LPC2xxx and LPC17xx parts and will also allow SD cards to be simulated - allowing low level SD card operation and FAT operation to be studied, tested and debugged where necessary.
Regards
Mark
http://www.uTasker.com
--- In l..., "cynergized" wrote:
>
> Hi Sachin,
> Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
>
> Cynergizer
>
> --- In l..., sachin kumar wrote:
> >
> > Hi:
> >
> > I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
> > LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
> >
> > I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
> > with LPC2148 processor, with the help of AN10406_3 application note from
> > NXP. This note describe interfacing in SPI mode
> >
> > Please give me link to any document which describe interfacing in SD/MMC
> > mode.
> >
> > Regards
> > Sachin
>
Take at look at http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF
This explains the operation and how FAT32 works and documents the utFAT user's interface.
The uTasker project includes SD card FAT32 for SPI or MCI on the LPC2xxx and LPC17xx parts and will also allow SD cards to be simulated - allowing low level SD card operation and FAT operation to be studied, tested and debugged where necessary.
Regards
Mark
http://www.uTasker.com
--- In l..., "cynergized" wrote:
>
> Hi Sachin,
> Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
>
> Cynergizer
>
> --- In l..., sachin kumar wrote:
> >
> > Hi:
> >
> > I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
> > LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
> >
> > I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
> > with LPC2148 processor, with the help of AN10406_3 application note from
> > NXP. This note describe interfacing in SPI mode
> >
> > Please give me link to any document which describe interfacing in SD/MMC
> > mode.
> >
> > Regards
> > Sachin
>
Reply by ●August 4, 20112011-08-04
In case of interest in NAND Flash operation (the SD cards contain NAND Flash and
a controller performing block management and level wear, which is invisible to
the SD card driver layer) the following is a guide to an implementation:
http://www.utasker.com/docs/uTasker/uTasker_NAND.pdf
It hasn't been used with the LPC devices since I don't think that any have NAND Flash controller (?) but it has been used with an ATMEL ARM7 with NAND Flash interface.
Regards
Mark
http://www.uTasker.com
--- In l..., "Mark" wrote:
>
> Hi
>
> Take at look at http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF
> This explains the operation and how FAT32 works and documents the utFAT user's interface.
>
> The uTasker project includes SD card FAT32 for SPI or MCI on the LPC2xxx and LPC17xx parts and will also allow SD cards to be simulated - allowing low level SD card operation and FAT operation to be studied, tested and debugged where necessary.
>
> Regards
>
> Mark
>
> http://www.uTasker.com
> --- In l..., "cynergized" wrote:
> >
> > Hi Sachin,
> > Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
> >
> > Cynergizer
> >
> > --- In l..., sachin kumar wrote:
> > >
> > > Hi:
> > >
> > > I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
> > > LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
> > >
> > > I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
> > > with LPC2148 processor, with the help of AN10406_3 application note from
> > > NXP. This note describe interfacing in SPI mode
> > >
> > > Please give me link to any document which describe interfacing in SD/MMC
> > > mode.
> > >
> > > Regards
> > > Sachin
> > >
>
http://www.utasker.com/docs/uTasker/uTasker_NAND.pdf
It hasn't been used with the LPC devices since I don't think that any have NAND Flash controller (?) but it has been used with an ATMEL ARM7 with NAND Flash interface.
Regards
Mark
http://www.uTasker.com
--- In l..., "Mark" wrote:
>
> Hi
>
> Take at look at http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF
> This explains the operation and how FAT32 works and documents the utFAT user's interface.
>
> The uTasker project includes SD card FAT32 for SPI or MCI on the LPC2xxx and LPC17xx parts and will also allow SD cards to be simulated - allowing low level SD card operation and FAT operation to be studied, tested and debugged where necessary.
>
> Regards
>
> Mark
>
> http://www.uTasker.com
> --- In l..., "cynergized" wrote:
> >
> > Hi Sachin,
> > Did you find any useful app notes or examples? I am on the exact same migration path as you (was using SPI on lpc2148, and switching to SD bus on lpc2378).
> >
> > Cynergizer
> >
> > --- In l..., sachin kumar wrote:
> > >
> > > Hi:
> > >
> > > I am going to interface 2GB SD/MMC card with LPC2378 Processor on Olimex
> > > LPC2378STK Board (http://www.olimex.com/dev/lpc-2378stk.html).
> > >
> > > I am new to SD/MMC card, earlier i have interfaced SD/MMC card in SPI mode
> > > with LPC2148 processor, with the help of AN10406_3 application note from
> > > NXP. This note describe interfacing in SPI mode
> > >
> > > Please give me link to any document which describe interfacing in SD/MMC
> > > mode.
> > >
> > > Regards
> > > Sachin
> > >
>