venkatakrishs
venkatakrishs

Reputation: 1

MMC SPI Issue not able to setup MMC/SD Card in Linux

I am currently writing a SPI Driver for a custom SPI IP which is used to interface MMC/SD Card. The SPI Driver is getting probed and the MMC driver is also getting probed. The MMC driver at the end prints this statement.

[   61.219787] mmc_spi spi0.0: SD/MMC host mmc0, no DMA, no WP, no poweroff, cd polling

I tried to print the value sent to the buffer while there are 29 bytes of 0xFF. These 29 bytes of 0xFF are being sent after which 18 and 10 are being sent from it and for which there is 0x00 from the read in that transfer_one function.

Will the number of write and read in the transfer_one() function be same?

And what does the MMC SPI driver try to do in this sequence?

Upvotes: 0

Views: 774

Answers (0)

Related Questions