Skip to main content
Visitor II
May 24, 2010
Question

Interrupt subroutines nver called

  • May 24, 2010
  • 2 replies
  • 694 views
Posted on May 24, 2010 at 16:59

Interrupt subroutines nver called

    This topic has been closed for replies.

    2 replies

    remi23Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:08

    Ok found the solution:

    When you create a project without the file ''stm8_interrupt_vector.c''

    The linker will create an ''empty'' interrupt_vector file filled with 

    0x82, (interrupt_handler_t)NonHandledInterrupt

    The fix is to use stm8_interrupt_vector.c from the library cosmic

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:08

    Hi Remi,

    When using the STM8L10x library (stm8l10x_it.c and stm8l10x_it.h files) you should  use the updated stm8_interrupt_vector.c file released with the library and available under the following path: STM8L10x_StdPeriph_Lib\Project\Template\STVD\Cosmic

    Regards

    mozra