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
<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: ISEG VHQ204L Driver Jeff Hill
- Next:
Re: ISEG VHQ204L Driver J. Frederick Bartlett ([email protected])
- 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
|