Re: Interrupt chain using giisr by Valter
Valter
Mon Feb 04 09:14:53 PST 2008
"Paolo Alberto Cremonese" <cremonese@teledata-i.com> wrote in
news:uuXnwz0ZIHA.5164@TK2MSFTNGP03.phx.gbl:
> Hi all,
> i have trouble using interrupt chain by giisr.
> In my system there are two identical devices which share the same
> interrupt. If I enable interrupts on only one device, it works
> fine, but when I enable interrupts on both devices, an interrupt
> storm hangs the OS (WinCE 5.0) Any suggestion?
How did you configure GISR address and mask?
If you don't configure it correctly a device may report an interrupt
request when the other device is requesting it. This will lead to the
first device IST re-enabling the IRQ doing nothing and then to a new
interrupt request in an endless loop.
A Installable ISR must return SYSINTR_CHAIN if it does not recognize
the IRQ. Check that GIISR on your device is configured in the right
way.
--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)