public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Sergei Gavrikov <w3sg@SoftHome.net>
To: Neeraja <neeraja.kothala@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Board is hanging running for long duration
Date: Thu, 31 May 2007 21:07:00 -0000	[thread overview]
Message-ID: <20070531194221.GA5749@ubuntu> (raw)
In-Reply-To: <10887747.post@talk.nabble.com>

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

      reply	other threads:[~2007-05-31 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31 10:51 Neeraja
2007-05-31 21:07 ` Sergei Gavrikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070531194221.GA5749@ubuntu \
    --to=w3sg@softhome.net \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=neeraja.kothala@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).