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

How do I put a variable to specific memory (RAM) address?

Good day!I'm using STVD+Cosmic. How do I set up the variable in the RAM at the specific position.I've tried creating new Segment and Section but the variable is declared at another address in the flash.Also, nothing changes when I'm changing min or m...

YSmir by Associate
  • 615 Views
  • 0 replies
  • 0 kudos

How to burn a .hex file into a STLUX385A without boot loader

Hi all.I would to flash a .hex firmware into some STLUX385A devices.These devices are not brand new and de optionbytes allowing serial bootloader has been removed by previous application. Worst-case scenario, the serial pins are not accessible on the...

SStei by Associate
  • 497 Views
  • 0 replies
  • 1 kudos

GPIO_ReadInputPin not working for STM8S003F3P6

The below code works with out the initialization "GPIO_Init(GPIOA, GPIO_PIN_3, GPIO_MODE_OUT_PP_HIGH_SLOW);" ,but does not work with initialization.void main(void){ volatile uint8_t count; count = 0x00; GPIO_DeInit(GPIOA); GPIO_Init(GPIOA, GPIO_P...

mvk by Associate
  • 585 Views
  • 0 replies
  • 0 kudos

How to reset protection STM8S001J3 through ST Visual Programmer?

Does STM8S001J3 reset protection via STVP? As well as in other series STM8?I did not get through STVP. So far, only through IAR - when connecting, select Option Bytes. IAR warns about clearing all memory, agree and everything is ok.

progs_sp by Associate II
  • 448 Views
  • 0 replies
  • 0 kudos

Some pointers required and some help

I'm a new comer to STM8 uCs, but experienced in other controllers. I have two questions:I would like to bring up a custom test board with In System Program/debug capability using the STM8S003F3. How do I do this quickly? A list of manuals/appnotes wo...

How to connect the programmer to the STM8S001J3?

There is a st-link. Tried to connect STVP, IAR STM8. Nothing happens. STM8S001J3 is not connected. Power commuted when trying to connect. With constant power, I also tried to connect. Why did you make such a bad microcontroller ?!

progs_sp by Associate II
  • 498 Views
  • 1 replies
  • 0 kudos

IAR STM8S PROGRAM DEPLOYING

I am using IAR EMBEDDED WORKBENCH FOR STM8s. I am running a simple led blink program. But I am facing while deploying to device. It shows the message "FAILED​ TO LOAD DEBUGEE". Please answer about this issue.

SBadd by Associate II
  • 482 Views
  • 0 replies
  • 0 kudos