[ECOS] Timer: IRQ and FIQ mode

Andrew Lunn andrew@lunn.ch
Tue Oct 26 16:33:00 GMT 2004


On Tue, Oct 26, 2004 at 02:36:37PM +0200, Sicheri Marco wrote:
> Hi All,
> I've the Samsung s3c44b0x.
> 
> I dev. e simple code, two threads and one timer that generate a interrupt
> (timer2). (see the previous mail timer->interrupt for check my code).
> It work ok if i set the interrupt by IRQ, but if I set it by FIQ. The
> interupt work good, but the threads don't work.
> I had set (with lauterbach) a break in each thread, and the code run there
> only if the interrupt is the IRQ mode.
> Why? Could you help me?
> Where is my error?

Which target are you using for this processor? The closest i can see
is the smdk2410. Looking at smdk2410_misc.c:hal_IRQ_handler() it
appears FIQ is not supported. 

If you want to use FIQ you will probably have to write a VSR and use
the function cyg_interrup_set_vsr();
        
        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list