EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CAEN V965 driver
From: Kate Feng <[email protected]>
To: "Szalata, Zenon M." <[email protected]>
Cc: EPICS Techtalk <[email protected]>
Date: Thu, 20 Nov 2008 14:32:50 -0500
Szalata, Zenon M. wrote:
I need a device driver for the CAEN V965 module, which works with vxWorks 6.x. Here at SLAC we have a device driver for this module which works with rtems only.

Thanks,
Zen

Is the driver written for EPICS 3.14.x ? If so, it should be
easy to port it to vxWorks.  It is a good idea to write a driver
for multiple platforms.  The "Application Developer's Guide"
provides a good guideline.

1) For the src/Makefile :
Copy the existing Makefile to Makefile.RTEMS.  For the vxworks
Makefile, change "PROD_IOC_RTEMS" to "PROD_IOC_vxWorks"
and take out all the RTEMS related include path.

2) For the source code under src/ :
vxworks access the I/O register via a  pointer to the address.
For example : for the long data access, which is four bytes, it does:
   volatile epicsUInt32 *reg;
    epicsUInt32 value;

    reg = (volatile epicsUInt32 *) io_address ;
   *reg = value;

while RTEMS  accesses  the I/O register via the command in_be32(  ) or
in_le32().

You can reference "synAppsRTEMS"  source code at the web site :
http://www.nsls.bnl.gov/facility/expsys/software/EPICS/
The software is meant to be ported for both RTEMS and vxWorks.

Cheers,
Kate



Replies:
Re: CAEN V965 driver Till Straumann
References:
CAEN V965 driver Szalata, Zenon M.

Navigate by Date:
Prev: Re: USE of CA lib: problem using ca_array_put_callback with strings Andrew Johnson
Next: Re: CAEN V965 driver Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CAEN V965 driver Szalata, Zenon M.
Next: Re: CAEN V965 driver Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·