Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
Supported SD cards
I am trying to connect a Transcend 4GB SDHC card to my LPC11U24, but it gives an error message (shown below). I tried to run the basic Hello World from https://mbed.org/cookbook/SD-Card-File-System
I used a Sandisk 8GB microSDHC card with an adapter and it worked fine. There seems to be a problem initialising the Transcend card in SPI mode. Please help me.
If someone knows the SPI command set of Transcend SDHC class 4 card, please share. Also, if there are SD cards that are not supported by the mbed platform, please provide a list.
2 Answers
9 years, 4 months ago.
The SPI mode is optional in the SDHC standard. Most manufacturer do support , but they don't have to implement it.
9 years, 4 months ago.
The basic Hello world is a dangerous test : this program writes a file. If something goes wrong this damages the FAT system, you have to reformat the SD card.
Prefer the formatter from https://www.sdcard.org/downloads/formatter_4/
Retry with a read-only test program after reformatting.