2025-07-23 12:34 AM
I was trying to run a code in STM32CubeIDE v1.19.0. I have connected the MCU to my laptop via ST-LINK/V2 but when I tried running the program or updating the firmware on the ST-LINK/V2 I get the respective error messages:
I am new to STM32 development.
Solved! Go to Solution.
2025-07-23 5:28 AM - edited 2025-07-23 5:29 AM
Could your ST-Link/V2 programmer be counterfeit?
Do you have a nucleo board or something else you could try?
2025-07-23 5:25 AM
Click on "Open in update mode". If the current firmware version is older than yours, proceed with update.
Then unplug and replug the USB cable and enjoy debugging.
2025-07-23 5:28 AM - edited 2025-07-23 5:29 AM
Could your ST-Link/V2 programmer be counterfeit?
Do you have a nucleo board or something else you could try?
2025-08-06 4:02 AM
Oh, I tried that... Seems like it was an issue with the ST-LINK that I purchased. As of now, I am programming the STM32 with a USB to TTL FTDI adapter. Thanks for the reply!
2025-08-06 4:03 AM
Thanks man, I think it was the problem with the ST-LINK, not any software issue. There was definitely a connection issue. I am using a USB to TTL adapter to program the STM32 rn. Thanks!