All of lore.kernel.org
 help / color / mirror / Atom feed
From: amitmahadik35@yahoo.com (Amit Mahadik)
To: kernelnewbies@lists.kernelnewbies.org
Subject: [MMC_SPI] CMD18 error error -84 transferring data
Date: Wed, 4 Jan 2017 06:34:00 +0000 (UTC)	[thread overview]
Message-ID: <699205953.6532649.1483511640965@mail.yahoo.com> (raw)
In-Reply-To: 699205953.6532649.1483511640965.ref@mail.yahoo.com


Hello, 
I am using ARM (CortexA9)development board which has SPI controller running at 5MHz. I want to interface MMC card on SPI bus. I have made changes to my board.c file to include the mmc_spi driver and mentioned the Chip select, mode (MODE 0) and frequency of operation (started with 40kHz). The initial card detection goes well. However, there are CRC errors when the block layer tries to read the partition table. 
I have attached log for reference. The card gets detected on Linux/Windows PC. The card is formatted with DOS partition (single partition). 

Linus kernel Version 4.4.16 

Please help me regarding this issue. 

Regards, 
Amit. 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mmc_log.txt
Url: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170104/e762d177/attachment.txt 

           reply	other threads:[~2017-01-04  6:34 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <699205953.6532649.1483511640965.ref@mail.yahoo.com>]

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=699205953.6532649.1483511640965@mail.yahoo.com \
    --to=amitmahadik35@yahoo.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.