Connect to custom board STM32L053 - STLINK-V2 - SWD
Sylvain,
Ran into this same problem today with the STM32L051 (Funny coincidence). I modified the custom .cfg file in the following way:
- reset_config srst_only srst_nogate
reset_config srst_nogate
I had noticed the NRST line was toggling with the ST-LINK Utility but not with the debugger. Removing the 'srst_only' triggered the debugger to use the NRST line and everything started working.
I hope that helps,
Bryan