File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33The STM8-Discovery-Boards come with an integrated ST-Link-Interface, but for
44any other board you need a special flash tools in order to program the CPU.
5+ These litte devices look like a generic USB thumb drive and are sold for
6+ well under $3 on aliexpress, just search for st-link.
57
6- As far as I know there is no third-party product or software that implements
7- the needed communication protocol. So you can't just use a regular Arduino
8- board as a flash tool as you could for the ATmega. But this is not a
9- problem, as these tools are are easily available and unbeliveably cheap
10- (well under $3 on aliexpress, search for st-link).
8+ As far as I know there is no solution to use a regular Arduino board as a
9+ SWIM-capable flash programmer. The [ universal programmer
10+ uprog2] ( http://jcwolfram.de/projekte/uprog2/main.php ) (website in german
11+ only) is based on an ATmega664 and it might be possible to use an Arduino
12+ Mega board with this software (untested).
13+
14+ [ esp-stlink] ( https://github.com/rumpeltux/esp-stlink ) is a ST-Link
15+ programmer based on the ESP8266. It allows programming an STM8 via a Wifi
16+ connection. The use of this programmer is supported by stm8flash now, but
17+ not yet integrated into the Arduino IDE. I didn't test this yet.
18+
19+ ## Classic ST-Link V2 flash tools
1120
1221There are two main versions of the ST-Link V2 compatible flash tool
1322available: One in a USB-Drive-like metal housing (often pink or blue) and
You can’t perform that action at this time.
0 commit comments