EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: VME Bus Error handling on MVME3100 and MVME6100 boards
From: Andrew Johnson <[email protected]>
To: Kate Feng <[email protected]>
Cc: [email protected]
Date: Fri, 08 Sep 2006 10:51:38 -0500
Kate Feng wrote:
Andrew Johnson wrote about mvme6100:

The only sure-fire way around this problem is to check
the Tempe chip's VMEbus Exception Attributes Register after every
write operation and every read that returns an all-1s bit pattern

Just a clarification: Should'nt most applications be terminated upon bus error ?

Yes; this discussion is about how to actually do that in a way that catches the right task and provides a pointer to the code that failed so that engineers and technicians can track down problems quickly.


For those applications, it seems that the overhead for the
VME read/write is necessary to be considered only inside
the related ISRs or in the related non-ISR routines where
the interrupt has to be disabled, which is rare.

Actually I don't think it's that rare. I have counted something like 30 calls to the vxWorks intLock() routine in our R3.13.10 support module area, most of which are protecting code that manipulates at least one card register over the VMEbus while the lock is held. In addition I counted 79 calls to intConnect(), and most of those ISRs will be manipulating VME card registers.


Every one of those drivers must be examined and may have to be modified if we decide to use a Tempe-based CPU board here. That's a lot of work!

The PCIbus Retry and Disconnect cycle terminations that you discussed do not actually stop the data transfer cycle completely, they only permit it to be run again or to take longer to complete than a regular PCIbus single I/O cycle.

- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger

Replies:
Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng
Re: VME Bus Error handling on MVME3100 and MVME6100 boards Till Straumann
References:
Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng
Re: VME Bus Error handling on MVME3100 and MVME6100 boards Andrew Johnson
Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng
Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng

Navigate by Date:
Prev: Re: Looking for an IOC for Wiener PL512 Bertrand H.J. Biritz
Next: Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng
Next: Re: VME Bus Error handling on MVME3100 and MVME6100 boards Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  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 ·