This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: spurious interrupt occuring for no apparent reason


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]