public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* mmc_spi and flash cards
@ 2009-11-18 15:57 Cliff Brake
  2009-12-28 17:58 ` Cliff Brake
  0 siblings, 1 reply; 5+ messages in thread
From: Cliff Brake @ 2009-11-18 15:57 UTC (permalink / raw)
  To: linux-mmc

Hello,

I'm debugging some issues with mmc_spi.  I have 3 mini-SD cards:

- transcend 2G - works
- Sandisk 2GB ultra - works if we play games with the CPHA bit, but
then the transcend card breaks.
- ATP Pro - does not get very far: mmc1: error -38 whilst initialising SD card

Thinking it might be a problem with the PXA270 SPI driver/hardware, I
switched to using the gpio_spi driver, and got exactly the same
results.  I have verified the power is stable.  Next, I plan to dig
into the driver and protocol, but wondered how its working for others:

- has 2.6.31 mmc_spi has been tested with a number of flash cards and works?
- I noticed the driver is playing games with the SPI mode to keep CS
high during some clock pulses.  Is there any concern that the CS will
glitch while changing modes?
- any suggestions as to what to look for?

Thanks,
Cliff

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-19 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 15:57 mmc_spi and flash cards Cliff Brake
2009-12-28 17:58 ` Cliff Brake
2010-01-02 14:17   ` Matt Fleming
2010-01-14 21:09     ` Cliff Brake
2010-01-19 20:49       ` Matt Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox