Interrupt subroutines nver called
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-05-24 7:59 AM
Posted on May 24, 2010 at 16:59
Interrupt subroutines nver called
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
‎2011-05-17 6:08 AM
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)NonHandledInterruptThe fix is to use stm8_interrupt_vector.c from the library cosmic
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:08 AM
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