[MMC_SPI] Getting CRC error on CMD18 for MMC card on SPI

Amit Mahadik amitmahadik35 at yahoo.com
Thu Dec 29 06:12:32 EST 2016


Hello,          I am using ARM (CortexA9)development board which has SPI controller running at 6MHz. I want to interface MMC card on SPI bus. I have made changes to my board.c file to include the mmc_spi driver and mentioned the Chip select, mode (MODE 0) and frequency of operation (started with 40kHz). The initial card detection goes well. However, there are CRC errors when the block layer tries to read the partition table.I have attached log for reference. The card gets detected on Linux based system. The card is formatted with DOS partition (single partition).
Please help me regarding this issue.
Regards,Amit. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161229/9e99b1af/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
Url: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161229/9e99b1af/attachment-0001.txt 


More information about the Kernelnewbies mailing list