Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Need guidance with MMC interface....

2005-04-01 by Musharraf Hanif

Hello,

I am trying to interface an MMC card (SPI mode) with the LPC2129 (Olimex H2129 board). First of all, can someone who has interfaced MMC cards confirm the settings of the S0SPCR (i am setting it to 0x30). How ever, once in a while, I get problems in the command not being recognized.

Second, I am trying to implement a FAT16/FAT32 based system so that the data that I store as files can be read on other systems. I have read the first sector of three MMC cards and hav found the first sector almost empty. The only non zero bytes are those defining the first partition and the last two bytes of the sector (0x55, 0xAA). Can some one guide me as to how i can determine the FAT type and and read/write files on it?

Regards,

Musharraf Hanif

[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.