2011-06-17 03:18 AM
2011-06-17 04:07 AM
Dunno, I sure would want to initialize the NVIC before enabling peripheral interrupts.
Rather than totally shot-gunning the interrupt handlers in this fashion, you might want to consider what interrupt state is not being cleared, causing it to endlessly be stuck in an IRQ state, and blocking foreground execution. If you break execution in the blocked state you should be able to narrow down which IRQ is active, then look at the IT registers to see which bits are active. You might also want an instrumented fault handler, rather than an infinite loop. Use NVIC_PriorityGroupConfig() once, it's a singular setting.2011-06-17 04:41 AM
Thank you!!