public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Christoph Csebits <christoph.csebits@frequentis.com>
To: Gary Thomas <gthomas@redhat.com>
Cc: ecos-discuss@sources.redhat.com,
	"fche@redhat.com" <fche@redhat.com>,
	Doug Fraser <dfraser@photuris.com>
Subject: Re: [ECOS] Hardware Watchdog
Date: Thu, 26 Jul 2001 09:20:00 -0000	[thread overview]
Message-ID: <20010726181816.A22820@frequentis.com> (raw)
In-Reply-To: <XFMail.20010726094929.gthomas@redhat.com>

On Thu, Jul 26, 2001 at 09:49:29AM -0600, Gary Thomas wrote:
> 
> On 26-Jul-2001 Christoph Csebits wrote:
> > Nevertheless my watchdog is not
> > software controlled. :-|
> > 
> 
> What happens when your watchdog fires?   

the MPCs reset lines are pulled accordingly
to do an hard reset. no way to catch it. :-)

> Fixing this may be hard.  Within RedBoot, there is a notion of "idle"
> routines which will be called while RedBoot waits.  However, once the
> GDB stubs start running, all of that stops and everything is simply
> polled based on the serial port.

I have a running version of RedBoot, but as i told, from
time to time i am running into a loop, and the board resets.
Then i start to locate the loop and fix it.

The best solution may be a timer interrupt routine
with detaching the interrupt when starting an application.
(Someone mentioned it earlier, thanks to him
- i lost the mail and do not remember the name)

Is it the right way to do it with
cyg_drv_interrupt_create( );
cyg_drv_interrupt_attach( );
cyg_drv_interrupt_acknowledge( );
cyg_drv_interrupt_unmask( );
:

  reply	other threads:[~2001-07-26  9:20 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-26  7:27 Doug Fraser
2001-07-26  7:51 ` Christoph Csebits
2001-07-26  8:50   ` Gary Thomas
2001-07-26  9:20     ` Christoph Csebits [this message]
2001-07-26  9:25       ` Gary Thomas
2001-07-26 11:30       ` Robin Farine
2001-07-26 23:26         ` Christoph Csebits
2001-07-26 23:57           ` Robin Farine
2001-07-27  1:28             ` Christoph Csebits
2001-07-27  1:50               ` Robin Farine
2001-07-27  2:50               ` [ECOS] RedBoot RAM version problem Andre Sebastien
2001-07-27  3:35                 ` Jesper Skov
2001-07-27  5:20                   ` Andre Sebastien
2001-07-27  6:20                     ` Jesper Skov
2001-07-27  7:30                       ` Andre Sebastien
2001-07-27  7:54                         ` Gary Thomas
2001-07-30  1:38                           ` Andre Sebastien
2001-07-30  1:57                             ` Jesper Skov
2001-07-30  2:29                               ` Andre Sebastien
2001-07-30  3:03                                 ` Jesper Skov
2001-07-30  3:07                                   ` Andre Sebastien
  -- strict thread matches above, loose matches on Subject: below --
2001-07-26 13:21 [ECOS] Hardware Watchdog Doug Fraser
2001-07-26 10:02 Doug Fraser
2001-07-26 10:13 ` Gary Thomas
2001-07-26  3:55 Christoph Csebits
2001-07-26  4:58 ` fche

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=20010726181816.A22820@frequentis.com \
    --to=christoph.csebits@frequentis.com \
    --cc=dfraser@photuris.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=fche@redhat.com \
    --cc=gthomas@redhat.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).