There are differences between MMC and SD card.
The init sequence for SD and MMC is different and some SD cards
might not initialize correctly if you use the MMC init sequence.
Very briefly in SPI mode the initialization commands for MMC are :
CMD0, CMD1, CMD2, CMD3, while for SD use a sequence of: CMD0, CMD41,
CMD55, CMD2, CMD3.
If your hardware is OK, you only need to change the init sequence
and it should work.
Good luck.
Jan
--- In lpc2000@yahoogroups.com, "ah_sandiego" <ah_sandiego@...>
wrote:
>
> Thanks for all the responses.
>
> So if I have read correctly, the code in the APP NOTE should work?
I
> simply cut and pasted the code, it compiled, but didn't work. I
know
> that is a very vague description, but I don't have much time to
> debug it, so I thought I would ask first if others have gotten it
to
> work.
>
> If you say it is working, I will post a more detailed description
of
> the problem I am having.
>
> Secondly, the card I am using is a 16Meg SD Card. It works since I
> can use it with my Pocket PC. I don't mind if the APP NOTE writes
> raw data to it (or whatever it is doing), but for the time being I
> want to access it in SPI (1 bit bus) mode, not the SDIO (4 bit
bus).
> Can this be done?
>
> Thanks,
> AH
>
> --- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@>
> wrote:
> >
> > At 06:44 PM 3/16/06 -0500, Tom Walsh wrote:
> > >philips_apps wrote:
> > > > The source in SPI/MMC app-note has been fixed, retested,
and
> > > >updated long time ago, the following week after you pointed
out
> the
> > > >error.
> > > > Thanks you very much for your suggestions and active
> > > >participation to improve our products!
> > > >
> > >Hmm, wonder why his app won't work?
> >
> > Perhaps because he's using SDIO? The SPI mode is optional even
> for MMC
> > cards although I think most implement it, my impression was that
> SDIO
> > didn't use it at all. (Non-IO SD cards are another matter)
> >
> > Robert
> >
> > " 'Freedom' has no meaning of itself. There are always
> restrictions, be
> > they legal, genetic, or physical. If you don't believe me, try
to
Show quoted textHide quoted text
> chew a
> > radio signal. " -- Kelvin Throop, III
> > http://www.aeolusdevelopment.com/
> >
>