Flashing STM32F107RC via gdb
- Start J-Link GDB Server (openocd should also work, but not tested)
- $ arm-none-eabi-gdb program.elf
- (gdb) target extended-remote :2331
- (gdb) monitor flash download = 1
- (gdb) monitor flash device = STM32F107RC
- (gdb) load
- (gdb) monitor reset
- (gdb) continue