This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eCos interrupt programming (on SA1100)
- To: "Andreas Bürgel" <Andreas dot Buergel at web dot de>
- Subject: Re: [ECOS] eCos interrupt programming (on SA1100)
- From: Robin Farine <acnrf at dial dot eunet dot ch>
- Date: 07 Jun 2001 14:35:59 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <200106061937.f56Jb0800442@mailgate3.cinetic.de>
"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