Re: MMC card not working on Intel PXA27x (development kit)
From: Steve Schrock [MS] (sschrock_at_online.microsoft.com)
Date: 11/29/04
- Next message: Steve Schrock [MS]: "Re: Mouse and Keyboard Support in WinCE 5.0"
- Previous message: Mike: "DCOMCNFG for CE.NET is a library not an exe?"
- In reply to: Martin Malik: "RE: MMC card not working on Intel PXA27x (development kit)"
- Next in thread: Zhijie: "Re: MMC card not working on Intel PXA27x (development kit)"
- Reply: Zhijie: "Re: MMC card not working on Intel PXA27x (development kit)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Nov 2004 15:48:37 -0800
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
- Next message: Steve Schrock [MS]: "Re: Mouse and Keyboard Support in WinCE 5.0"
- Previous message: Mike: "DCOMCNFG for CE.NET is a library not an exe?"
- In reply to: Martin Malik: "RE: MMC card not working on Intel PXA27x (development kit)"
- Next in thread: Zhijie: "Re: MMC card not working on Intel PXA27x (development kit)"
- Reply: Zhijie: "Re: MMC card not working on Intel PXA27x (development kit)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|