Hello,
I use ATC40 PC ISA board as a carrier for IP modules. The OS is vxWorks. The
original software (a new EPICS record, corresponding record and device
supports, a hardware driver) was written for EPICS 3.13 beta11 and it works
under this version without problems.
My IP module has two interrupts. The peculiarity of interrupt usage is that
it is necessary to write a zero (disable) followed by a one (enable) to
INTERRUPT_EN register to generate a low to high transition for other pending
IP interrupts after the current interrupt service routine is exited.
So the problem is the following:
- when I port my code to final EPICS release (3.13.1) and run it on PC, I
get a crash during the first interrupt appearance even without any
diagnostic message (but it works with MVME162);
- if throw writing 0 (disable) to INT_EN register out of the ISR, no chances
to process second interrupt, but there is no crash;
- if I download everything from final EPICS release EXCEPT driver (the code
is absolutely the same) which I take from beta 11, it works!
A note: a driver object file from beta11 is about five times bigger than one
from 3.13.1 (the same code and compiler). This is not usual for other
architectures (for example, mv162/cc68k).
Could anyone explain this behaviour? Thanks in advance.
Alexei.
- Replies:
- RE: ATC40 & R3.13.1 Jeff Hill
- Navigate by Date:
- Prev:
DBF_GBLCHOICE, etc Robert Willson
- Next:
RE: ATC40 & R3.13.1 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
- Navigate by Thread:
- Prev:
DBF_GBLCHOICE, etc Robert Willson
- Next:
RE: ATC40 & R3.13.1 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
|