This is the mail archive of the ecos-discuss@sources.redhat.com 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: FIQ on ARM (ATMEL EB40A)


On Thu, 2002-09-05 at 06:48, Serge Manigault wrote:
> Hello,
> I tried to use the FIQ interrupt like the 3 IRQ on an ATMEL AT91EB40A
> target,
  <snio>
> and we never get any ISR/DSR routines called when the FIQ occures
> ecos enters in the call_pending_DSRs function and loop back to the FIQ
> interrupt.
> Does anyone already succeed in implementing the FIQ like an IRQ, or in
> another manner?
> Is there something wrong in our implementation?

Since you're not showing your ISR, I have to ask:
 * Do you arrange in the ISR to keep additional FIQ interrupts
   from occurring?  DSR processing runs in interruptable mode (to
   allow new interrupts [presumably from other devices] to occur 
   during the DSR processing).  If your device is still asserting
   FIQ and it's not masked, as soon as interrupts are re-enabled
   for the DSR processing, you'll get another FIQ interrupt.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


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


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