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]

Re: eCos interrupt programming (on SA1100)


"Andreas Bürgel" <Andreas.Buergel@web.de> writes:

> ...
>   cyg_interrupt_attach ( lIntrHandle);
>   

If your configuration does not define CYGIMP_KERNEL_INTERRUPTS_CHAIN, this
triggers an assertion failure. So I suspect that your kernel uses interrupt
chaining.

The eCos system clock ISR binds to this same vector, but with a higher priority
than yours, and since it returns
        Cyg_Interrupt::CALL_DSR|Cyg_Interrupt::HANDLED,
your ISR will never get called.

Robin


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