STM32L151 IRQ firing only when program launched from debugger
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-04-24 2:27 AM
Posted on April 24, 2016 at 11:27
Hi,
I've build a program that runs fine, but IRQ are only fired when I start the µC with the debugger.Without the debugger, I can see that the µC runs correctly the program thanks to some blinking led, but none of my IRQ are firing.If I connect the debugger to the µC without downloading the program ( with ST-Link Utility for example), then I disconnect the debugger, IRQ are fired correctly.How can that be ???Thank you for your help.BR,Vincent.
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-04-24 5:10 AM
Posted on April 24, 2016 at 14:10
wrong program only.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-04-24 6:09 AM
Posted on April 24, 2016 at 15:09
I would double check you have enabled all the clocks you need, and the vector table address is set correctly. Review the startup up code related to external clocks, waiting for them and the PLL to start properly.
On the hardware side, review the states of the BOOTx pins.
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..
