Linux Openocd STM32F1 reset issue

If you try programming STM32 with Openocd and you have:

Error: init mode failed (unable to connect to the target)
You should try connect the reset pin to the programmer.
But if problem still occurs you should try this:

1. Click and hold hardware reset button,

2. Put on command:
openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/targe
3. Let go reset button

4. Push and hold reset button again and do your command

Now you should see this:
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints

Why my screws are broken?

In my electronics live I had a lot of situations when I can’t open device.

Why? Because people didn’t see difference:

Znalezione obrazy dla zapytania Philips pozdriv frearson comparison

Look and remember.