Hi all,
I am trying to use AT91RM9200 to interface to a MMC/SD but I am not having too much success.
The platform that I am using the AT91RM9200DK dev kit as a starting point, with linux kernel 2.4.27-vrs1, patched with the MMC patch from
http://www.maxim.org.za/AT91RM9200. I know that the MMC patch targetted for a 2.4.26 kernel, but I have checked the patched results and it does not appear it did anything stupid.
As a starting point, I have created a simple routine to send a CMD0 to send it, then it continously send ACMD41 until it receives a "not busy" in the OCR response from the SD card.
Using a CRO, I have checked that the command and clock signals appear on the pins of the MMC/SD socket. I have also soldered 4K7 pull up resistors on the command and signal lines, slowed the clock to 150Khz.
The SD card just does not want to respond to anything that I send it.
Should I switch to interfacing to it via SPI rather than using the MCI? Anyone has success interfacing the MMC/SD? What interface did you use?
Thanks in advance on any ponters.
Tehn Yit Chin