STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Can STM8S boot from external flash?

Posted on February 14, 2017 at 12:23Hi all,I want to use STM8S003F3 to a project wich will use more than 8KB. I have some external SPI flash, with 2MB of data. STM8 is capable to handle and execute program from an exernal flash?Thaks!#stm8s-flash #s...

STM8AF5288@STVP/STVD

Posted on February 13, 2017 at 11:30I am trying to develop to STM8AF5288 with STVD, but the debugging attempts failing with:error: swim prog error [42004]: memory write errorIn STVP I cannot select STM8AF5288, but it selects STM8AF528. Unfortunately...

0690X00000605wtQAA.png 0690X00000606IFQAY.png

STM8 With Cosmic Code Size

Posted on May 19, 2015 at 00:24Hey guys, I've been told that when using COSMIC to program my STM8S003F3 I should have a code size of 8 kilobytes. Currently my code size is at 3846 and I am getting a text size overflow. Is the 8 kilobytes not the tru...

cfleck by Associate II
  • 1444 Views
  • 6 replies
  • 0 kudos

STM8AL318A peripheral registers include file

Posted on February 02, 2017 at 12:01HiI am using a STM8AL318AT. What is the correct peripheral resisters include file to use? The stm8s.h includ file from the standard peripgeral library does not support any AL device. Can I use the stm8l15x.h file ...

STVP does not run the program after the firmware.

Posted on February 08, 2017 at 16:27STVP does not run the program after the firmware.And blocks access to the microcontroller to other programs until you will not close the program.I think this is very inconvenient.#stm8 #stvp

Resolved! ST Visual Programmer not programming .hex file properly

Posted on February 03, 2017 at 10:57Hi,I use the ST Visual Programmer to flash a stm8S007C8 and this is working good, until the size of the .hex file is bigger than 155 kB. After this size the STVP shows an error/warning that it is out of range'FILE...

Store data in Flash at specific address

Posted on January 31, 2017 at 10:23I'm working with STVD and COSMIC compiler and I'm just trying to store data in flash at a specific location. What I've done up to now:- Defining a new segement and section in STVD for the linker, specificed locatio...

Daniel S by Associate II
  • 1436 Views
  • 6 replies
  • 0 kudos

STM8L ADC Input drawing current

Posted on January 25, 2017 at 16:07I’m using the STM8L052r8 to measure temperatures on the ADC channels 24/25. I’m using a proven ADC routine but my expected counts aren’t coming in correct.It seems I've got a volt drop/ current flow across R1 on th...

0690X00000603ZhQAI.jpg

ADC value to temperature

Posted on April 12, 2016 at 21:28Hello,i now managed to reada analog value from my temperature sensor and i am now wondering how i can convert that value (3643) to a temperature? I didn't see any kind of formula how the value is calculated with Vref...

loder by Associate II
  • 915 Views
  • 2 replies
  • 0 kudos