This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: spurious interrupt occuring for no apparent reason
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Subject: RE: [ECOS] spurious interrupt occuring for no apparent reason
- From: "Trenton D. Adams" <tadams at theone dot dnsalias dot com>
- Date: Thu, 13 Sep 2001 10:40:31 -0600
- Cc: "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
Apparently I never replied to this! :(
The main problem is that I never know when one of these is going to
happen because it's only happened twice since I've been using eCos. So,
it's a very rare problem which is extremely hard to reproduce.
-----Original Message-----
From: jlarmour@cambridge.redhat.com
[mailto:jlarmour@cambridge.redhat.com] On Behalf Of Jonathan Larmour
Sent: Thursday, September 06, 2001 2:20 PM
To: Trenton D. Adams
Cc: 'eCos Discussion'
Subject: Re: [ECOS] spurious interrupt occuring for no apparent reason
"Trenton D. Adams" wrote:
>
> Something very odd is happening then. From what I understand, EINT3
has
> to occur all the time because I'm sending/receiving data all the time.
> So, the fact that I would be receiving an interrupt only rarely is
> EXTREMELY unlikely because my program seems to work fine.
>
> This spurious interrupt has only occurred twice in the entire time
I've
> been using this board. It seems that it might be a synchronization
> problem somewhere within eCos. Possibility, considering what I've
said
> so far?
Not really: the interrupt handler is set up at startup time, with no
real
scope for sync problems.
Perhaps the ISR table is getting scribbled on with NULLs? If you can set
a
breakpoint on cyg_assert_fail and reproduce the problem you can then
debug
your app to see what the state of the system is at the time.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062
Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine