STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Error:stopped on execution protection at 0x800

I used STVD for stm8s105c6 assembly coding. The program compiled and built, since it could not be programmed in STVD, I used STVP for programming, and selected file format of motorola srecord.While, the effect was not I expected. I started to debug, ...

MQi.1 by Senior II
  • 322 Views
  • 0 replies
  • 0 kudos

Where to use .ico8 file?

I read from "STM8CubeMX configuration tools", "STM8CubeMX does not support C code generation". So my question is, where to use the .ioc8 file?In STVD ? If it could not generate C code, so the .ioc8 file could be only used in STVD for assembly ?If I ...

MQi.1 by Senior II
  • 317 Views
  • 1 replies
  • 0 kudos

SPI Slave with NSS

Hi, I am trying to use the SPI slave with NSS enabled but I am not able to receive any data on the receive interrupt.

Compile error!

I have two files fifo.h and fifo.c:#ifndef __FIFO_H__ #define __FIFO_H__   //#include <stdint.h>   typedef uint8_t FIFO_Data_t; typedef uint8_t FIFO_Index_t;   typedef struct { FIFO_Index_t SizeMask; volatile FIFO_Index_t Head; volatil...

Why internal pull-up on PB7 is not working? (STM8L152R8)

I was making a basic test for GPIO ports (reading switches and turning on LEDs). After configuring PORTB (all pins) as input with internal pull-up and external interrupts disabled, PB7 seems to be always in '0'. After opening IAR-EW debugger, PB_DDR...

0690X00000DYbGkQAL.png
JLoya by Associate II
  • 594 Views
  • 1 replies
  • 0 kudos

How to internally Restart a STM8 if we lost Program control ?

We are using STM8 as to monitor and control STMF07 controller and Quectel M66 module if they are not sending pulses in predetermined time. But no physical control or method to reset STM8, So can we restart the program control of STM8 through softwar...

sanket47 by Associate II
  • 1141 Views
  • 9 replies
  • 0 kudos