Interrupts- AT91SAM7X and Crossworks

xawery wrote on Monday, July 06, 2009:

I’m using Crossworks FreeRTOS demo for AT91SAM7X. When I try to use interrupts for example from SPI my program freezes at undef_handler in AT91SAM7_Startup. I suppose i have to add something to startup but I can’t figure out what exactly.

davedoors wrote on Tuesday, July 07, 2009:

You need to configure the interrupt controller to tell it where the interrupt handler is. Look at the examples in the FreeRTOS\Demo directory to see how.