From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Pierre Ossman <drzeus@drzeus.cx>, Nicolas Pitre <nico@cam.org>
Cc: ARM Linux Mailing List <linux-arm-kernel@lists.arm.linux.org.uk>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: sdio: bad CISTPL_FUNCE error
Date: Fri, 20 Jun 2008 17:24:35 +0200 [thread overview]
Message-ID: <485BCBB3.20405@atmel.com> (raw)
Hi Pierre,
While trying to setup a GPS SDIO card, I experience the following error:
"mmc0: bad CISTPL_FUNCE size 28 type 1"
I use a combo card but without mirco sd card inserted.
http://www.spectec.com.tw/sdg810.htm
Tracing in sdio_cis.c file, I print the tpl_code (line 216).
I have 3 successive codes : 0xff, 0x21 & 0x22.
Is this a host controller driver issue ? or the using of a non
supported combo SDIO card (with GPS function not probed first) ?
Here is a little log :
"
[..SDIO init & many 52 commands..]
mmc0: starting CMD52 arg 00209e00 flags 00000195
Sending command 52 as 00001074, arg = 00209E00, blocks = 0, length = 0 (MR = 00001B84)
MCI irq: status = 0000C3E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c3e5 [000010FF 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 000010ff 00000000 00000000 00000000
mmc0: *read tpl 0xff*
mmc0: clock 25000000Hz busmode 2 powermode 2 cs 0 Vdd 20 width 0 timing 0
clkdiv = 1. mcck = 24832000
MMC: Setting controller bus width to 1
mmc0: starting CMD52 arg 00000e00 flags 00000195
Sending command 52 as 00001074, arg = 00000E00, blocks = 0, length = 0 (MR = 00001B01)
MCI irq: status = 0000C3E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c3e5 [00001040 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 00001040 00000000 00000000 00000000
[..many 52 commands..]
mmc0: starting CMD52 arg 0020a000 flags 00000195
Sending command 52 as 00001074, arg = 0020A000, blocks = 0, length = 0 (MR = 00001B01)
MCI irq: status = 0000C1E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c1e5 [00001021 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 00001021 00000000 00000000 00000000
mmc0: *read tpl 0x21*
mmc0: starting CMD52 arg 0020a200 flags 00000195
Sending command 52 as 00001074, arg = 0020A200, blocks = 0, length = 0 (MR = 00001B01)
MCI irq: status = 0000C1E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c1e5 [00001002 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 00001002 00000000 00000000 00000000
[2 CMD52]
mmc0: starting CMD52 arg 0020a800 flags 00000195
Sending command 52 as 00001074, arg = 0020A800, blocks = 0, length = 0 (MR = 00001B01)
MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c0e5 [00001022 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 00001022 00000000 00000000 00000000
mmc0: *read tpl 0x22*
mmc0: starting CMD52 arg 0020aa00 flags 00000195
Sending command 52 as 00001074, arg = 0020AA00, blocks = 0, length = 0 (MR = 00001B01)
MCI irq: status = 0000C1E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c1e5 [0000101C 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 0000101c 00000000 00000000 00000000
mmc0: starting CMD52 arg 0020ac00 flags 00000195
[many CMD52]
mmc0: starting CMD52 arg 0020e200 flags 00000195
Sending command 52 as 00001074, arg = 0020E200, blocks = 0, length = 0 (MR = 00001B01)
MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 00000001/0000c0e5 [00001000 00000000 00000000 00000000]
mmc0: req done (CMD52): 0: 00001000 00000000 00000000 00000000
mmc0: bad CISTPL_FUNCE size 28 type 1
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
MMC: Setting controller bus width to 1
mmc0: error -22 whilst initialising SDIO card
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
MMC: Setting controller bus width to 1
"
--
Nicolas Ferre
next reply other threads:[~2008-06-20 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 15:24 Nicolas Ferre [this message]
2008-06-21 15:00 ` sdio: bad CISTPL_FUNCE error Nicolas Pitre
2008-06-23 14:12 ` Nicolas Ferre
2008-06-23 15:09 ` Nicolas Pitre
2008-06-24 9:34 ` Nicolas Ferre
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=485BCBB3.20405@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=drzeus@drzeus.cx \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=nico@cam.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.