- There is an ISP port under the LCD module.
- From left to right,
VCC
SWCLK
SWDIO
GND
.
# Unlock
arm-none-eabi-gdb --quiet -ex "target extended-remote /dev/ttyACM0" -ex "monitor connect_srst enable" -ex "set non-stop on" -ex "monitor swdp_scan" -ex "att 2" -ex "mon erase_mass"
# Flash
arm-none-eabi-gdb --quiet -ex "target extended-remote /dev/ttyACM0" -ex "monitor connect_srst enable" -ex "monitor swdp_scan" -ex "att 1" -ex "load" -ex "run" path/to/app.hex