2
\$\begingroup\$

I am trying to update my ST-Link V2 to the latest firmware, since STM32CubeIDE wont upload code if I don't.

STM32CubeIDE wants V2J38S7:

stm32

But it always fails to update:

Stm32

"Upgrade successful" is a lie. If I clock "refresh device list", or try to upload the code again, It wont let me, and ask for the same upgrade. So I downloaded STM32 ST-LINK Utility, and it does not give me the option to firmware update to the latest firmware:

stm32

It says the firmware I have is the latest already.

  1. Can I download the latest firmware somewhere so I can burn it?
  2. Can I upload code with a older firmware, so I wont need to upgrade?

EDIT:

I do not think having a clone matters right now since the firmware of ST-Link update does not show up the latest firmware. After all, this clone worked for years, and could receive firmware updates.

A picture of my ST-Link:

stlink front stlink back

\$\endgroup\$
8
  • \$\begingroup\$ Which exact version of ST-Link you have? V2, V2-1, some clone? Have you tried the standalone STLinkUpgrade tool? \$\endgroup\$
    – Justme
    Commented Oct 27, 2021 at 18:54
  • 1
    \$\begingroup\$ How can you not know if it is a genuine ST-Link or not? Post a picture of it. \$\endgroup\$
    – Justme
    Commented Oct 27, 2021 at 20:49
  • 1
    \$\begingroup\$ "I bought it from Aliexpress" - so it's a clone... \$\endgroup\$ Commented Oct 27, 2021 at 23:49
  • 1
    \$\begingroup\$ "does having a clone prohibit the updater from not showing me the latest firmware version?" Yes. There are plenty of ST-Link clones. This is hurting ST profits, so latest versions of firmware have "genuine checks" in them. You won't be able to update to latest firmware on a clone with an official upgrade tool. \$\endgroup\$
    – Morris
    Commented Oct 28, 2021 at 11:05
  • 2
    \$\begingroup\$ "This is hurting ST profits". Buying genuine products hurts my profits. \$\endgroup\$ Commented Oct 28, 2021 at 12:35

1 Answer 1

2
\$\begingroup\$

That is not a real ST-Link V2, but a clone product.

Even the MCU on it is not a real STM32F103 but a clone of a real product.

The firmware is made with the assumption that it is to be run on official MCU and official hardware, there is no guarantee that a clone MCU could run the firmware that is only guaranteed to run on official MCU and official hardware.

Also different software packages come with different firmwares. ST-Link utility is an old product that is deprecated already so it may come with older firmware and may support updating the firmware to the the most recent it is known to support.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ And it seems ST is actively fighting these clone chips by using ID checks in its IDEs and programmers. \$\endgroup\$ Commented Oct 28, 2021 at 9:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.