From 4f75e629e7d7f5bfe20f6c24a50705f26e03e30f Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 3 Oct 2016 21:15:31 +0000 Subject: oocd: use l0 for f1 instead. let's me have both f1 and f4 in operation at the same time --- openocd/openocd.stm32f103-generic.cfg | 7 +++++-- 1 file 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 -- cgit