From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene.Affourtit@pemstar.nl To: Gary Thomas Cc: ecos-discuss@sourceware.cygnus.com, gary@ares.chez-thomas.org Subject: RE: [ECOS] Threading on EDB7211 Date: Mon, 19 Jun 2000 05:24:00 -0000 Message-id: X-SW-Source: 2000-06/msg00186.html I modified the code to let ecos cooperate with the angel debugger. this dates back to the time gdb, cygwin and angel didn't cooperate (problem is fixed in cygwin 1.1, I haven't tested it, but I haven't heard complaints either). What I do in the interrupt handler is I check for interupts from uart2 (and some checks to see if angel is currently running) and let these be handled by angel. It turns out angel doesn't acknowledge a transmit interrupt for uart2. So, once a Tx interupt was set all interupts got handled by angel including the timer interrupts. Solution? don't let angel handle this interupt or make sure it is acknowleged. Gary Thomas cc: ecos-discuss@sourceware.cygnus.com Sent by: Subject: RE: [ECOS] Threading on EDB7211 gary@ares.chez- thomas.org 06/19/00 02:06 PM On 19-Jun-00 Rene.Affourtit@pemstar.nl wrote: > > Thanks for the hint, > > but as it turned out my problem was caused by a modification I made in > vectors.s which caused that no interupts were handled by ecos at all. > It's strange how two very different problems can have the same symptoms. > Sorry to have bothered you all with something that was entirely my own > fault. > No need to apologize (just don't do it again :-) This mailing list is supposed to be a forum where ideas and questions can be posted and hopefully resolved. Even if the problem was your fault, asking it here let's everyone who uses eCos about it. When a solution is found, we all hear about it as well and can benefit from the experience. Just for grins - what did you change in vectors.S, why did you do it and what did you do wrong? [Just for pedagogic enlightment :-) ]