Introduction
This manual describes how to program Flash program memory and data EEPROM on STM8 microcontrollers. It applies to low density STM8L05x/15x/STM8L101x, medium and medium+ density STM8L05x/15x, high density STM8L05x/15x/16x, medium density STM8AL31xx and STM8AL3Lxx devices. It is intended to provide information for programming tool manufacturers and for customers who want to implement programming themselves on their production line.
The in-circuit programming (ICP) method is used to update the content of Flash program memory and data EEPROM while the user software is not running. It uses the single wire interface module (SWIM) to communicate between the programming tool and the device.