2013-08-19 04:59 AM
I may have some spurious or unhandled interrupts and want to see where and when with software catch.
Is there a default (in absence of specific) IRQ handler i can overwrite / install? (E.g. as you would withHardFault_Handler
)2013-08-19 05:21 AM
You have whatever status the NVIC provides.
You can place your own handlers in the vector table (startup_stm32fxxx.s), these could be instead of the WEAK individual service routines.The HardFault Handler (and other handlers) could output diagnostic information instead of being while(1) loops.The interrupts enabled should be pretty finite, a) you'd be enabling them in the peripheral, and b) the NVIC. You have some other candidates for this spurious sources?To dynamical change things you'd want to put the vector table in RAM, and reconfigure SCB->VTOR to point at it. Must be on a 512-byte boundary.2013-09-04 04:23 AM
somehow related to my un-cleared unexpected uart interrupt i've asked about (which i know how to avoid at least).
that stuck interrupt causes havoc elsewhere (and also seems confused me about what i see in the disassembly)