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  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: device support for IK342
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Sintschuk, Michael" <michael.sintschuk at bam.de>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 17 Sep 2020 16:56:44 +0000
Hi Michael,

On Sep 17, 2020, at 8:37 AM, Sintschuk, Michael via Tech-talk <tech-talk at aps.anl.gov> wrote:

Also I doubt, that the driver can be build for RTEMS because of these lines in drvIK342.c (looks more like VxWorks only):
 
* IK342_drv_init  Finds and initializes IK342 (currently assumes one card)
 * IK342_driver    interfaces to IK342, writes cmd registers, reads data
*/
 
#include <vxWorks.h>           /* defines VX_READ; STATUS - types/vxTypesOld.h */
#include <stdlib.h>            /* calloc() */
#include <logLib.h>            /* logMsg() */
#include <vme.h>               /* VME_AM_SUP_SHORT_IO */
#include <vxLib.h>             /* vxMemProbe() */
#include <dbDefs.h>            /* ->  epicsTypes.h  ->  stdio.h  ->  printf() */
#include <drvSup.h>            /* DRVSUPFUN */
#include <devLib.h>            /* devRegisterAddress() */
#include <intLib.h>            /* intLevelSet() */
 
Is there a way that I can compile these drivers for RTEMS-4.10.2?

So that driver was obviously written for VxWorks (and EPICS 3.13.8, so it’s old). However many years Eric Norum developed a document to help APS staff convert 3.13 VxWorks drivers to 3.14 using devLib, which you might find useful if you want to try that. I don’t know whether it will be helpful with Oleg’s IK342 driver, but it might. It has today’s date on it because I only just generated the PDF file, the latex document source actually dates from 2006.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.

Attachment: convert-devlib.pdf
Description: convert-devlib.pdf


Replies:
AW: device support for IK342 Sintschuk, Michael via Tech-talk
References:
device support for IK342 Sintschuk, Michael via Tech-talk
AW: device support for IK342 Sintschuk, Michael via Tech-talk

Navigate by Date:
Prev: Re: ASLO doesn't work 李刚 via Tech-talk
Next: AW: device support for IK342 Sintschuk, Michael via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: device support for IK342 Heinz Junkes via Tech-talk
Next: AW: device support for IK342 Sintschuk, Michael via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 18 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·