summaryrefslogtreecommitdiff
path: root/openocd/openocd.stm32f103-generic.cfg
blob: 7175f48e83fbb913b8f7fd313f3e048535adad28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Unfortunately, with no f103 disco, we're currently
# using a separate disco board
#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?"
# if l0 disco (And fix the line above!)
hla_serial "0670FF484849785087085514"

tpiu config internal swodump.stm32f103-generic.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