cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S Discovery example not running (no interrupts)

marcomarco9118
Associate
Posted on December 14, 2012 at 23:05

Hi,

just got my STM8S Discovery board. I plugged the USB cable, it went alive and the LED was blinking. Touching the capsense button was working like a charm.

So I downloaded the source code from the website, installed the correct IAR. I compiled without problems. I started a debug session and as expected, I got a breakpoint at the program start.

But then, when I let it run, nothing happens. The code is running, but the LED is not blinking anymore and there is no reaction to the capsense button. So I stopped that, added breakpoints in the interrupts and restarted the debug. Looks like the interrupts never get triggered.

I'm using the code from the website, without touching it. What's wrong?

Thanks!!

PS: I also tried a custom application using only TIM4, no luck. No interrupts.
0 REPLIES 0