Subject: |
sysBusTas problem |
From: |
[email protected] (Robert Belshe) |
Date: |
Sun, 24 Apr 94 16:58:48 PDT |
I am debugging an application which has two VME crates
connected by a Bit3 413-1 bus coupler. This coupler
allows processors in each VME crate to transparently access
memory which is in the other crate, and also has 2MB of
on-board memory which can be accessed by either crate.
We use EPICS 3.11.1 and vxWorks 5.1, the processors are Motorola
MVME166s and MVME167s.
I am using sysBusTas() to test semaphores in each memory
which are used to prevent access conflicts across the Bit3
coupler. This is necessary because the Bit3 is essentially
a half-duplex device.
The problem is that, occasionally, one of the tasks will get a
bus error accessing the memory on the Bit3 coupler, and at the
same time, another task will hang in _vxTas, trying
to access the semaphore in the other VME crate. _vxTas
is the kernel routine called by sysBusTas. The Bit3
documentation states that RMW instructions between the
two VME busses are supported.
If anyone else has experienced test-and-set problems,
with Motorola cpus or problems with the Bit3 bus coupler,
I would appreciate your suggestions.
Thanks,
Bob Belshe
Gammasphere Data Acquisition
- Navigate by Date:
- Prev:
Re: hkv2fs and 68060 boards winans
- Next:
Re: Tracewell crates mcgehee
- 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: hkv2fs and 68060 boards winans
- Next:
applications that use channel access Jeff Hill
- 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
|