AnsweredAssumed Answered

STM32L151 IRQ firing only when program launched from debugger

Question asked by VDM on Apr 24, 2016
Latest reply on Apr 24, 2016 by Clive One

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.