summaryrefslogtreecommitdiff
path: root/openocd
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2015-10-17 02:55:13 +0000
committerKarl Palsson <karlp@tweak.net.au>2015-10-17 02:55:13 +0000
commitcca0635bcdb18be5bde5c645b9733faf62da3fff (patch)
tree0bb1c1bd8eaa33978e7cf26c36a154d568143b5b /openocd
parentb76fbc06360440e414e01343cf5d79abf6c5fd5d (diff)
downloadolsndot-cca0635bcdb18be5bde5c645b9733faf62da3fff.tar.gz
olsndot-cca0635bcdb18be5bde5c645b9733faf62da3fff.tar.bz2
olsndot-cca0635bcdb18be5bde5c645b9733faf62da3fff.zip
WIP: adc-power f3
needs rcc fixups
Diffstat (limited to 'openocd')
-rw-r--r--openocd/openocd.stm32f3-disco.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/openocd/openocd.stm32f3-disco.cfg b/openocd/openocd.stm32f3-disco.cfg
new file mode 100644
index 0000000..066c12a
--- /dev/null
+++ b/openocd/openocd.stm32f3-disco.cfg
@@ -0,0 +1,13 @@
+source [find interface/stlink-v2.cfg]
+set WORKAREASIZE 0x4000
+source [find target/stm32f3x.cfg]
+
+# serial of my f3 disco board.
+hla_serial "S?n\x06gePQ6G\x10?"
+
+tpiu config internal swodump.stm32f3-disco.log uart off 72000000
+
+# 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
+