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 2020 2021 2022 2023 2024 2025 | 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 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: FW: EPICS driver for SIS3302 |
From: | Till Straumann <[email protected]> |
To: | [email protected] |
Date: | Thu, 16 Jun 2011 12:31:15 -0500 |
On 06/16/2011 12:20 PM, Andrew Johnson wrote:
There is obviously a need for a VME DMA API in devLib. APS has been using one I designed here for many years, and there are tech-talk messages archiving my implementations of this for vxWorks for all 3 of the VME interface chips we use here (VMEChip2, Universe-2, Tempe). Recently Mark Rivers started using it for some of his code and now Diamond have looked at it. I believe that Till has a slightly different API for RTEMS with implementations for the Universe-2 and Tempe chips, and PSI also wrote their own but I don't know what chips or OSs that runs on.
The one I have for RTEMS is actually an adapter layer that implements your API (the one that comes in 'gtr'). IIRC there are some enhancements but the basic functionality is fully compatible with your stuff.Under the hood we can use universe or Tsi148 but that is mostly transparent to the user.
T.
I've already suggested that Michael Davidsaver add a pluggable DMA API to devLib so we can stop reinventing this particular wheel, but I know he's busy with work on NSLS-II so he might appreciate some help. If anyone discusses this topic in the future, /please/ use tech-talk (or core-talk) so others can also join in. - Andrew On 2011-06-16 Ernest Williams wrote:From: Williams Jr., Ernest L. Sent: Wednesday, June 15, 2011 10:39 PM To: Korhonen Timo; Keahey, Pelham; Hu, Yong Cc: Szalata, Zenon M.; Straumann, Till; Kim, Kukhee; [email protected]; Allison, Stephanie; [email protected]; Williams Jr., Ernest L. Subject: RE: FW: EPICS driver for SIS3302 Hi, This sounds like a great codeathon topic. Till are you interested in this as well? Can we get this kind of thing in devLib2 --> libCom ? Michael, what do you think? Cheers, Ernest ________________________________________ From: Korhonen Timo [[email protected]] Sent: Wednesday, June 15, 2011 9:47 PM To: Keahey, Pelham; Williams Jr., Ernest L.; Hu, Yong Cc: Szalata, Zenon M. Subject: RE: FW: EPICS driver for SIS3302 Hi all, sorry for the late reply. The complicated part of our driver is that we make heavy use of DMA, and we have some libraries that are on top of the vxWorks BSPs. So it unfortunately will need some work to get it to run on RTEMS; libCom did not have this support (as far as I remember). It should, though - but this is another issue. In any case we would be happy to share the driver. To understand it somebody needs to look at the vxWorks dependent part, to be able to replicate the API functions in RTEMS. best regards, Timo