hi all
can anyone give me some clues where to start?

I need a minimal demo project to create a PCI driver .
my debugger is supported with ethernet basd debugger
connected to the Embedded visual c++ (win CE 4.2)

every time I write to the PCI controll registers the debugger hangs.

can I read all the registers of the PCI to try and understand the
valid configuration of PCI to support the debugger???

tX
ori

Re: develop a PCI driver for INTEL IXDP 425 with winCE 4.2 using eVC by Luca

Luca
Tue Apr 15 06:08:49 PDT 2008

there are several PCI driver samples under DRIVERS dir in WINCE; the PCI bus
driver will populate the registry
with info about bus/device/function, INT, IRQ, BAR for the devices on the
bus if you provide a template registry.
structure for your device. You can write a simple stream interface driver:
the device manager will pass you a registry
key by which you can access the info I listed above. Then you can use
HalGetBusDataByOffset / HalSetBusDataByOffset
to access PCI configuration space for your device. you can take a look at
http://msdn2.microsoft.com/en-us/library/aa931223.aspx.


--

Luca Calligaris
www.eurotech.it

"Group Manager" <kovacsiO@gmail.com> ha scritto nel messaggio
news:c99e97f8-bca0-4f8e-9e0e-78272b439f61@e39g2000hsf.googlegroups.com...
> hi all
> can anyone give me some clues where to start?
>
> I need a minimal demo project to create a PCI driver .
> my debugger is supported with ethernet basd debugger
> connected to the Embedded visual c++ (win CE 4.2)
>
> every time I write to the PCI controll registers the debugger hangs.
>
> can I read all the registers of the PCI to try and understand the
> valid configuration of PCI to support the debugger???
>
> tX
> ori