I try to load a program into STM32L011K4 using J-Link. The mistakes I get and the steps I follow are as follows:
PROBLEM-1. J-link could not find STM32L011K4
Click options for Target → Utilities → Debug Settings → Add Unspecified Device (Cortex M0+)
Click options for Target → Utilities → Debug Settings → Port (SW) and click OK.
PROBLEM-2. When I click to load (F8) the program, I got an error as below:
"JLink-Cortex Error: Flash Timeout.Reset the Target and try it again"
and I clicked OK.
Then I get an error like this:
"uVision: Error:Flash Download failed - "Cortex-M0+"
I changed Options For Target → Target IROM1 and IRAM1 values, but I kept getting the same error. Also I tried to change values of Options For Target → Debug Settings → Max Clock, but nothing has changed.