summaryrefslogtreecommitdiff
path: root/openocd
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2016-10-03 21:15:31 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-10-03 21:15:31 +0000
commit4f75e629e7d7f5bfe20f6c24a50705f26e03e30f (patch)
tree4276641e52446c1168d6b534484a01888fca9bc6 /openocd
parent92983abb87b6fe326bd983c656c2aced8ebd0e67 (diff)
downloadolsndot-4f75e629e7d7f5bfe20f6c24a50705f26e03e30f.tar.gz
olsndot-4f75e629e7d7f5bfe20f6c24a50705f26e03e30f.tar.bz2
olsndot-4f75e629e7d7f5bfe20f6c24a50705f26e03e30f.zip
oocd: use l0 for f1 instead.
let's me have both f1 and f4 in operation at the same time
Diffstat (limited to 'openocd')
-rw-r--r--openocd/openocd.stm32f103-generic.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/openocd/openocd.stm32f103-generic.cfg b/openocd/openocd.stm32f103-generic.cfg
index f2da08c..7175f48 100644
--- a/openocd/openocd.stm32f103-generic.cfg
+++ b/openocd/openocd.stm32f103-generic.cfg
@@ -1,13 +1,16 @@
# Unfortunately, with no f103 disco, we're currently
# using a separate disco board
-source [find interface/stlink-v2.cfg]
+#source [find interface/stlink-v2.cfg]
+source [find interface/stlink-v2-1.cfg]
set WORKAREASIZE 0x2000
source [find target/stm32f1x.cfg]
# Serial of my l1 disco used as stlink here.
#hla_serial "S?l\x06H?WQ%\x10\x18?"
# if f4 disco
-hla_serial "W?k\x06IgHV0H\x10?"
+#hla_serial "W?k\x06IgHV0H\x10?"
+# if l0 disco (And fix the line above!)
+hla_serial "0670FF484849785087085514"
tpiu config internal swodump.stm32f103-generic.log uart off 72000000