Re: MXC MMC driver and SDIO peripherals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





I didn't really debug it yet, but from what I see in the sources, the
maximum block size is 2048. The hardware is connected via the 4-wire
Hi Daniel,

Did you try to run the driver with 1-Bit mode?

Maybe you can try to have debug routine to report the IRQ status for this sdhc controller. Then you could know what's wrong with firmware downloading or command issuing.
Since the card detection looks fine according to your message.

If it tells you the DATA CRC error, then you can try to operate the SDIO in 1-Bit mode. If it tells you the CMD CRC error, probably the strength of SDIO_CLK is not enough, you
need to have either internal pull-up or external resistor.

Cheers,
Matt
interface (+clk, +cmd). The system I tried that on has a MMC slot where
I can plug in either the WLAN eval kit or a memory card, and the latter
works just fine, which tells me that at least the pin config and the
hardware can't be entirely wrong.

What is the debug output of the MMC stack when loading the
module for your SDHC?

Exactly one line ;)

[    1.340000] i.MX SDHC driver


Daniel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux