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?

Thank in advance
Paolo

Re: Interrupt chain using giisr by Luca

Luca
Mon Feb 04 08:54:52 PST 2008

which devices are you using? hwere do you get the IRQ values you are passing
to Loadintchainhandler?

--

Luca Calligaris
www.eurotech.it

"Paolo Alberto Cremonese" <cremonese@teledata-i.com> ha scritto nel
messaggio 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?
>
> Thank in advance
> Paolo
>
>



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)