Re: MMC card not working on Intel PXA27x (development kit)

From: Zhijie (Zhijie_at_discussions.microsoft.com)
Date: 11/30/04


Date: Mon, 29 Nov 2004 21:42:24 -0800

Thanks for the info!

Zhijie

"Steve Schrock [MS]" wrote:

> Right. You can add code like the following to HandleEndCommandInterrupt in
> csp\arm\intel\pxa27x\sdhc\sdcontrol.c.
>
> if (statRegister & MMC_STAT_RESPONSE_CRC_ERROR) {
>
> // NEW CODE STARTS HERE
>
> if (ResponseR2 == pRequest->CommandResponse.ResponseType) {
> DbgPrintZo(SDCARD_ZONE_WARN, (TEXT("HandleEndCommandInterrupt:
> response for command %d contains a CRC error. Ignored. \n"),
> pRequest->CommandCode));
> }
> else
> {
>
> // OLD ERROR-HANDLINGS CODE CONTINUES (don't forget closing '}')
>
> --
> Steve Schrock
> Windows CE Device Drivers
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Martin Malik" <mmalik {_at_} gotive.com> wrote in message
> news:3369A102-5134-4FEF-A3E6-EF952EBA8820@microsoft.com...
> > If you have PXA27x C0-Stepping or below, this might be due to Erratum #42
> > (check PXA270 Spec. Update). If this is the case (can be confirmed by
> > checking debug msgs) then you need to patch the driver (sdcontrol.c in
> > CSP)
> > in order to ignore Response CRC Error for cmds returning R2 responses.
> >
> > Martin
> >
> > "Zhijie" wrote:
> >
> >> Hi,
> >>
> >> I've tried using MMC card on Intel PXA27x development kit and using
> >> driver comes with WinCE5.0. I can't get it to work. However, if I use a
> >> SD
> >> Memory card instead, it works just fine. So, I'm sure that compilation
> >> and
> >> setup was ok. It seems to be some bugs in the driver that not able to
> >> recognize MMC card. Does anyone know about this issue and how to fix
> >> this?
> >> Thanks for any info!
> >>
> >> Zhijie
>
>
>