My microSD card is not working on windows neither on my mobile phone. The card is not recognizable on these devices. My plan is to try to access the raw data on the memory chip using my Arduino. How can I do that? I really need to recover the data stored on the chip.
2 Answers
Since the card isn't being recognized at all by either computer or phone, it's probably completely dead. And as an Micro SD card, it has less compatibility than regular SD cards in terms of SPI mode, which is how most Arduino libraries would access the sd card.
That said, you could try the Adafruit SD library with the CardInfo sketch (Tutorial on the Micro SD card breakout and Library usage: http://www.ladyada.net/products/microsd/), following up to the "Arduino Library & First Test" section. You will need a level shifter to bring the 5v Arduino down to the 3.3v SD card level. If it reads it, you have a chance. If it doesn't, the card is A) Incompatible with SPI mode, or B) totally dead for regular use.
Restoring Data from an SD card normally requires that the SD card be in working order, just with bad blocks or a corrupt filesystem. If it's physically dead, there is nothing that can be done.
- 1,856
This blog will help. It expands on the SD library provided by Adafruit and the poster provides some scripts to get the files back on a computer, though at the time of this posting the "raw recovery" sketch doesn't seem to be complete. I'd say more about it, but the card I have is dead and not eligible for this procedure...
- 121