From d3e577db0bb3b3343ac58dad1c3e9ab06f051d0b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 14 Dec 2015 20:41:48 +0100 Subject: o Adding debug output test. --- gdb-start | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gdb-start') 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 -- cgit v1.2.3