cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK V2 does not work

Frozenhore
Associate II

Hi!

I would like to ask for a little help. I have a LoraWan E5 wich I want to program with ST-Link V2, but as soon as I want to connect to it in the STM32CubeProgrammer I get the errors below. I also attached the pinout that I follow. I connect SWDIO, SWCLK, 5V and GND to the LoRa e5 mini. If I ping the lora with an AT command it responses on the serial monitor so the LoRa is ok. I updated the firmware wich was successful, also tried to set to reset mode and press the RST button while connecting but none of these are work. How would I be able to connect it?

13 REPLIES 13

Is it a genuine ST-Link?

https://community.st.com/t5/stm32-mcus/how-to-recognize-a-genuine-st-link-v2-versus-a-cloned-one/ta-p/49471

Show your target board schematic

A good, clear photograph of your setup may help.

Yes its a genuine one. I attach some pictures of my setup, hopefully its visible. 

Peter BENSCH
ST Employee

@Frozenhore Have you checked this web site?

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Its a LoRa e5 mini, i attached some pictures.

I tried it now but does not work for me, same issue. :(

Your photo is not very clear:

AndrewNeil_7-1731000685057.png

It's hard to tell where your wires are connected, but it looks like the red one is on the 5V - which is wrong.

Also no connection to RST - which is always good to have for "difficult" connections ...

Yes I did some changes regarding another article but heres how I do it basically:

Pin 1 - Lora 3.3V

Pin 7 to Lora-E5 SWDIO

Pin 9 to Lora-E5 SWCLK

Pin 8 to Lora-E5 GND

I double checked it and it should be correct.