- ST-Link v2 flasher
- SH1.0 4p connector
Please refer to the Hardware Maintenance Guide for opening up the device.
sudo apt install gcc-arm-none-eabi stlink-tools
CutiePi board J7 | ST-LINK/V2 Pinout |
---|---|
3V3 | TVCC |
SWDIO | DIO |
SWCLK | DCLK |
GND | GND |
st-flash --format ihex write ./stm32f0.hex
cd Debug/
make -f Makefile all