2025-09-15 8:54 AM
Hi everyone,
My company recently purchased a new ST-Link/v2 programmer. The problem is that after the firmware update, the device stopped working, and when I press the Connect button on the STM32CubeProgrammer, the following error appears:
Error: ST-LINK error (DEV_USB_COMM_ERR)
I tried using an ST-Link/V2 programmer I bought a few months ago, and everything works fine (I only replaced the programmer, same USB cable, same programming cable).
The programmer is original, I'm sure of it. I purchased the programmer from DigiKey.
Even the serial number I see appears to be genuine.
When I try to update the firmware, I get the following result:
Can anyone help me solve my problem?
Thanks
2025-09-15 11:41 AM
Hello @SSerg.4 ,
Did you try click 'Open in Update Mode' ?
Are you using latest release of STM32CubeProgrammer?
Check and configure the correct access port. ST-LINK fail to access to the device as the port number may become inaccessible due to incorrect access port configurations.
2025-09-15 4:20 PM
It looks like you're a happy Mac user :) Try to get a normal Windows PC and run the standalone updater for Windows (ST-LinkUpgrade.exe):
https://www.st.com/en/development-tools/stsw-link007.html
2025-09-16 1:52 AM
Hi Pavel, thanks for the reply.
Unfortunately, my company forced me to choose MAC :(
I followed your advice using a Windows PC and these are the results:
Nothing changed. Do you have any other suggestions? The device is brand new. All I did was update the firmware.
Thank you.
Stefano
2025-09-16 1:59 AM
Hi Imen, thanks for the reply.
I already clicked the "Open in upgrade mode" button.
The first time I click it, the following message appears:
"Error connecting to device ST-LINK/V2 (error 0x1); check the USB connection and refresh the device list"
The second time I click it, the following message appears:
"Unknown firmware type. Don't know how to upgrade."
Look at the images I attached.
I also used a Windows PC and installed the latest version of STM32CubeProgrammer, but the results were the same (see my reply to Pavel).
Do you have any other suggestions?
Thanks.
Stefano
2025-09-18 8:26 AM
No solution to my problem?
Can anyone help me?
2025-09-18 4:45 PM - edited 2025-09-18 4:47 PM
The root of the problem seems to be that the updater does not recognize the present firmware version V15J63S63
Which looks totally weird. The number after V can be 2,3,4. Not 15.
Has someone else played with it? Updated it with J-Link or other 3rd party firmware?
2025-09-19 2:52 AM
Hello and thank you for your time.
No, no one picked up the programmer before me.
I was the one who unpacked it.
And no, I didn't do anything wrong.
I connected the programmer to my Mac and updated the firmware using STM32CubeProgrammer.
After that, the programmer stopped working.
The device is intact, no tampering, no damage.
Any other suggestions on how I can solve my problem?
2025-09-19 3:00 AM
Send it back to the dealer or dispose it?
2025-09-23 1:11 AM
Hello Stefano,
Unfortunately this is not a recoverable error, you should return the ST-Link and exchange it with the distributor.
To understand better the issue you faced, you may answer the following questions:
To check if it is a genuine ST-LINK/V2 could you provide a picture of the box and its stickers and of the provided accessories?
Do you remember the error message you get during the firmware upgrade and what was the initial firmware version before the upgrade (v2J46S7?) and the version you upgrade or downgrade to (v2J45S7 ?) ? Or if something unusual occurred on the PC/ USB cable connection during the upgrade process before its completion?
Best regards