[En-Nut-Discussion] olimex-sam7-ex256 mmc problem

PragmaLab info at pragmalab.nl
Fri May 2 22:30:50 CEST 2008


Hello Andreas,

> Hi
> I have now tried the httpd example with no luck.
> The card I use is a 1 GB card SD card from TEKQ. Is there any 
> differens in using a mmc card or using a sd card so maybe 
> that is my problem?
> When I debug the code I get the MBR right I think. I get the 
> MSDOS5.0 in the beginning and the 0x55 and 0xAA in the end. 

As far as I know there is no difference between a MMC and SD card as long as
you use it in SPI-mode. If you can read the MBR without any problem, a lot
of things already are OK (at least this excludes timing-issues and low level
block acces is also working). Only thing I can think of for now is that you
are using a SD-HC card (that will result in reading the MBR correct, but
fails when trying to locate the FAT-tables). On the other hand, you say you
have a 1 GB card, which is not HC. I suppose the card is working without
problems in a PC-reader or other SD-ready device....?

Regards,

Rob van Lieshout




More information about the En-Nut-Discussion mailing list