| Funktion | ST-Link 2.x Clone | ST-Link V3Minie | Notes | Kabel |
|---|---|---|---|---|
| 3,3V | 3V3 (nicht empfohlen) | - | Rot | |
| GND | GND | GND | Schwarz | |
| SWDIO | (SW)DIO | T_JTMS/T_SWDIO (Pin 3) | SWD data input/output | Blau |
| SWCLK | (SW)CLK | T_JCLK/T_SWCLK (Pin 4) | SWD Clock | Gelb |
| NRST | RST | T_NRST (Pin 9) | Reset of targets STM32 | Grau |
| VDD-Target | - | T_VCC (Pin10) | VDD von der Platine! Input Pin! Nur nötig beim ST-Link V3 Adapter! | Orange |
sudo apt install gcc build-essential cmake libusb-1.0-0 libusb-1.0-0-dev libgtk-3-dev pandoc -ycd ~ && mkdir build -p && cd buildgit clone https://github.com/stlink-org/stlink.gitcd stlinkmake clean && make releasesudo make installst-flash: error while loading shared libraries: libstlink.so.1 sudo ldconfigst-info --probe --connect-under-resetBsp: flash: 32768 (pagesize: 1024) 32768 / 1024 = 32k
st-flash --connect-under-reset read firmware.bin 0x8000000 32kst-flash --connect-under-reset erasest-flash --connect-under-reset write firmware.bin 0x8000000Bootloader offset ermitteln