Debugging error while trying to program STM32l031k6u6 microcontroller
I am using an ST-link / V2 as the debugger and the microcontroller I am using is STM32l031k6u6. I am trying to debug and download a program into the microcontroller but I am facing this error. I have tried to debug and download using IAR embedded workbench as well but to no avail.
I would be obliged if anyone can help me out. I did connect the VDD, GND, NRST, SWCLK, SWDIO pins correctly.


