cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030 debugging versus STM32F407

jgibbs
Associate
Posted on January 30, 2015 at 16:15

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.

1 REPLY 1
Posted on January 30, 2015 at 17:24

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....

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..