Hi Ernest,
On 11/30/2016 04:11 AM, Williams Jr., Ernest L. wrote:
> The good news is we found support for the Acromag IP520 in ipac 2.14 for vxWorks.
Thanks to Run Sluiter who wrote it and donated it to IPAC.
> However, we need a version for RTEMS. Has anyone already provided support
> for RTEMS?
Ron's group don't use RTEMS so he has no reason to work on that — yours
is the first group to ask for it.
> The IP520 module could be used not only on a VME Acromag Carrier with VxWorks
> but the following example combinations are also possible:
> (1) Acromag VME IP Carrier, running RTEMS
> (2) Acromag PCIe IP Carrier, running Linux
> (3) Hytec uTCA IP Carrier, running Linux
> (4) There are also other combinations.
Serial drivers are very closely tied to the operating system they
support, which is why there is a separate tyGSOctal_RTEMS.c driver
(developed by Eric Norum from the original VxWorks driver) instead of
trying to combine both the VxWorks and RTEMS drivers into a single
source file. A Linux driver would be a very different beast again, and
it probably wouldn't be appropriate to try to include that in the IPAC
module.
> I am hoping that we can instead make this an OSI implementation for IP520?
> What is the recommended approach for future IP Octal support?
Writing an asynPortDriver interface like Liwen Feng describes is
probably the only way to have a single IP Module driver support multiple
operating systems since each OS has a different interface to its serial
layer. The OS TTY layer usually adds support for things like XON/XOFF,
echo and line editing though, and Liwen didn't say how much of that he
has implemented.
I think the simplest solution for the IP520 on RTEMS would be for
someone to bite the bullet and convert Ron's driver to interface to the
RTEMS OS interface. They can use the tyGSOctal as a model for that
conversion if necessary.
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- References:
- RTEMS Support in IPAC 2.14 for Acromag IP520? Williams Jr., Ernest L.
- Navigate by Date:
- Prev:
Re: EPICS Base Release-Candidate Double Feature! Ralph Lange
- Next:
Re: SNL sequencer apparently losing connection to underlying network Benjamin Franksen
- 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
- Navigate by Thread:
- Prev:
RE: RTEMS Support in IPAC 2.14 for Acromag IP520? Williams Jr., Ernest L.
- Next:
sscan module difficulties with EPICS 3.15 base Carl Willis
- 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
|