EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: ISEG VHQ204L Driver
From: Kay-Uwe Kasemir <[email protected]>
To: "'ahed aladwan'" <[email protected]>
Cc: "EPICS-tech-talk" <[email protected]>
Date: Wed, 24 Jul 2002 11:10:35 -0600
Hello:

Some remarks on "cashing" w/ PPC boards and the universe-II chip.

I had problems within interrupt service routines on MVME2100 CPUs.
The ISR contained several VME reads and writes
to determine the cause of the interrupt and then clear it.

On the backplane analyzer, those "writes" sometimes showed up
with huge time intervals between them.
So the "clear interrupt" reached the board with a long delay.

Dave Thompson (ORNL) helped with the following.

The assumption was: The UniverseII chip keeps writes 
in a pipeline instead of flushing them to the VME bus.
And yes: There is no obvious "disable pipelining" register
on the Universe II.

This looks paranoid, but now my ISR seems to function all the time:
1) #define SYNC __asm__ volatile ("sync")
   then "SYNC" after writes to assert that
   the commands actually leave the CPU.
2) At the end of the ISR, add a dummy "read" to the addres
   of the last "write". That seems to flush the Universe-II write pipeline.

Thanks,
-Kay



At 09:42 AM 7/24/2002, Jeff Hill wrote:
>Also, make certain that your vxWorks BSP is configuring the MMU to turn
>off caching for device address spaces.
> -----Original Message-----
>> From: ahed aladwan [mailto:[email protected]]
>> according to Tundra
>> (universe chip, PCI - VME bridge) it is not possible to disable
>address
>> pipelining.



Replies:
Re: ISEG VHQ204L Driver J. Frederick Bartlett ([email protected])
References:
Re: ISEG VHQ204L Driver ahed aladwan
RE: ISEG VHQ204L Driver Jeff Hill

Navigate by Date:
Prev: RE: ISEG VHQ204L Driver Jeff Hill
Next: Re: buiding GDCT Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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: ISEG VHQ204L Driver Jeff Hill
Next: Re: ISEG VHQ204L Driver J. Frederick Bartlett ([email protected])
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  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 ·