Skip to main content
IK_RSA
Associate
May 19, 2020
Solved

Error in initializing ST-LINK device. Reason: ST-LINK firmware upgrade required. Please upgrade the ST-LINK firmware using the upgrade tool.

  • May 19, 2020
  • 2 replies
  • 3677 views

It asks to re-connect STLINK and press "yes". Nothing happens after.

I've tried to install STM32CubeProgrammer to upgrade manually, but I could not get it running.

OS X 10.15.4

java 14.0.1 2020-04-14

Java(TM) SE Runtime Environment (build 14.0.1+7)

What should I do?

Regards,

T

This topic has been closed for replies.
Best answer by Uwe Bonnes

Download stsw-link007 and unzip. In cd in stsw-link007/AllPlatforms, run "java -jar STLinkUpgrade.jar"

2 replies

Pavel A.
Super User
May 20, 2020

Find a Windows machine. Download the standalone ST-LINK updated from ST website and update it.

-- pa

Tesla DeLorean
Guru
May 20, 2020

Whole point of migrating to this Java nonsense from the previous native versions was to support/function multi-platform. Just shows poor execution and testing.

On Windows you often have to reset the target CPU, or disconnect it (jumpers), for the ST-LINK to go into DFU mode, and be updatable. Watch also for tool chains, or applications, taking ownership of the resource and blocking other apps from using.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
IK_RSA
IK_RSAAuthor
Associate
May 20, 2020

When I tried to run ST Link utility on my old win machine - it did upgrade it to some version, but I still had to run upgrade, one more time, now on Mac with Uwe's answer:java -jar STLinkUpgrade.jar

It seems that in Apple vs Windows - it still shortens up to knowledge of terminal window command

Uwe Bonnes
Uwe BonnesBest answer
Chief
May 20, 2020

Download stsw-link007 and unzip. In cd in stsw-link007/AllPlatforms, run "java -jar STLinkUpgrade.jar"