I'm stepping through some code that keeps getting stuck in DefaultISR.
At first the USB0_IRQHandler (or lack thereof) was causing this, since putting in a blank handler, now it's UART1_IRQHandler.
Neither of these interrupts should be enabled, so I'd like to be able to read the current NVIC register setup in debug and so I can see exactly which interrupts have been enabled and which have not. Then I will hopefully be able to track down where the interrupts are going iffy.
Incase it matters, I'm currently using a KL25Z128 chip (FRDM K25 board)
Solved! Go to Solution.
I'm using the EmbSys register viewer for this:
See How to Add Register Details View in Eclipse | MCU on Eclipse
I hope this helps,
Erich
PS: If using Processor Expert, make sure you enable 'own handler for every...' (see Oh my! An Interrupt… | MCU on Eclipse ).
I'm using the EmbSys register viewer for this:
See How to Add Register Details View in Eclipse | MCU on Eclipse
I hope this helps,
Erich
PS: If using Processor Expert, make sure you enable 'own handler for every...' (see Oh my! An Interrupt… | MCU on Eclipse ).
I will just add that whilst the later version of EmbSys register viewer (v0.25) does include Freescale definitions as standard, these definitions do not contain the NVIC registers, so users will still have to download Erich's patch from his source forge.
Cheers Erich!