Spurious Interrupt Handler

meandmyself wrote on Friday, March 20, 2009:

I’m using FreeRTOS with IAR 5.20 on an AT91SAM7A3 processor.

I left my test program running through the night and by morning I’ve realised that it was stuck in the Spurious Interrupt Handler.

The code that I have as defined in Cstartup.s is as follows:

AT91F_Spurious_handler
    b         AT91F_Spurious_handler

Could you state any reason for this behaviour?
What would be the recommended handler? Just perform a EOI and return?

thanks

davedoors wrote on Friday, March 20, 2009:

Spurious interrupts are a feature of ARM7 devices with a separate interrupt controller. I normally just clear and return.

meandmyself wrote on Friday, March 20, 2009:

is there any defined code that I could use from FreeRTOS web site to deal with spurious interrupts in the ARM7?

thanks