From 3bf71c66f63f33471b172570a3a20710d6fe6b72 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 1 Jul 2016 09:21:18 +0200 Subject: o Initial commit. --- NOTES.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 NOTES.md (limited to 'NOTES.md') diff --git a/NOTES.md b/NOTES.md new file mode 100644 index 0000000..8e8a329 --- /dev/null +++ b/NOTES.md @@ -0,0 +1,26 @@ +# Uploading + +From https://software.intel.com/en-us/node/604844: + + target remote localhost:3333 + monitor gdb_breakpoint_override hard + set remotetimeout 30 + monitor clk32M + file ISSM_BSP_ROOT/examples/accel/debug/quark_d2000/obj/accel.elf + load + monitor reset halt + flushregs + tb main + c + +A useful openocd launch command: + + openocd -s $ISSM/tools/debugger/openocd/scripts -f board/quark_d2000_onboard.cfg + +A useful gdb launch command: + + gdb-ia -ex "target remote localhost:3333" \ + -ex "monitor gdb_breakpoint_override hard" \ + -ex "set remotetimeout 30" \ + -ex "monitor clk32M" \ + -ex "monitor reset halt" -- cgit v1.2.3