Maxime,
You may want to try the COMEDI drivers (http://stm.lbl.gov/comedi). They
are a set of drivers for data acquisition boards and they take care of the
really nitty gritty of talking to the boards. Also, they are RT-Linux
compatible/aware.
Their API is nice and neat and they even have a kernel api that is nearly
identical to the user-space API (meaning you can write non-rtl code in
userland to test an idea then easily port it to a kernel module as an RT
task).
-Calin
On Wed,
19 Sep 2001, Maxime Brunet wrote:
> Hi everyone,
>
> I'm trying to write code that will get values from my diamond systems io
> board from rtlinux. Right now, all I really want is to initialise the board
> so that I can go and read a couple of voltages on 1 of its pins.
>
> We are working with a jumptec PC-104 and the io board is a dmm-32-at from
> diamond systems. Our pc runs on Red Hat 7.0 with the 2.2.18-rtl patched
> kernel and the rtlinux 3.0 libraries.
>
> We looked around for information about this and found some info on using
> vremap for this type of operations ( i.e accessing the io card from a rt
> thread ... though we can't seem to find the vremap function anywhere). We
> also tried accessing it with insb and outb to no success. This is all new for
> us: we are starting to get comfortable with linux itself but linux, rtlinux
> and kernel programming are all new to us.
>
> Here's my question: Does anyone have any experience working with the board (
> or similar boards ) and rtlinux. Could anyone point me out to some code or
> ressources that would help us run the thing and better understand how it
> works. Could anyone that has worked with all rtlinux and the io board give us
> a couple of pointers on how to work with such material and so on?
>
> Thank you for your time,
>
> Maxime Brunet
> Phobos project
> Sherbrooke, Canada
> [EMAIL PROTECTED]
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/