From: Lorenz Kolb <lorenz@missinglinkelectronics.com>
To: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Cc: joachim@missinglinkelectronics.com,
dbrownell@users.sourceforge.net, Joachim Foerster <JOFT@gmx.de>,
hp@axis.com, lorenz@missinglinkelectronics.com,
linuxppc-dev@ozlabs.org, mike@steroidmicros.com,
pierre@ossman.eu, jan.nikitenko@gmail.com, john.linn@xilinx.com,
linuxkernel@vger.kernel.org
Subject: Re: SD card over (xilinx_)SPI, timeout error while CID
Date: Thu, 11 Jun 2009 22:05:26 +0200 [thread overview]
Message-ID: <4A316386.4020404@missinglinkelectronics.com> (raw)
In-Reply-To: <aa76a2be0906111215j15933053rf128f1985a982ca0__26561.0047536486$1244748319$gmane$org@mail.gmail.com>
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 answer to that
command says that everything is OK, so what is done next is that the
0xfe token will be expected by the mmc-spi-layer. Obviously that one is
not received within the proper time (assuming your data-logging was done
from within xilinx-spi-driver). Also be aware of printk() taking
milliseconds for printing to console, within time critical routines that
might not be the best choice for debugging.
What frequency does Your SPI-Bus use?
Also double check to completely disable the whole
if (spi->master->dev.parent->dma_mask) {
...
}
block within mmc_spi_probe(). That worked for us (as we already said as
an ugly workaround).
Regards,
Lorenz
next prev parent reply other threads:[~2009-06-11 20:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 15:34 SD card over (xilinx_)SPI, timeout error while CID Joachim Foerster
2009-06-05 21:15 ` John Linn
2009-06-06 15:14 ` Peter Korsgaard
2009-06-08 15:14 ` Lorenz Kolb
2009-06-09 17:26 ` Joachim Foerster
2009-06-11 19:15 ` Ricardo Ribalda Delgado
[not found] ` <aa76a2be0906111215j15933053rf128f1985a982ca0__26561.0047536486$1244748319$gmane$org@mail.gmail.com>
2009-06-11 20:05 ` Lorenz Kolb [this message]
2009-06-11 20:49 ` Ricardo Ribalda Delgado
2009-06-11 21:07 ` Wolfgang Denk
2009-06-11 21:16 ` Ricardo Ribalda Delgado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A316386.4020404@missinglinkelectronics.com \
--to=lorenz@missinglinkelectronics.com \
--cc=JOFT@gmx.de \
--cc=dbrownell@users.sourceforge.net \
--cc=hp@axis.com \
--cc=jan.nikitenko@gmail.com \
--cc=joachim@missinglinkelectronics.com \
--cc=john.linn@xilinx.com \
--cc=linuxkernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mike@steroidmicros.com \
--cc=pierre@ossman.eu \
--cc=ricardo.ribalda@uam.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).