From 3781ecb6697ce86b43a3df7f80ea64c438ad9ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 15 Feb 2020 23:09:23 +0100 Subject: [PATCH] Update programming scripts --- stm-firmware/program-device.gdb | 3 +++ stm-firmware/program-device.sh | 1 + 2 files changed, 4 insertions(+) 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