public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Martin Laabs <martin.laabs@mailbox.tu-dresden.de>
Cc: "ecos-devel@ecos.sourceware.org" <ecos-devel@ecos.sourceware.org>
Subject: Re: IRQ-Enable in ARM-Target (cpsr)
Date: Fri, 05 Dec 2008 22:49:00 -0000	[thread overview]
Message-ID: <4939AFC6.7030705@mlbassoc.com> (raw)
In-Reply-To: <op.ulpngxdq724k7f@localhost>

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
------------------------------------------------------------

  reply	other threads:[~2008-12-05 22:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 22:31 Martin Laabs
2008-12-05 22:49 ` Gary Thomas [this message]
2008-12-05 23:16   ` Martin Laabs

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=4939AFC6.7030705@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=martin.laabs@mailbox.tu-dresden.de \
    /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).