snapshot of my first "working" version from turn-on of Altus Metrum v0.1
[fw/openalt] / init.gdb
diff --git a/init.gdb b/init.gdb
new file mode 100644 (file)
index 0000000..2f3d1b9
--- /dev/null
+++ b/init.gdb
@@ -0,0 +1,19 @@
+# configure gdb to use openocd to talk to the LPC2148 board via Olimex USB JTAG
+
+#target remote localhost:3333
+#monitor arm7_9 sw_bkpts enable
+#monitor poll
+
+target remote localhost:3333
+monitor reset
+monitor sleep 500
+monitor soft_reset_halt
+#monitor mww 0xFFFFFF00 0x01
+#monitor reg pc 0x00000000
+monitor poll
+monitor wait_halt
+monitor ARM7_9 force_hw_bkpts enable
+symbol-file lpc2148.elf
+thbreak main
+#load
+continue