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

st8 Discovery gdi-error [40201]: can't access configuration database

Posted on March 27, 2014 at 20:09Hi,I'm trying to use the ST Visual Develop with the Cosmic st8 32k compiler.  I install everything and build the project.  That all works fine.  When I try to connect to the Discovery board with the debugger using Sw...

marc by Associate
  • 13903 Views
  • 43 replies
  • 3 kudos

Resolved! Initializing multiple bytes in EEPROM generating RESET in STM8AF5288 MCU

I am trying to initialize a section of EEPROM address from 0x40A0 to 0x40B8 in STM8AF5288 MCU. Between I am not able to complete this initialization process & end up getting MCU Reset. Attaching the assembly code that does this action BSET  _FLASH_CR...

DMega1_0-1691774159864.png
DMega.1 by Associate II
  • 2412 Views
  • 4 replies
  • 2 kudos

Resolved! STM8S103F remapping timer 1 chan nel 1 to output C6

Hi, I bought me some STM8S103F3 small developent boards from china. Nice stuff. But I would like to make timer 1 channel 1 generate a PWM signal on output C6. This needs some remap of the timer 1 peripheral. Therefore I managed to set the AFR0 bit in...

sthvw by Associate III
  • 1650 Views
  • 2 replies
  • 0 kudos

Resolved! crtsi.s file startup script for stm8A

Hello all. I am looking for an example startup script to perform a few initialization tests.I came to know that in  https://usermanual.wiki/Document/CXSTM8UsersGuide.1100875490.pdInitializing data in RAM section there is a startup script.I would like...

raja1 by Associate II
  • 1896 Views
  • 2 replies
  • 0 kudos

command line for the utility STVP_CmdLine.exe

Hi, can you please help I am programming my board using STVP_CmdLine.exe utility with the following arguments -ProgMode=SWIM -Device=STM8S105x6 -FileProg={FW_PATH} -verif -no_loop. I need an argument to change the frequency, something like Freq=1800....

Desultor by Associate
  • 1319 Views
  • 1 replies
  • 0 kudos

PB4 doesn't work on STM8S003F3P

Hi everybody, I'm working with STM8S003F3P6 on a custom board, using PB4 as an output. It simply does not work. It is always high. I know it is a true open drain pin, and I provided the pull-up resistor, but it still doesn't work. Look at this image,...

Failed to launch child process <gdb.exe>

Use ST visual development and all of a sudden I get this message:Failed to launch child process <gdb.exe>>error=2 - "The system cannot find the file specified.

STM8l001 PWM

Good day!Started learning stm8l001 MC with SPL libraries, and actually cant find any examples of PWM for it.RWM examples for STM8s was taken and changed according l001 timers and pinouts(Timer 3 - Channel 2 ,PD0),checked bits were installed during li...

Pavel888 by Associate
  • 1964 Views
  • 3 replies
  • 1 kudos