This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interrupts ???


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]