I've had SD card init problems since I started with
EFSL. Luckily, the first card I tried worked, so I
didn't even know there was a problem until much
later. The workaround at the time was just to always
use the same type of card.
It turns out that fast I/O (or enhanced I/O if you
prefer), and slow I/O are mutually exclusive. Since
the rest of my application was using fast I/O, the
init of the SD card that is supposed to be done with
the select line high, was done with it low. So, some
cards worked, and others did not.
Here are the patched files. I added a define
HW_ENDPOINT_LPC2000_FASTIO to config-sample-lpc2000.h
that can be defined to enable this mode. The
lpc2000_spi.c file also has the SSP speed patch in it
as well, so this file supercedes the one in my prior
patch. Though, if you want both patches, you will
need both sets of files. Apply the SSPpatch first,
and then this one, and all will be well.
Hopefully, some of you will find this useful.
Mike
Updated files for the LPC214x fast I/O patch