2015-01-30 07:15 AM
Emulating with the STM32F030. Everything works good until I turn on the serial interrupt. After that if I step I find myself stuck in the serial interrupt. An external device is sending serial data to the STM32F030. I have tried creating a debug.ini file but that did not help. Is there a way around this? I am using the Keil system and I can step with serial interrupts in the STM32F107 and STM32F407.
2015-01-30 08:24 AM
In all Cortex/NVIC designs it is critical you service all interrupts you generate, otherwise the interrupt will continuously tail-chain (ie leave and reenter).
Look at your IRQ Handler, and determine what you're not addressing. Use a breakpoint, look at the peripheral registers....