File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,26 @@ perfect for breadboards).
2929## Unlocking a write protected MCU
3030
3131My breakout boards came preprogrammed with a blink program and with active
32- write protection bits. For unlocking before first use:
32+ write protection bits. For unlocking before first use using the command
33+ line:
3334
3435``` bash
3536stm8flash -cstlinkv2 -pstm8s103? 3 -u
3637```
3738
39+ The same can be done from the Arduino IDE by clicking on Tools->Burn
40+ Bootloader after selecting an STM8 based board and choosing the correct
41+ programmer type (ST-Link V2). The name of this menu entry is not
42+ self-explanatory, but I couldn't find any way to change it or to add another
43+ entry with a better name. (If you know how, please open an issue)
44+
45+ The required binary for ` stm8flash ` is included in the download of the
46+ automatic install. On Windows systems it can be found in the directory
47+ ` AppData\Local\Arduino15\packages\sduino\tools\STM8Tools\2019.02.05\win ` .
48+
49+ A GUI alternative is the STVP tool by ST, but this involves installing
50+ another software package (see
51+ [ issue #85 ] ( https://github.com/tenbaht/sduino/issues/85 ) ).
3852
3953
4054## Connection to the flash tool
You can’t perform that action at this time.
0 commit comments