aboutsummaryrefslogtreecommitdiff
path: root/gdb-start
diff options
context:
space:
mode:
Diffstat (limited to 'gdb-start')
-rw-r--r--gdb-start7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb-start b/gdb-start
index e46fd1c..23195c0 100644
--- a/gdb-start
+++ b/gdb-start
@@ -21,9 +21,10 @@ monitor reset halt
monitor flash probe 0
monitor stm32f1x mass_erase 0
monitor stm32f1x.cpu mwb 0x20000000 0x5a 20480
-monitor flash write_bank 0 test1.elf.bin
-delete breakpoint
-hbreak main
+monitor flash write_bank 0 test1.elf.bin 0
+monitor arm semihosting enable
+# delete breakpoint
+# hbreak main
end
monitor reset halt