This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Interrupts ???
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: "Cusson, Pascal" <pascal dot cusson at analog dot com>
- Cc: Patrick Doyle <wpd at delcomsys dot com>,"'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: 07 Oct 2002 15:07:25 -0600
- Subject: Re: [ECOS] Interrupts ???
- References: <8FDC0F9BE1F91D44BE964AA54AAA67B63F6A05@wilmexm3.ad.analog.com>
On Mon, 2002-10-07 at 14:45, Cusson, Pascal wrote:
> Hi Patrick,
> I just tested your version. Unfortunately I still run in the same problem.
> When an interrupt occurs, my ecos crashes.
Most likely this happens if your ISR or DSR are not disabling the
interrupt while it's being processed. Can you tell if the ISR runs?
If so, does the DSR run?
[sorry if these are repeated questions; I was out of town last week
and didn't really keep close tabs on this mailing list]
>
> One thing I noticed, even though I include the file var_intr.h is included, my
> compiler still does not recognize the defines of that file.
>
Note: you should never include "var_intr.h" directly. The appropriate
version will be included when you include <cyg/hal/hal_intr.h>
> Do I need to include something else to use interrupts other than cyg/hal/kapi.h
> as stated in the manual ?
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss