Re: WinCE 5.0 doesn't load the standard SD Memory client driver.



Have you add your SDHC driver catolag to you OS IMAGE?

"Rud0x1" <Rud0x1@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Loading standard SDBus driver - OK.
Loading my SD Host controller driver - OK.

Registry settings:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
"MountAsRoot"=dword:1
"DefaultFileSystem"="FATFS"
"DisablePowerManagement"="1"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMemory]
"Order"=dword:17
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:40 ; send no more than 64 blocks of da
"Profile"="SDMemory"

The system create appropriate "Drivers\Active\" path, but doesn't load
SDMemory client driver.
Debug messages:
DEVICE!ActivateDeviceEx(Drivers\BuiltIn\SDMemory) entered
DEVICE!I_ActivateDeviceEx: starting HLM\Drivers\BuiltIn\SDMemory
DEVICE!NotifyDevice Calling CeEventHasOccurred(/ADD SDH1:)
525211 PID:61f9b952 TID:61fa6fb6 0x81f9b000:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\SDMemory\Flags) returned 2
525212 PID:61f9b952 TID:61fa6fb6 0x81f9b000:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\SDMemory\BusPrefix) returned 2
525213 PID:61f9b952 TID:61fa6fb6 0x81f9b000:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\SDMemory\Index) returned 2
525213 PID:61f9b952 TID:61fa6fb6 0x81f9b000:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\SDMemory\Context) returned 2
525214 PID:61f9b952 TID:61fa6fb6 0x81f9b000:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\SDMemory\InitCode) returned 2
525215 PID:61f9b952 TID:61fa6fb6 0x81f9b000:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\SDMemory\BusInitCode) returned 2
571727 PID:61f9b952 TID:61fa6fb6 0x81f9b000: DEVICE!CreateActiveKey:
created HLM\Drivers\Active\4294967290
604410 PID:61f9b952 TID:61fa6fb6 0x81f9b000: DEVICE!CreateDevice: loading
driver DLL 'SDMemory.dll'
604424 PID:61f9b952 TID:61fa6fb6 0x81f9b000: >>> Loading module
sdmemory.dll at address 0x03B60000-0x03B75000 (RW data at
0x01FBD000-0x01FBD58C)
Loaded symbols for
'E:\WINCE500\PBWORKSPACES\TINY_001\RELDIR\EP93XX_ARMV4I_DEBUG\SDMEMORY.DLL'
604425 PID:61f9b952 TID:61fa6fb6 0x81f9b000: CreateDevice: creation of
type
'DSK', index 1, lib 'SDMemory.dll' returning 0x000438b0, error code 0
645439 PID:61f9b952 TID:61fa6fb6 0x81f9b000: DEVICE!LaunchDevice: calling
Init() for device 0x000438b0
645440 PID:61f9b952 TID:61fa6fb6 0x81f9b000: SDMemory: +SMC_Init
645443 PID:61f9b952 TID:61fa6fb6 0x81f9b000: SDGetDeviceHandle:
ActivePath:
Drivers\Active\4294967290

669270 PID:61f9b952 TID:61fa6fb6 0x81f9b000: SDGetDeviceHandle: Failed to
get ClientInfo key in active path Drivers\Active\4294967290




.



Relevant Pages

  • Re: How to implement TFAT file systems using FMD in windows ce5.0?
    ... strata driver failed to load. ... I am trying the same thing for Intel strata NOR flash. ... I have added the Registry settings to Project.reg file like ... And one more thing i have added Fat file system and Partition driver to my ...
    (microsoft.public.windowsce.embedded)
  • Re: File System Filter Trouble
    ... I added my registry settings as u said and now I am able to load my driver. ... I dont know why, but I did the same thing before putting the post but it ...
    (microsoft.public.windowsce.embedded)
  • Re: Adding COM Port
    ... It depends on how your driver is made. ... <apellerin AT adeneo DOT adetelgroup DOT com> ... "Anthony Pellerin" wrote: ... you may have to simply add new registry settings. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: USB Mass storage
    ... I am developing Host controller driver for OTG controller. ... I have USB host controller driver included in my OS image. ... Flash key drivers are loading but unable to ...
    (microsoft.public.windowsce.platbuilder)
  • USB Host Mass storage issue
    ... I have developed a host controller driver for a custom controller on Win ... I have debugged the issue and found that after the enumeration is over mass ... I have seen the bus trace and found that the host is ...
    (microsoft.public.windowsce.platbuilder)