public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Laurie Gellatly" <laurie.gellatly@netic.com>
To: "'eCos discuss-list'" <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] LPC2XXX watchdog feeds and interrupts
Date: Mon, 26 Oct 2009 09:58:00 -0000	[thread overview]
Message-ID: <005101ca5622$d9bf4c30$8d3de490$@gellatly@netic.com> (raw)
In-Reply-To: <20091025132007.GA4436@sg-laptop>

Hi All,
I using an ARM 7 (LPC2212) based on an eCosCentric build. It appears that
watchdog feeds are done with interrupts enabled yet the NXP manual
warns against leaving interrupts enabled during a feed sequence (and I'm
pretty sure I've seen the consequences).
Firstly, have I missed something? Are interrupts disabled and I just don't
see where when I call watchdog_reset() 
OR
should I be adding cyg_interrupt_disable() and cyg_interrupt_enable() calls
around the feed sequence in watchdog_lpc2xxx.cxx

Thanks			...Laurie:{)



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

  parent reply	other threads:[~2009-10-26  9:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19  9:32 [ECOS] RedBoot image for Olimex LPC-E2294 peter_lanius
2009-10-19 10:42 ` Sergei Gavrikov
2009-10-19 11:42   ` peter_lanius
2009-10-19 13:47     ` Sergei Gavrikov
2009-10-24  9:37       ` [ECOS] RedBoot loading eCOS examples causes PC reboot peter_lanius
2009-10-24 12:38         ` Sergei Gavrikov
     [not found]           ` <738229.12555.qm@web51906.mail.re2.yahoo.com>
2009-10-25 13:20             ` Sergei Gavrikov
2009-10-25 16:04               ` Sergei Gavrikov
2009-10-26  9:58               ` Laurie Gellatly [this message]
2009-10-30 13:51                 ` [ECOS] Using openssl for HTTPS Laurie Gellatly
     [not found]                 ` <46171.9697145329$1256910809@news.gmane.org>
2009-10-30 14:20                   ` [ECOS] " Kelvin Lawson
2009-10-30 21:39                     ` Laurie Gellatly
     [not found]                     ` <26103.8444740281$1256938790@news.gmane.org>
2009-11-02  8:58                       ` Kelvin Lawson
2009-11-02 10:22                         ` Laurie Gellatly
2010-02-04 17:45                     ` [ECOS] pthread_kill return value Jay Foster
2010-02-08 12:36                       ` Bart Veer
2009-10-27  6:11               ` [ECOS] RedBoot loading eCOS examples causes PC reboot peter_lanius
2009-10-24 13:21         ` [ECOS] " Grant Edwards
2009-10-26 20:40 [ECOS] LPC2XXX watchdog feeds and interrupts Sergei Gavrikov
2009-10-26 21:05 ` Laurie Gellatly
2009-10-26 21:34   ` Sergei Gavrikov

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='005101ca5622$d9bf4c30$8d3de490$@gellatly@netic.com' \
    --to=laurie.gellatly@netic.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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).