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, in

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

2009-06-11 Thread Wolfgang Denk
Dear Ricardo Ribalda Delgado, In message 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 with a 4xx core, right? Is this the same SPI controll

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 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 answ

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 allway

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

2009-06-09 Thread Joachim Foerster
Hi, On Fri, 2009-06-05 at 17:34 +0200, Joachim Foerster wrote: > 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 M

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

2009-06-08 Thread Lorenz Kolb
Peter Korsgaard wrote: "Joachim" == Joachim Foerster 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? Hi, we j

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

2009-06-06 Thread Peter Korsgaard
> "Joachim" == Joachim Foerster 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