From: Will Newton <will.newton@gmail.com>
To: "Wolfgang Mües" <wolfgang.mues@auerswald.de>
Cc: Pierre Ossman <drzeus@drzeus.cx>,
Andrew Morton <akpm@linux-foundation.org>,
Matt Fleming <matt@console-pimps.org>,
David Brownell <dbrownell@users.sourceforge.net>,
Mike Frysinger <vapier.adi@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 7/7] mmc_spi: support for non-byte-aligned cards
Date: Wed, 11 Mar 2009 14:38:09 +0000 [thread overview]
Message-ID: <87a5b0800903110738h508aae87y7fc462d30cc89c7f@mail.gmail.com> (raw)
In-Reply-To: <200903111534.34340.wolfgang.mues@auerswald.de>
On Wed, Mar 11, 2009 at 2:34 PM, Wolfgang Mües
<wolfgang.mues@auerswald.de> wrote:
> Will,
>
> Am Mittwoch, 11. März 2009 schrieb Will Newton:
>> <wolfgang.mues@auerswald.de> wrote:
>> > From: Wolfgang Muees <wolfgang.mues@auerswald.de>
>> >
>> > o A very large subset of SD cards in the market send their
>> > responses and data non-byte-aligned. So add logic to the
>> > mmc spi driver to handle this mess.
>>
>> Are you sure about this?
>
> Yes.
>
>> Do you have any further references for this
>> or examples of cards that exhibit this problem?
>
> Kingston. The 1 GByte SD card, and a 128 MByte microSD card. I have got some
> reports from other mmc spi users with the same problem.
Are they using the same host controller? Have you tried these cards
with a different host controller?
Are you clocking them particularly slow or fast?
> The SD protocoll ist NOT byte-aligned. Messages are starting with a
> leading "0" bit. I think some chip vendors have adapted the SPI mode from SD
> mode and forgotten to do propper byte alignment.
>
>> Are you sure your SPI host controller is operating correctly?
>
> Yes. My logic probe gives the same results as my spi host controller.
> For some cards, you can see the bit offset is getting larger if the
> controller on the SD card is getting more and more busy...
A logic probe may not display any signal integrity issues you might have.
next prev parent reply other threads:[~2009-03-11 14:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 13:40 Wolfgang Mües
2009-03-11 13:56 ` Will Newton
2009-03-11 14:34 ` Wolfgang Mües
2009-03-11 14:38 ` Will Newton [this message]
2009-03-11 15:00 ` Wolfgang Mües
2009-03-11 15:03 ` Will Newton
2009-03-11 15:14 ` Wolfgang Mües
2009-03-11 15:21 ` Will Newton
2009-03-11 23:42 ` Robin Getz
2009-03-11 21:03 ` David Brownell
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=87a5b0800903110738h508aae87y7fc462d30cc89c7f@mail.gmail.com \
--to=will.newton@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=dbrownell@users.sourceforge.net \
--cc=drzeus@drzeus.cx \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@console-pimps.org \
--cc=vapier.adi@gmail.com \
--cc=wolfgang.mues@auerswald.de \
/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
all inboxes | Powered by JetHome®