This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
RE: Threading on EDB7211
- To: Gary Thomas <gthomas at redhat dot com>
- Subject: RE: [ECOS] Threading on EDB7211
- From: Rene dot Affourtit at pemstar dot nl
- Date: Mon, 19 Jun 2000 14:23:53 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com,gary at ares dot chez-thomas dot org
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
<gthomas@redhat To: Rene.Affourtit@pemstar.nl
.com> 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 :-) ]