public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Board is hanging running for long duration
@ 2007-05-31 10:51 Neeraja
  2007-05-31 21:07 ` Sergei Gavrikov
  0 siblings, 1 reply; 2+ messages in thread
From: Neeraja @ 2007-05-31 10:51 UTC (permalink / raw)
  To: ecos-discuss


Hi,
  
   I am working on at91rm9200 board.Ecos application is running fine but
after running for more than 1 day board is hanging.I could see in
hyperterminal it is coming to the hal_arch_default_isr( )  function with the
interrupt number 1 after the board got hanged.Ethernet interrupt and IRQ0
interupt and two alaram timers  one with one sec and the other with 8 sec
intervals are being used in the application.Could the cause of this can be
spurious interrupt or can any one suggest me what could be the cause for
such behaviour?

Thanks,
Neeraja.

-- 
View this message in context: http://www.nabble.com/Board-is-hanging-running-for-long-duration-tf3844647.html#a10887747
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Board is hanging running for long duration
  2007-05-31 10:51 [ECOS] Board is hanging running for long duration Neeraja
@ 2007-05-31 21:07 ` Sergei Gavrikov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Gavrikov @ 2007-05-31 21:07 UTC (permalink / raw)
  To: Neeraja; +Cc: ecos-discuss

Neeraja wrote:
> 
> Hi,
>   
>    I am working on at91rm9200 board.Ecos application is running fine but
> after running for more than 1 day board is hanging.I could see in
> hyperterminal it is coming to the hal_arch_default_isr( )  function with the
> interrupt number 1 after the board got hanged.Ethernet interrupt and IRQ0
> interupt and two alaram timers  one with one sec and the other with 8 sec
> intervals are being used in the application.Could the cause of this can be
> spurious interrupt or can any one suggest me what could be the cause for
> such behaviour?

1. _Seek_ through out the discuss-list and even _grep_ ecos sources
(whole tree) about spurious interrupts report. You will found there the
good bits.

2. Usually, the 'spurious interrupt report' is an issue of bad worked
(or designed) hardware. If there is no man which use same target and cry
about, that means, your hardware fails. Sometimes, some random event
occurs (say, it's a "noise" that can "induct" such event).

3. Run your "a few days in long" test with eCos tracing enabled (to
increase the trace buffers will be a good idea)

cdl_option CYGPKG_INFRA_DEBUG {user_value 1};
cdl_option CYGDBG_USE_TRACING {user_value 1};

4. Well, that occurs. You have a report, you see a chain and you think,
It isn't possible... To ignore such interrupts is a very _bad_ practice.
But, in the some exceptional cases, you can clever (or stupid?) handle
that event without of stop of the application.  Certainly, if there
won't be a whole storm of such events there.

Sergei


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-31 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-31 10:51 [ECOS] Board is hanging running for long duration Neeraja
2007-05-31 21:07 ` Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).