Re: LPC bus drive for windows CE 6



It's an architectural question. For a 'real' bus, where different devices
can be connected, think USB or PCI, you'd usually want to have a bus driver,
which would know how to figure out what's plugged into the bus, what
interrupts are available, where the hardware will be mapped in the memory
map, etc. and will cause the actual driver for each device found on that bus
to be loaded.

In this case, if this FPGA will always be there and nothing else ever will,
there's no real reason to build a bus driver. Because of that, you'll
probably simply create a suitable driver (again, knowing that it's an FPGA
is not of *any* help to tell you what sort of a driver you need), add
appropriate registry entries to your device to load the driver as a BuiltIn
driver, etc. Any 'stream interface driver' sample *might* be useful as a
sample, but without knowing what the FPGA does, we can't say what you should
do for sure.

Paul T.

"Loz" <mauro.aleottiNOSPAM@xxxxxxxxxx> wrote in message
news:g0s8s5$p7r$1@xxxxxxxxxxxxxx
Thanks for your answer,

The device on the LPC bus is a generic FPGA. So I have to read and write a
set of FPGA registers. Do you think that reading PCI samples driver can
help me?

L


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> ha scritto nel messaggio
news:OpzaZRcuIHA.5096@xxxxxxxxxxxxxxxxxxxxxxx
There aren't going to be any examples for that specific bus. I don't
know anything about the bus architecture, either, but you can look at how
the PCI bus is handled in the Windows CE source code to see what you can
do. As for the driver for the specific device, that will depend on what
sort of device it is. If it's a display adapter, it should be clear that
reading a sample network driver isn't of any value. If it's just some
random device that wouldn't have a standard driver type for Windows CE
(not display, not network, not keyboard or mouse, not serial, etc.), then
you can look at any 'stream interface driver' and get an idea of what
sort of things you might do.

Paul T.

"Loz" <mauro.aleottiNOSPAM@xxxxxxxxxx> wrote in message
news:g0s0d3$lja$1@xxxxxxxxxxxxxx
Hi,

I'm new to windows CE. I have got a board based on Intel Celeron with
the LPC Bus. I have to write a driver for a custom device on the LPC
bus. Where I can find some exemples and/or hints?

regards

L








.



Relevant Pages

  • Re: Nvidia MCP55 Machine reboots on ixgb driver load
    ... There are some serious hardware compatibility issues with the ixgb mixing it with other cards on the same PCI-X bus, ... loading the driver with debug does not appear to produce ... 02:00.0 PCI bridge: NEC Corporation uPD720400 PCI Express - PCI/PCI-X Bridge ... ACPI: Power Button ...
    (Linux-Kernel)
  • EXT3 causes system crash using dvgrab...
    ... the grabbing proceedure quits with a "bus error". ... PCI: PCI BIOS revision 2.10 entry at 0xfb5a0, ... PCI Interrupt Link enabled at IRQ 10 ... Serial driver version 5.05c with HUB-6 MANY_PORTS MULTIPORT ...
    (comp.os.linux.development.system)
  • Sound stopped working a month ago!
    ... bus master, 66MHz, fast devsel, latency 64 ... bus: PCI ... driver: intel-rng ... deviceId: 244e ...
    (comp.os.linux.misc)
  • dazu die /var/log/dmesg
    ... ACPI: Looking for DSDT ... ... ACPI: bus type pci registered ... RAMDISK driver initialized: 16 RAM disks of 65536K size ...
    (de.comp.os.unix.apps.kde)
  • Re: PCI FPGA Dev Board Suggestions
    ... without resorting to National Instruments cards (including their FPGA ... It seems that most FPGA PCI boards are tailored to embedded ... PCI33 bus you can use without having to concern yourself with other ... The driver is another problem. ...
    (comp.arch.fpga)