From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7590 invoked by alias); 5 Dec 2008 22:49:30 -0000 Received: (qmail 7580 invoked by uid 22791); 5 Dec 2008 22:49:29 -0000 X-Spam-Level: * X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hermes.mlbassoc.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Dec 2008 22:48:54 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 928B33B52785; Fri, 5 Dec 2008 15:48:38 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on hermes.chez-thomas.org Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 44B0B3B5265B; Fri, 5 Dec 2008 15:48:38 -0700 (MST) Message-ID: <4939AFC6.7030705@mlbassoc.com> Date: Fri, 05 Dec 2008 22:49:00 -0000 From: Gary Thomas User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Martin Laabs CC: "ecos-devel@ecos.sourceware.org" Subject: Re: IRQ-Enable in ARM-Target (cpsr) References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-12/txt/msg00004.txt.bz2 Martin Laabs wrote: > Hi, > > I'm currently searching the bug that prevents the STRG-C break of > the GDB stub. (LPC2294) I discovered that the (global) IRQ-Disable > bit in the cpsr register is set. Because of that the STRG-C interrupt > of the debug channel is unable to occure. > I searched in the whole code but did not found the part where this > IRQ-Disable bit (bit 7) is cleared. > Maybe you have a hint for me? Where should I add the patch for that? > In the cyg_hal_plf_serial_init() function? (The HAL_INTERRUPT_(U)MASK > functions work only with the interrupt controller) > Whats about the other packages that uses the interrupts? (I currently > use the minimal config to search the bug.) Where and when do they disable > the global interrupt-disable flag? This normally happens when you start running threads (call the scheduler). What sort of program are you trying to run (and use interrupts)? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------