2024-11-07 06:42 AM
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?
2024-11-07 06:48 AM
Is it a genuine ST-Link?
Show your target board schematic
A good, clear photograph of your setup may help.
2024-11-07 07:04 AM
2024-11-07 07:32 AM
What board is that? give a link; show its schematic
2024-11-07 08:22 AM
@Frozenhore Have you checked this web site?
2024-11-07 09:22 AM
2024-11-07 09:28 AM - edited 2024-11-07 09:29 AM
So this: https://www.st.com/en/partner-products-and-services/lora-e5-mini-dev-board.html
Which is this: https://wiki.seeedstudio.com/LoRa_E5_mini/
Have you contacted Seeed Studio for support?
2024-11-07 09:32 AM
I tried it now but does not work for me, same issue. :(
2024-11-07 09:33 AM
Your photo is not very clear:
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 ...
2024-11-07 09:50 AM
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.