Olimex LPC-L2294 - SD/MMC connection problem

I have problem with SD/MMC on Olimex LPC-L2294. Using SanDisc SDHC card 4GB and the code currently in http://www.nxp.com/documents/applicatio … N10406.pdf (slightly altered as on the board SD/MMC connection is on SPI0). After getting the correct CMD0 Response, but then get in Response 0xff.

But most of my suspicion causes the fact, that low level of input on CS is about 1v. Card itself is working. I have tried two cards.

Thanks in advance.

Try using a 2Gb (or less) SD card instead of an SDHC card and see if that works OK.

Thank you

SD Card(512 mb) is working. But on this board can SDHC card be connected?

I don’t know for sure but I suspect you may be out of luck. The LPC-L2294 board specification only mentions ‘SD’ not ‘SDHC’.

Sandisk have this to say about SD/SDHC compatibility:

Q: What will happen if I use an SDHC/miniSDHC/microSDHC 4GB card in my standard SD/miniSD/microSD device?

A: Legacy devices cannot recognize the SDHC/miniSDHC/microSDHC memory card. SanDisk recommends using standard SD/miniSD/microSD cards up to 2-gigabytes.

http://www.sandisk.com/Assets/File/pdf/retail/SDHC1.pdf

Electrically and pinouts for SD and SDHC are the same. Hence IMHO on this board SDHC should work, so for SDHC not working properly code from NXP application note, but i have not found detailed documentation for SDHC SPI interface and commands, to make correction in the code.