aboutsummaryrefslogtreecommitdiff
path: root/gdb-start
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-12-14 20:41:48 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-12-14 20:41:48 +0100
commitd3e577db0bb3b3343ac58dad1c3e9ab06f051d0b (patch)
tree138bd34b4dfbfca9c525c169a275b1ac139638a0 /gdb-start
parentc2aae4ccb63158f197c3d0629082e7699dfe8e25 (diff)
downloadstm32f103-playground-d3e577db0bb3b3343ac58dad1c3e9ab06f051d0b.tar.gz
stm32f103-playground-d3e577db0bb3b3343ac58dad1c3e9ab06f051d0b.tar.bz2
stm32f103-playground-d3e577db0bb3b3343ac58dad1c3e9ab06f051d0b.tar.xz
stm32f103-playground-d3e577db0bb3b3343ac58dad1c3e9ab06f051d0b.zip
o Adding debug output test.
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