cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S207K6 program jumps not to the right interrupt routine

jansiegenthaler9
Associate
Posted on November 26, 2012 at 15:48

Hello,

I am using a STM8S207K6 Microcontroller without a ST-evaluation board

Compiler: Cosmic

Development Tool: STVD

I would like to use different moduls in my project(like UART3, TIM4 .. etc)

Now, i tried to use the interrupt sources of the different modules. And i have noticed, that always the next interrupt routine in the list is called.

For example(TIM4): If the interrupt bit in the Tim4_SR Register is set, the Interrupt nr. 24(EEPROM_EEC_IRQHandler) is called, and not the TIM4_UPD_OVF_IRQHandler.

And i have exactly the same problem with the other modules.

The Files i am using:

- stm8s_it.c V2.1.0   18-November-2011

- stm8s_it.h V2.1.0   18-November-2011

- stm8s.h     V2.1.0   18-November-2011 (not including the conf.h File)

- stm8_interrupt_vector.c 2011

Are there any known Problems like that?

Thank you!

#programming-stm8s
0 REPLIES 0