STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

BUG: HSE_Value should be HSE_VALUE in stm8s.h

This bug is several years old and should really be fixed.In stm8s.h, the following line ...#if !defined HSE_Value... should (obviously!) be ...#if !defined HSE_VALUE... in order to allow HSE_VALUE to be defined on the command-line.I just found out th...

pacman by Associate III
  • 894 Views
  • 4 replies
  • 0 kudos

Possible BUG: Always writing 0xFF to TIM2->SR in stm8s_tim2.c

I just downloaded the latest StdPeriph_Driver library a few days ago.The line ...TIM2->SR2 = (uint8_t)(~((uint8_t)((uint8_t)TIM2_FLAG >> 8)));... produces a warning. The value written to TIM2->SR2 will always be 0xFF.It's unclear to me what the desir...

pacman by Associate III
  • 372 Views
  • 0 replies
  • 0 kudos

[STVP bug]Unable to program only the program memory

Posted on July 05, 2018 at 15:07I am trying to flash only the program memory of an STM8S003F3 with the command line version of the STVP.Even if I specify the -no_progOption and the -no_progData options it still tries to verify the data memory:If I s...

0690X0000060CCxQAM.png 0690X0000060CD2QAM.png

STVD keep crashing at programmer stage

Posted on June 02, 2018 at 18:01I've installed STVD for some work to do with some stm8s processor. However STVD keep crashing everytime I select 'tools/programmer'. Sometime (but rare) when I can go behond, I acess the dialog box but crashes again a...

[Silicon bug?]STM8AF5286 missed external interrupts

Posted on May 24, 2017 at 09:04 During a recent development I have noticed a strange issue which makes me think that the external interrupt is not executed for every edge. I have generated low impulses with an STM32 with increasing pulse widt...

0690X00000606nAQAQ.png 0690X0000060758QAA.png

Fix case sensitvity of HSE_Value in the STM8S_StdPeriph_Lib

Posted on February 15, 2017 at 11:09 In the STM8S_StdPeriph_Lib's stm8.h file there is a section: #if !defined HSE_Value #if defined (STM8S208) || defined (STM8S207) || defined (STM8S007) || defined (STM8AF52Ax) || \ defined (STM8AF62Ax) #d...

cosmic compiler bug

Posted on December 23, 2015 at 04:42Hi all Cosmic compiler:   Parser V4.11.4 - 12 Aug 2015,   Generator (Limited) V4.4.3 - 13 Oct 2015   Optimizer V4.4.3 - 13 Oct 2015 Consider the attached test code - testbug.c line 17 isCW = !isCW ; // generates...