EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: GSOctal 232 reboot problem
From: "Bob Dalesio" <[email protected]>
To: "Woods, PD (Paul)" <[email protected]>, "Epics Tech Talk (E-mail)" <[email protected]>
Date: Fri, 17 Jan 2003 08:03:09 -0800
Way back in the day, I had a similar problem with the Allen-Bradley 6008SV communicating to the remote I/O. It was caused by pending interrupts at the time of the reboot. If you disable interrupts in a rebootHookAdd routine and wait some small amount of time, the interrupts should clear. (If this is a similar problem that is)
Bob


On Fri, 17 Jan 2003 14:49:14 -0000
 "Woods, PD (Paul)" <[email protected]> wrote:
Hi,

I am trying to interface a PLC to EPICS using the DF1 serial comms protocol
with a GreenSpring GSOctal RS232 IP module on a Hytec HY8002 carrier board.
Everything seems to work fine until I need to reboot the IOC. If I use a
soft reboot (ie 'reboot' command or CTRL-X from a terminal) VxWorks will
fail during bootup with a workQPanic and attempt a reboot and I'm stuck in a
loop. However a hardware reset reboots normally and the IOC then runs
happily.


Our current theory is that something (the GSOctal card?) is not reset
correctly with a soft reboot and as the PLC continues to transmit after the
comms are lost, the GSOctal card continues to send interrupts. As soon as
the drivers are loaded, but before they are initialised, an interrupt is
sent, causing VxWorks to workQPanic and reboot.


I am about to do some hardware checking of the reset line to confirm this,
but has anyone else seen this problem? do you have an explanation for it and
is there a solution/workaround?


Regards

Paul Woods
Diamond Project UK

Bob Dalesio [email protected] 410 557 0297 Maryland 505 667 3414 Los Alamos 505 699 1632 Cell Phone 505 667 6087 Our Secretary (Lisa Marie)

References:
GSOctal 232 reboot problem Woods, PD (Paul)

Navigate by Date:
Prev: RE: PowerPC woes Andy Foster
Next: Acromag IP Support Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: GSOctal 232 reboot problem Woods, PD (Paul)
Next: Acromag IP Support Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·