
DocID16139 Rev 5
3/42
AN3029
Contents
3
STM8 development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Single wire interface module (SWIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SWIM connector pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Hardware connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
STice in emulation configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
In-circuit programming and debugging . . . . . . . . . . . . . . . . . . . . . . . . . 25
STM8 software toolchain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Integrated development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Setting up the STM8 development environment . . . . . . . . . . . . . . . . . 28
Running the demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Selecting the correct debug instrument . . . . . . . . . . . . . . . . . . . . . . . . . 33
Connecting the hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Starting the debug session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Documentation and online support . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39