Re: LPC bus drive for windows CE 6



From the SW perspective you should simply see the FPGA registers mapped
somewhere in the memory space
or in the I/O space (one of the goal of LPC was to replace the ISA bus). The
LPC interface should usually configured
by the BIOS according to the specific chipset: for example, in the i815
chipset the ICH2 has a PCI function which
is a LPC bridge: it has several registers that you can configure
--

Luca Calligaris
www.eurotech.it

"Loz" <mauro.aleottiNOSPAM@xxxxxxxxxx> ha scritto nel messaggio
news:g0tt8v$ela$1@xxxxxxxxxxxxxx
I have got a real bus because un the LPC I have got some devices. It is a
"static" bus because all the present devices will be always in the same
place (address, interrupt....). The FPGA get/set data from external devices
and allow the user application that runs on the windows CE 6 to get/set
this data using the LPC bus. So I have to read/write FPGA register through
the LPC BUC. What do you think about ?

L


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> ha scritto nel messaggio
news:ec%23kx4cuIHA.1236@xxxxxxxxxxxxxxxxxxxxxxx
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: 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)
  • Re: LPC bus drive for windows CE 6
    ... I have got a real bus because un the LPC I have got some devices. ... So I have to read/write FPGA register through the ... etc. and will cause the actual driver for each device found on ...
    (microsoft.public.windowsce.embedded)
  • Re: LPC bus drive for windows CE 6
    ... For a 'real' bus, where different devices ... can be connected, think USB or PCI, you'd usually want to have a bus driver, ... In this case, if this FPGA will always be there and nothing else ever will, ... Do you think that reading PCI samples driver can ...
    (microsoft.public.windowsce.embedded)
  • How to access a device on LPC bus?
    ... I have a Winbond W83L518D card reader controller in a notebook that I want ... As far as I have read, the LPC bus devices can accessed just like ISA ... Now, to implement an identify function in a driver for this, I need to ...
    (freebsd-hackers)
  • Re: [PATCH 0/13] Time: Generic Timeofday Subsystem (v B10)
    ... bus type 'platform' registered ... Registering sysdev class '' ... device class 'pci_bus': registering ... usbcore: registered new driver usbfs ...
    (Linux-Kernel)