diff --git a/stm-firmware/program-device.gdb b/stm-firmware/program-device.gdb index 35f65b9..cdc2129 100644 --- a/stm-firmware/program-device.gdb +++ b/stm-firmware/program-device.gdb @@ -1,4 +1,7 @@ target extended-remote :2331 +monitor reset load monitor reset +kill quit + diff --git a/stm-firmware/program-device.sh b/stm-firmware/program-device.sh index 1c07d86..bcb13b7 100755 --- a/stm-firmware/program-device.sh +++ b/stm-firmware/program-device.sh @@ -13,5 +13,6 @@ if [[ $gdbpid == "" ]]; then fi arm-none-eabi-gdb -x program-device.gdb reflow-controller.elf +sleep 2 kill $gdbpid