summaryrefslogtreecommitdiff
path: root/NOTES.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-07-01 09:21:18 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-07-01 09:21:18 +0200
commit3bf71c66f63f33471b172570a3a20710d6fe6b72 (patch)
tree55be59add176bedaf0a9e08bca33ce4a435dcfd4 /NOTES.md
downloadintel-quark-d2000-playground-3bf71c66f63f33471b172570a3a20710d6fe6b72.tar.gz
intel-quark-d2000-playground-3bf71c66f63f33471b172570a3a20710d6fe6b72.tar.bz2
intel-quark-d2000-playground-3bf71c66f63f33471b172570a3a20710d6fe6b72.tar.xz
intel-quark-d2000-playground-3bf71c66f63f33471b172570a3a20710d6fe6b72.zip
o Initial commit.
Diffstat (limited to 'NOTES.md')
-rw-r--r--NOTES.md26
1 files changed, 26 insertions, 0 deletions
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"