Re: USB function client driver in wince 5.0
- From: Geoff <moc.liamtoh@gnirrevliseht>
- Date: Wed, 06 Dec 2006 09:56:22 -0800
Try putting the files under either WINCE500\PBWorkspaces\<your stuff> or WINCE500\Platform\<a platform>\<your stuff> or basically not under the public tree. Definitely not under the public tree, definitely. Put it under c:\Projects\USB perhaps. Public tree - bad idea.
You can access functions in whatever you link to, provided that the functions are exported from the Dll. Read about sources files and dirs files which control the build for specifying the correct link paths. There are lots of examples too.
! Don't put your files under the public tree !
Read about the build process. The sysgen phase strips the common registry/bib (amongst other things). In your build I guess only SYSGEN_USBFN_STORAGE is defined, so sysgen removes the others.
What documentation are you looking for? PB documentation isn't the best but it does have a guide for developing device drivers under the title:
"Developing a Device Driver > Device Driver Development How-to Topics > How to Create a Device Driver"
I think what you really need is to start with something simple, and attend a training course on using platform builder.
Steve Maillet he often posts about his company has online training courses (http://www.embeddedfusion.com/Training.htm) maybe that would be suitable for you.
(BTW: I don't know Steve but I am aware of his deep CE knowledge from this group and eMVP events).
Geoff
--
ADA wrote:
Hello. Can anyone please clarify following points?.
1)I am writing a USB function client driver which sits above PDD and
MDD and uses interfacea
lpStartDevice,UfnInitializeInterface,lpIssueTransfer etc. This client
driver is a stream interface driver and talks to the bulk endpoint. How
and where should I place my project files? Should the project be a
Simple Dll project? If I opt Dll project can I access the MDD
functions?
2)I have tried to put my project files in
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CLASS\<Mydriver>. The build
was success. How to make the Platform builder to include this driver in
the OS built?
3) common.reg file contains entry for all USB clients like mass
storage,serial,RNDIS etc. But the final OS designs Registry contains
only Mass storage. How is it possible?
I am not finding proper documentation in Platform builder. Please Help
Thank you.
- Follow-Ups:
- References:
- USB function client driver in wince 5.0
- From: ADA
- USB function client driver in wince 5.0
- Prev by Date: Re: Supporting a PS/2 Keyboard
- Next by Date: Re: Supporting a PS/2 Keyboard
- Previous by thread: USB function client driver in wince 5.0
- Next by thread: Re: USB function client driver in wince 5.0
- Index(es):
Relevant Pages
|