Re: Loading USB driver @ boot



The way I read it they can change NK, just not later upgrade it. He can change the boot hive (which you can only do if you create the NK). Once he ships the device he can't update NK anymore. At least, that's how I understand it...

Another way is just to unload the entire USB stack, then set the registry to point to the dll on the USB drive (when it is already mounted) and then reload the stack.

Code that shows you how to reload the stack is in one of my previous posts, here: http://groups.google.co.nz/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/d9bf179790e115f8/0f164c0eaf67ab1c?hl=en&lnk=st&q=usb+unload+group%3A*windowsce*+author%3Amichel+author%3Averhagen#0f164c0eaf67ab1c


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Bruce Eitman [eMVP] wrote:
If I follow this correctly, changing the nk.bin isn't possible. So you could use the HIVE registry, that I hope you have. change the name of the new version of the driver and change it in the registry, now it should work with your system path change pointing to your NOR flash.

.



Relevant Pages

  • Re: Serialize puzzle
    ... You suggest the registry. ... To reload the documents. ... GetWindowPlacement data as the information about the window. ... >> avoid UpdateData, this is actually not terribly hard (UpdateData often returns completely ...
    (microsoft.public.vc.mfc)
  • Re: how to load in a build in driver whose index is greater 10 in Windows CE
    ... about the fact that numbers in the registry files are all hexadecimal, ... You must use the $device mount point to reference such a driver. ... Bruce Eitman [eMVP] wrote: ... But I likt this VCA12 as a build in driver, which will be load when the ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 2.6.25-git2: BUG: unable to handle kernel paging request at ffffffffffffffff
    ... since the compiler is totally free to spill and reload the local variable ... So forget about the prefetch, ... variable onto the stack, since it did that volatime memory access through ... the insane "store and immediately reload from ...
    (Linux-Kernel)
  • Re: WM% and Bluetooth
    ... Great, I'll give it a try, the Mio A701 does have a MS BT stack (or so it ... PDAs) I would use the OpenNetSDK to identify the presence of relevant ... When using Widcomm stack devices I simply messed around with registry ... the relevant devices and changing registry settings accordingly. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Problem with COM-Port after switching from Hive Based Registry -> RAM based
    ... Michel Verhagen, eMVP ... driver load order can change. ... "Order" values to the driver registry settings. ...
    (microsoft.public.windowsce.platbuilder)