Hi friends,=20 I develop a datalogger with a MMC card for our special purpose. There is implemented FAT syst=E9m (not fully, but most of it). I am not able to solve one problem. When writing operation to root directory is broken before finishing and it can hap anytime pulling a card out, I am not able to find a way how to repair the defected sector. Rewriting such sector from a PIC ends with endless loop of busy signal. I am not able to format the card in a PDA because Windows CE doesn't accept by this way damaged card. =20 I wasn't able to find any appnotes discussed error recovery of MMC cards as well as a detailed instructions how to erase a sector or block of sectors.=20 Use SPI mode for communication to MMC/SD card.=20 I appreciate any help.=20 Thanks=20 Igor=20 -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics