STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problem with flash programming (SWIM) and memory protection

Posted on November 27, 2016 at 13:53Hi! I'm trying to implement a SWIM programmer using only the datasheets, for an STM8S003F3. I have got the basics working (swim entry, rotf, wotf, srst). An I've been trying to figure out how to actually program t...

mats2399 by Associate II
  • 686 Views
  • 2 replies
  • 0 kudos

STM8 internal temperature sensor

Posted on September 06, 2016 at 10:20I am working on a project, which is based on STM8 MCU. I am using ADC to read the ambient temperature. Sometimes I am getting temperature ADC readings which are greater than the usual ones. Most of the time the s...

jakub23 by Associate
  • 586 Views
  • 1 replies
  • 0 kudos

ADC interrupt in cosmic

Posted on November 16, 2016 at 12:55Dear all I tried to read  ADC1 channels in stm8 in cosmic compiler, but still I could not. as far as the main program start to config the ADC1 initialization nothing happen. I do not know what the problem is with ...

Resolved! STM8 and STVP: how to flash .HEX file

Posted on November 21, 2016 at 13:34Hi everyone. I have an .HEX file that I would like to program in a STM8AF62A8 MCU. I load the .HEX into STVP and it seems to be flashing the memory correctly because I can see some of the application's startup ou...

jorge23 by Associate
  • 1539 Views
  • 1 replies
  • 0 kudos

STM8L, I2C random infinite loop on 2nd I2C peripheral

Posted on November 16, 2016 at 17:46I've narrowed the issue down to the program getting stuck in a while statement indefinitely.  Per the attached file, it is looping indefinitely at line 361.  Nicolas Fillon said I needed to implement some reliabil...

How to use math functions in Cosmic and Raisonance?

Posted on July 25, 2015 at 18:48I wanted to compare how the most important C compilers for STM8 perform on some standard benchmarks. However, I've run into a problem with Whetstone: I get linker errors for the math functions in the Cosmic and Raison...

Cosmic compiler problem with STM8 Discovery board

Posted on November 09, 2016 at 11:11Hello all, I am new to cosmic compiler. Using IdeaSTM8 IDE I just wanted to create a new project. I have followed procedure suggested in ''Quick Start Guide'' pdf file. But I am getting below mentioned error. &sha...

STM8 Discovery board, ST Link V4, ''Cannot connect to target''

Posted on November 09, 2016 at 10:51I just got the STM8 Discovery board, however the ST link utility programme says ''cannot connect to target'' and to choose ''connect on reset'' in the target-> settings menu. There is no ''connect on reset'' optio...

jgpp85 by Associate
  • 431 Views
  • 0 replies
  • 0 kudos