public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Paul D. DeRocco" <pderocco@ix.netcom.com>
To: "eCos Discuss" <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] How to Disable FIQ on AT91 (eg EB40A)
Date: Mon, 16 May 2005 09:47:00 -0000	[thread overview]
Message-ID: <NEBBKHCFDGIGIJEHDJFCIEGEOOAA.pderocco@ix.netcom.com> (raw)
In-Reply-To: <42882BFB.3020909@elands.co.nz>

> From: Keith Ross (E-Lands)
>
> I have noise on my unused FIQ pin and no handler, so my stack keep full,
> etc when I run my app but ok when single step. The question is how do I
> disable FIQ or what do I do to intall a safe handler.

Set bit 6 in the CPSR. (This cannot be done in user mode.)

I don't understand why you'd get stack overflow, though. When an FIQ is
handled, it automatically masks further FIQ interrupts until the handler
returns, so the interrupts can't nest unless you explicitly reenable FIQ
inside the handler.

In the long run, you should really tie off the FIQ pin. Floating CMOS inputs
are not a Good Thing.

--

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.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

  reply	other threads:[~2005-05-16  5:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16  7:30 Keith Ross (E-Lands)
2005-05-16  9:47 ` Paul D. DeRocco [this message]
2005-05-16 10:09 ` [ECOS] "!!!-- Configuration broken - no scheduler selected --!!!" Erik Christiansen

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=NEBBKHCFDGIGIJEHDJFCIEGEOOAA.pderocco@ix.netcom.com \
    --to=pderocco@ix.netcom.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).