linux-mips
[Top] [All Lists]

Re: Au1200 MMC/SD problem

To: Jordan Crouse <jordan.crouse@amd.com>
Subject: Re: Au1200 MMC/SD problem
From: Wolfgang Ocker <weo@reccoware.de>
Date: Fri, 05 May 2006 12:39:11 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20060503145927.GD24185@cosmic.amd.com>
Organization: Reccoware Systems
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1146548770.1597.43.camel@seneca.recco.de> <20060502144314.GI22167@cosmic.amd.com> <1146592926.11188.12.camel@seneca.recco.de> <20060503145927.GD24185@cosmic.amd.com>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2006-05-03 at 08:59 -0600, Jordan Crouse wrote:
> > The last one. In au1xmmc_irq() the status register is read with the
> > SD_STATUS_RAT bit set.
> 
> Ok - so the card is timing out.  That could be a series of problems, some
> of which could be hardware, some of which could be software.  Since you are
> using a db1200, I'll rule out hardware for the moment, unless you have a
> modified board.

Today I tested a third SD card from SanDisk, 128MB, same problem and log
output (time out in command 9).

> Do MMC cards work?  Try one - that will give us another data point.

Today I received a SanDisk 64 MB MMC card, it doesn't work either. Here
the log output:

au1xx(0): DEBUG: set_ios (power=0, clock=0Hz, vdd=0, mode=1)
au1xxx-mmc: MMC Controller 0 set up at B0600000 (mode=dma)
au1xx(0): DEBUG: set_ios (power=1, clock=0Hz, vdd=23, mode=1)
au1xx(0): DEBUG: set_ios (power=2, clock=450000Hz, vdd=23, mode=1)
au1xx(0): DEBUG: set_ios (power=2, clock=450000Hz, vdd=23, mode=1)
MMC: starting cmd 00 arg 00000000 flags 00000040
MMC: req done (00): 0: 00000000 00000000 00000000 00000000
au1xx(0): DEBUG: set_ios (power=2, clock=450000Hz, vdd=23, mode=1)
MMC: starting cmd 37 arg 00000000 flags 00000015
au1xx(0): DEBUG: au1xmmc_irq(), SD_STATUS_RAT set
MMC: req done (37): 1: 00000000 00000000 00000000 00000000
MMC: starting cmd 37 arg 00000000 flags 00000015
au1xx(0): DEBUG: au1xmmc_irq(), SD_STATUS_RAT set
MMC: req done (37): 1: 00000000 00000000 00000000 00000000
MMC: starting cmd 37 arg 00000000 flags 00000015
au1xx(0): DEBUG: au1xmmc_irq(), SD_STATUS_RAT set
MMC: req done (37): 1: 00000000 00000000 00000000 00000000
MMC: starting cmd 37 arg 00000000 flags 00000015
au1xx(0): DEBUG: au1xmmc_irq(), SD_STATUS_RAT set
MMC: req done (37): 1: 00000000 00000000 00000000 00000000
MMC: mmc_setup(), send_app_op_cond, ocr = 1000fc00, err = 1
MMC: mmc_setup(), no SD card found (1)
MMC: starting cmd 01 arg 00000000 flags 00000061
au1xx(0): DEBUG: au1xmmc_irq(), SD_STATUS_RAT set
MMC: req done (01): 1: 00000000 00000000 00000000 00000000
MMC: mmc_rescan(): no card found!
au1xx(0): DEBUG: set_ios (power=0, clock=0Hz, vdd=0, mode=1)


Thanks,
Wolfgang


<Prev in Thread] Current Thread [Next in Thread>