STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Ensure code running in RAM

Ref: stm8s flash entire new program - how? - STMicroelectronics CommunityHow do I ensure that an entire routine, and anything that it might call, is running in RAM?  I think there is a RAM() macro around, for example, the flash write methods so can I...

stm8s flash entire new program - how?

Let's assume I have a program that exposes a serial interface for commands and one such command is "load new program".  I upload the new program as hex strings and the old program writes this to flash and the resets.  Hopefully at this point the new ...

Resolved! PA4 and PA5 don't work STM8S208RB

Hello,STM8S208RB microcontroller. Pins PA4 and PA5 do not work in push-pull mode. Why? I haven't tried it in other modes. It's not a microcontroller issue because I tested it on two different microcontrollers. Pins are shown in the datasheet (see fig...

MykolaLevun_0-1711293982148.png

STVisual Develop simulator without STLink?

ST visual Develop Version 4.3.12!  running on Windows 10.I have set this up with the Cosmic toolkit and can build images for my ST8 processor but can I run the simulator without STLink?Apologies for such a newbie question - first time I've tried to d...

Resolved! Memory usage, stm8

HelloSTM8S microcontroller. Cosmic compiler. How can I find out how much memory my C program is using and for what purposes?

Difficulty Exiting SWIM Debug Mode

Hello,I'm currently encountering an issue with my project, which is used to load .s19 files onto target devices (specifically STM8) via the SWIM protocol.Previously, the functionality was seamless when there was no external power supplied to the targ...

STM8S103 not understanding interrupt priority.

Hi,I do not grasp the STM8S103 interrupt priority philosophy. Each Io-port can be assigned to 1 out of 4 priority levels called level 0, 1, 2 and 3 page 68/467 of the RM0016 reference manual meaning highest number is handled first. I connect a slow s...

sthvw by Associate II
  • 841 Views
  • 2 replies
  • 0 kudos

Resolved! programming STM8S103 through ST-Link V2

ST VP Configuration - ST-Link - USB - SWIM - STM8S103F3I have connected the "SWIM" and "GND" pins of 'ST-LINK V2' to the development PCB includes "STM8S103F3", the supply from the mobile charger is connected through the USB port of the PCB.When I sel...