This is the mail archive of the 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]
Other format: [Raw text]

Re: [ECOS] Timer: IRQ and FIQ mode

Thanks Andrew,
but, The hal_IRQ_handler() work ok (I think... I HOPE!) because the FIQ
'arrive' and the interrupt routine is called.
The problem are the threads. They aren't running if my CPU timer is enable!
Yes... i call the cyg_interrupt_acknowledge() and the interrupt is cleared
and it is recalled after the 100us.
I don't undestand where is my error...
Please, do you have a idea?

Ossequi,  (Best Regards/Obrigado)
CTS electronics  - R&D Department
phone: +39 0125 235637, +39 0125 235630

----- Original Message ----- 
From: "Andrew Lunn" <>
To: "Sicheri Marco" <>
Cc: "eCos Discus.List" <>
Sent: Tuesday, October 26, 2004 3:20 PM
Subject: Re: [ECOS] Timer: IRQ and FIQ mode

> 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
> > (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
> > 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:
> and search the list archive:

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