Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wince6.0 Driver AutoLoad problem

1 view
Skip to first unread message

caiyuqing via PocketPCJunkies.com

unread,
Dec 29, 2009, 5:39:10 AM12/29/09
to
Hi,dear all.
I am building a Nand Flash driver for WinCE6.0, now have some trouble ... The
Nand Flash driver can not be auto loaded when the system boot.The following
is the platform.reg and platform.bib setting("DrvS3c2440Nand.dll" is my
drvier name).
;-----------------------------------------------------------------------------
---------------------------
platform.reg:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Nand]
"Profile"="Nand"
"Dll"="DrvS3c2440Nand.dll"
"Prefix"="DSK"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Nand]
"DriverPath"="Drivers\\BuiltIn\\Nand"
"LoadFlags"=dword:00000002
"BootPhase"=dword:00000002
"Order"=dword:00000000
;-----------------------------------------------------------------------------
---------------------------
platform.bib:
MODULES
DrvS3c2440Nand.dll $(_FLATRELEASEDIR)\DrvS3c2440Nand.dll
NK SH

this setting is working well in WinCE5.0, Is there somebody tell me what 's
the problem whit it.

thanks.

--
Message posted via http://www.pocketpcjunkies.com

Vinoth [MCTS]

unread,
Dec 29, 2009, 12:44:01 PM12/29/09
to
Load your driver in kernel mode. windows ce 6.0 has kernel mode drivers and
user mode drivers. fix the driver in kernel mode by adding K to your bib file
driver entry.
see bellow
instead of this

DrvS3c2440Nand.dll $(_FLATRELEASEDIR)\DrvS3c2440Nand.dll
> NK SH
add the K with SH
DrvS3c2440Nand.dll $(_FLATRELEASEDIR)\DrvS3c2440Nand.dll NK SHK

--
vinoth.R
http://vinoth-vinothblog.blogspot.com
http://www.e-consystems.com


"caiyuqing via PocketPCJunkies.com" wrote:

> .
>

caiyuqing via PocketPCJunkies.com

unread,
Dec 29, 2009, 7:50:46 PM12/29/09
to
Vinoth ~your suggestion solve my problem,thank you : )

Vinoth [MCTS] wrote:
>Load your driver in kernel mode. windows ce 6.0 has kernel mode drivers and
>user mode drivers. fix the driver in kernel mode by adding K to your bib file
>driver entry.
>see bellow
>instead of this
>DrvS3c2440Nand.dll $(_FLATRELEASEDIR)\DrvS3c2440Nand.dll
>> NK SH
>add the K with SH
>DrvS3c2440Nand.dll $(_FLATRELEASEDIR)\DrvS3c2440Nand.dll NK SHK
>

>> Hi,dear all.
>> I am building a Nand Flash driver for WinCE6.0, now have some trouble ... The

>[quoted text clipped - 26 lines]

0 new messages