summaryrefslogtreecommitdiff
path: root/openocd/openocd.stm32l1-generic.cfg
blob: 63cae6c51948f65af96b21356a10388d0a46d035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# l1 generic, using a l4 disco board
source [find interface/stlink-v2-1.cfg]
# l1 disco itself or similar
#source [find interface/stlink-v2.cfg]
set WORKAREASIZE 0x2000
source [find target/stm32l1.cfg]

#hla_serial "W?k\x06IgHV0H\x10?"; # My f4 disco
hla_serial "066DFF495351885087171826"; # My l4 disco
hla_serial "066CFF495150807567064226"; # My l053 nucleo
#hla_serial "S?l\x06H?WQ%\x10\x18?";   # My l1 disco

tpiu config internal swodump.stm32l1-generic.log uart off 32000000

# 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