Skip to content

Commit 66e6565

Browse files
committed
mentioning espstlink and uprog2
1 parent 63fbe84 commit 66e6565

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

docs/hardware/flashtool.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@
22

33
The STM8-Discovery-Boards come with an integrated ST-Link-Interface, but for
44
any 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

1221
There are two main versions of the ST-Link V2 compatible flash tool
1322
available: One in a USB-Drive-like metal housing (often pink or blue) and

0 commit comments

Comments
 (0)