Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Ricardo Ribalda Delgado
Hello, It seems that I am facing the same problem!. I attach another trace that also shows the sd I/O. I have also commented out the dma line at probe and no better results As you point, the card is unable to reply the cid. But not only that, after that failure the card replyies

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Lorenz Kolb
Hello, Ricardo Ribalda Delgado wrote: Hello, It seems that I am facing the same problem!. I attach another trace that also shows the sd I/O. Is the I/O logged from within the Xilinx-SPI-Driver or from within the mmc-spi-layer? The response to CMD10 seems quite strange to me. The R1

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Ricardo Ribalda Delgado
Hello Thanks for your reply Is the I/O logged from within the Xilinx-SPI-Driver or from within the mmc-spi-layer? It is take from inside the spi driver. The response to CMD10 seems quite strange to me. The R1 answer to that command says that everything is OK, so what is done next is

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Wolfgang Denk
Dear Ricardo Ribalda Delgado, In message aa76a2be0906111349s2ff947eo35149ef14e29d...@mail.gmail.com you wrote: What frequency does Your SPI-Bus use? 33Mhz arghh. just checked is over the standard... Tomorrow I will test with a slower clk Just some really stupid questions: This is

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-11 Thread Ricardo Ribalda Delgado
Hello Wolfgang This is with a 4xx core, right? Is this the same SPI controller design like in AMCC's 40x and 44x cores, i. e. with a FIFO of depth 1? It is a ppc440 but it is does not have ans spi controller as in the amcc. The spi controller is a xilinx core allocated at the plb bus,

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-08 Thread Lorenz Kolb
Peter Korsgaard wrote: Joachim == Joachim Foerster j...@gmx.de writes: Hi, Joachim Any hints? Does anybody use SD card support with Joachim mmc_spi+xilinx_spi ? I don't, but have you compared the spi signals on a scope in the 2 setups? Is timing significantly different?

Re: SD card over (xilinx_)SPI, timeout error while CID

2009-06-06 Thread Peter Korsgaard
Joachim == Joachim Foerster j...@gmx.de writes: Hi, Joachim Any hints? Does anybody use SD card support with Joachim mmc_spi+xilinx_spi ? I don't, but have you compared the spi signals on a scope in the 2 setups? Is timing significantly different? -- Bye, Peter Korsgaard

RE: SD card over (xilinx_)SPI, timeout error while CID

2009-06-05 Thread John Linn
-Original Message- From: Joachim Foerster [mailto:j...@gmx.de] Sent: Friday, June 05, 2009 9:34 AM To: linuxppc-...@ozlabs.org; John Linn; dbrown...@users.sourceforge.net Cc: lor...@missinglinkelectronics.com; joac...@missinglinkelectronics.com Subject: SD card over (xilinx_)SPI

SD card over (xilinx_)SPI, timeout error while CID

2009-06-05 Thread Joachim Foerster
Hi, we have a very strange problem with SD-card-over-SPI support using 2.6.29.4 on our custom PowerPC 405 (Virtex-4 FX FPGA) based board. To summarize the problem in one sentence: mmc_spi gets a timeout (error -110) after sending MMC command CMD10 (CID, card identification?). The attached log