using LPC2148 to communicate with MMC card complete source code, has been tested.
File list:
LPC2148_MMC
..........\Lst
..........\Obj
..........\Abstract.txt
..........\mmcmain.c
..........\mmcmain.h
..........\spi_mmc.c
..........\spi_mmc.h
..........\spi_mmc.Opt
..........\spi_mmc.Uv2
..........\Startup.s
..........\type.h