From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30813 invoked by alias); 16 May 2005 05:26:25 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 30797 invoked from network); 16 May 2005 05:26:21 -0000 Received: from unknown (HELO smtpauth09.mail.atl.earthlink.net) (209.86.89.69) by sourceware.org with SMTP; 16 May 2005 05:26:21 -0000 Received: from [70.33.96.36] (helo=PAULD) by smtpauth09.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1DXY7R-0001Qd-3N for ecos-discuss@ecos.sourceware.org; Mon, 16 May 2005 01:26:21 -0400 From: "Paul D. DeRocco" To: "eCos Discuss" Date: Mon, 16 May 2005 09:47:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-reply-to: <42882BFB.3020909@elands.co.nz> X-ELNK-Trace: bd7d5d4e6f8f652c74cfc7ce3b1ad11381c87f5e51960688eae385b85d1e373c4019f6573c6f555c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: RE: [ECOS] How to Disable FIQ on AT91 (eg EB40A) X-SW-Source: 2005-05/txt/msg00202.txt.bz2 > 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