Forum Posts
Stm8S103F3P6 Touch library implementation
Hi every one,I have bought Stm8 Discovery board which has touch button onboard. After that I have download STM Touch Sensing Library, and some arrangements done at ST visual Develop IDE, directly build main c file and have been uploaded by using ST...
I am getting following error when I try to flash stm8af5288 using stm8gal: in 'bsl_sync()': wrong response 0x00 from BSL.
Hi STM Team,I am trying to flash STM8AF5288T from iMX8MM using stm8gal tool using SPI interface. I successfully cross compiled the stm8gal for Android and run it in the device. It is giving following error:It seems like issue with bootloader. Kindly ...
How to check if LIN bus is active via UART 3 registers
Hi STM8 Team,We are using STM8AF5288T which controls a LIN slave connected to it.Our requirement is to check if the LIN bus is inactive. I am not able to find any registers/flags which can show status of LIN bus.Could you please help here.Thanks,Hrit...
STVP with STM8S103F3 and St-Link/V2: "Error : Cannot communicate with the device !"
Hello,I am trying to program a STM8S103F3 on one of these chinese breakout boards with an original ST-LINK/V2 programmer. Everytime I try to read/ write something I get:"Error : Cannot communicate with the device !Check the SWIM cable connection and ...
STM8AF5288T flashing using iMX8M via SPI protocol
Hi STM8 Team,We have to flash STM8AF5288T MCU via SPI protocol from iMX8M Mini running on Android 11 OS.I have read the AN2659 document to study about IAP and understand the custom bootloader code.I have few queries after reading it which are as foll...
Resolved! How to generate .bin file from STVD
Hi STM8 Team,I can see STVD generates .s19 , .sm8 files. I want to generate .bin file. I had tried it by adding the following line in Post-Build section:chex -o $(OutputPath)$(TargetSName).binBut this did not work. Could you please guide me on how to...
Resolved! Problem in struct on header file
Hi there!I put this struct in the header file of my code, i´m using Cosmic C compiler and STM8S207 microcontroller:typedef struct{ bool a0:1; //flutuação bool a1:1; //equalização bool a2:1; //automático bool a3:1; //fuga terra + bool a4:1; //fuga ter...
ERROR IN PROGRAMMING MANUAL?????????
hello sircan someone, help me with that "SUB SP,#$9 " ,with is mentioned in the LATEST PROGRAMMING MANUAL OF STM8S PAGE 151.if you write that in an even very 1line program, you have an errorCan't match Addressing mode ' SUB SP,#$9'is there a n er...