Hi when trying to download flash to STM32L152 using Keil and ST-Link V2 debugger from SW port, I see "Internal command Error" boot and reset dose not help. is there any way to get rid of this problem?
Does you board have NRST attached?
Yes NRST is pulled up to VCC and there is a push button connecting NRST to GND.
I was thinking to the debug interface, but never mind... In that the option to "connect-under-reset" could actually achieve that.