summaryrefslogtreecommitdiff
path: root/openocd
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2015-10-16 21:56:06 +0000
committerKarl Palsson <karlp@tweak.net.au>2015-10-16 21:56:06 +0000
commit0bcc5d5efd70ed4564c141a7f38f78f52ea088a0 (patch)
tree9a4adcddeb72c0438be744d44494b3abe03ad744 /openocd
parent1cb68c5e21f657f1fdd4b452ed4d84709bef2b8a (diff)
downloadolsndot-0bcc5d5efd70ed4564c141a7f38f78f52ea088a0.tar.gz
olsndot-0bcc5d5efd70ed4564c141a7f38f78f52ea088a0.tar.bz2
olsndot-0bcc5d5efd70ed4564c141a7f38f78f52ea088a0.zip
initial openocd config files
Diffstat (limited to 'openocd')
-rw-r--r--openocd/README.md3
-rw-r--r--openocd/openocd.stm32f4-disco.cfg13
2 files changed, 16 insertions, 0 deletions
diff --git a/openocd/README.md b/openocd/README.md
new file mode 100644
index 0000000..d210936
--- /dev/null
+++ b/openocd/README.md
@@ -0,0 +1,3 @@
+# Personal OpenOCD config files
+
+config files that match all my connected boards.
diff --git a/openocd/openocd.stm32f4-disco.cfg b/openocd/openocd.stm32f4-disco.cfg
new file mode 100644
index 0000000..478fe30
--- /dev/null
+++ b/openocd/openocd.stm32f4-disco.cfg
@@ -0,0 +1,13 @@
+source [find interface/stlink-v2.cfg]
+set WORKAREASIZE 0x4000
+source [find target/stm32f4x.cfg]
+
+# serial of my f4 disco board.
+hla_serial "W?k\x06IgHV0H\x10?"
+
+tpiu config internal swodump.stm32f4disco.log uart off 168000000
+
+# Uncomment to reset on connect, for grabbing under WFI et al
+reset_config srst_only srst_nogate
+# reset_config srst_only srst_nogate connect_assert_srst
+