Connect to custom board STM32L053 - STLINK-V2 - SWD
@jedrek1993
You have to select “Use local script” in debug configuration debugger tab and point to a new file with this content :
source find interface/stlink-v2.cfg
set WORKAREASIZE 0xC000
transport select “hla_swd”
source find target/stm32f1x_stlink.cfg
- use hardware reset, connect under reset
reset_config srst_only srst_nogate
I had the same problem and I removed “srst_only” from last line and it seems it’s working great.