We are using WinCE5.0 + PXA255 board.
after I installed QFE and follow the following link, set IMGSDBUS2=1 and
modify the driver, the 2GB SD card still doesn't work, any ideas?

http://support.microsoft.com/kb/933809/en-us

Thanks.

Re: 2GB SD card doesn't work on CE5.0 by alamy

alamy
Fri Jun 13 20:43:32 PDT 2008

It should work. What I will try is...
* Your < 2GB SD card is working (make sure you set SYSGEN_SDBUS)
* If you are not sure if SDBUS2 driver is in used. Another hacking
method is to force to use SDBUS2 driver by modify .REG/.BIG yourself.
(look for IMGSDBUS2 in common.reg/.bib in release directory)
* As the document says, verify if your SDHC driver handles Response 7.
(you use sdhc driver from 3rd-party ?)

Re: 2GB SD card doesn't work on CE5.0 by CharlesWang

CharlesWang
Mon Jun 16 11:07:01 PDT 2008

Hi Alamy:
Thanks for the reply.

Here is the situation:
1> 1GB SD card always works
2>I looked through the common.bib and common.reg, after set IMGSDBUS2 =1,the
.bib file rename the SDBUS2.dll is renamed to SDBUS.dll .

3> I modified the SDCH driver handles to handles Response 7
like
/*==========================*/
case ResponseR1:
case ResponseR5:
case ResponseR6:
case ResponseR7: //Charles Add it here
cmdatRegister = COTULLA_MMC_CMDAT_RESPONSE_R1;
/*=====================================================*/

Still doesn't work!


Charles

"alamy.liu@gmail.com" wrote:

> It should work. What I will try is...
> * Your < 2GB SD card is working (make sure you set SYSGEN_SDBUS)
> * If you are not sure if SDBUS2 driver is in used. Another hacking
> method is to force to use SDBUS2 driver by modify .REG/.BIG yourself.
> (look for IMGSDBUS2 in common.reg/.bib in release directory)
> * As the document says, verify if your SDHC driver handles Response 7.
> (you use sdhc driver from 3rd-party ?)
>

Re: 2GB SD card doesn't work on CE5.0 by Erwin

Erwin
Tue Jun 17 06:46:02 PDT 2008

Create a debug build and share us your logging (not completely but the where
it goes wrong). Enable some more debug zones regarding the SDBUS driver and
your sd driver.

For 2GB card you actually don't need to set the IMGSDBUS2 variable and
implement the ResponseR7 because this is only for SDHC cards which is under
the SD 2.0 specification, however it should be backward compatible.

Erwin Zwart

"Charles Wang" <CharlesWang@discussions.microsoft.com> wrote in message
news:43A76182-F13F-45FE-8B18-F5EE7C0E9D36@microsoft.com...
> Hi Alamy:
> Thanks for the reply.
>
> Here is the situation:
> 1> 1GB SD card always works
> 2>I looked through the common.bib and common.reg, after set IMGSDBUS2
> =1,the
> .bib file rename the SDBUS2.dll is renamed to SDBUS.dll .
>
> 3> I modified the SDCH driver handles to handles Response 7
> like
> /*==========================*/
> case ResponseR1:
> case ResponseR5:
> case ResponseR6:
> case ResponseR7: //Charles Add it here
> cmdatRegister = COTULLA_MMC_CMDAT_RESPONSE_R1;
> /*=====================================================*/
>
> Still doesn't work!
>
>
> Charles
>
> "alamy.liu@gmail.com" wrote:
>
>> It should work. What I will try is...
>> * Your < 2GB SD card is working (make sure you set SYSGEN_SDBUS)
>> * If you are not sure if SDBUS2 driver is in used. Another hacking
>> method is to force to use SDBUS2 driver by modify .REG/.BIG yourself.
>> (look for IMGSDBUS2 in common.reg/.bib in release directory)
>> * As the document says, verify if your SDHC driver handles Response 7.
>> (you use sdhc driver from 3rd-party ?)
>>