Is there a good way to identify which interrupt is occurring that is not being handled? I'm using Atmel Studio 6.2 with a AT32UC3C part.
Have a separate handler for each interrupt :?:
Are you using the ASF INTC interrupt handler ?
It sends unhandled interrupts to a common routine _unhandled_interrupt() that then stall there.
If you have a debugger you could examine the INTC IRRx registers to find the pending interrupt group and line and then refer to the Interrupt Request Signal Map diagram to find the actual device.
It will probably be easier to just go through the source code and find where interrupts are being enabled.
© 2018 Microchip Technology Inc.