STM32F030 debugging versus STM32F407
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-01-30 07:15 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-01-30 08:24 AM
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..
Up vote any posts that you find helpful, it shows what's working..