how to write device driver for Windows XP Embedded

G

Guest

I know the setup for writing driver for Windows XP.

My question is

what is the setup for writing driver for Windows XP Embedded using DDK? Host is Windows XP professional and target is Windows XP Embedded and everything else is same as desktop setup

Can someone point me the document for setup/develop driver for Windows XP Embedded

Thanks.
 
A

aikwee

hi, on driver level, XPE and XP pro has no different. if you write a driver
for XP Pro, it will work on XPE. The different is you have to componentize
your driver to built into XPE.
kathy said:
I know the setup for writing driver for Windows XP.

My question is:

what is the setup for writing driver for Windows XP Embedded using DDK?
Host is Windows XP professional and target is Windows XP Embedded and
everything else is same as desktop setup?
 
G

Guest

H

anything that will work for XP will work for XPe, given that the parts of the OS which your driver relies on, are included in the specific XPe image you are building. So - to make your driver accessible to XPe take the .inf file you have generated and import it to Component Designer. Create a package and a repository (to include the .sys, .inf and possible .dll) for it, and don't forget to declare any dependencies (components for the parts of the OS I mentioned earlier), and finally save it to an .sld
that's it. zip the .sld and the directory which serves as the actual repository to a single package you can re-use

HTH
idan
 
S

Slobodan Brcin \(eMVP\)

I like XPE it is much easies to test drivers.

If you are writing device driver then you only need to include your driver
files in their folders, and also you will need inf file to be in inf folder.

If you are writing pure software driver then you will need to populate
registry from TD (some your component perhaps).

For more info use google to read old archives.

My proffered configuration is small XPE test image (less than 60 MB) with
network support.
And one batch file that uses devcon for stopping driver copying binaries and
enabling driver.

My target device is connected trough RS232 to dev machine (I had some
problems with firewire).

Besides standard switches in boot.ini for debugger setup at some point you
might find interesting
/BREAK switch.

If you need to write and install some video drivers or disk drivers I would
use for this purpose second OS on your disk for copying files from network.

Only thing you will need to do is to. Reboot to Windows with net support
copy files using the batch and reboot your device to XPE.

Very easy for testing driver changes, especially in the beginning, when you
unload still have problems.

Also if you are writing drivers especially for XPE only. And you know
specific purpose of this XPE device, you can skip many steps required for
normal XP drivers. (Although I do not recommend it) If you are limited with
time then this XPE specifics can reduce dev time.

Regards,
Slobodan




kathy said:
I know the setup for writing driver for Windows XP.

My question is:

what is the setup for writing driver for Windows XP Embedded using DDK?
Host is Windows XP professional and target is Windows XP Embedded and
everything else is same as desktop setup?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top