cancel
Showing results for 
Search instead for 
Did you mean: 

How to upgrade the STLinkUpgrade app.

JFlesher
Associate

My version of STM32CubeIDE is Version: 1.0.2 Build: 3566_20190716-0927 (UTC)

The STLinkUpgrade app is 3.2.11. It says that the last firmware version is V2J31M21. However the latest version of ST-LINK/V2-1 firmware (V2J34M25))? 

One can use the standalone program STM32 ST-LINK Utility 4.5 to perform the firmware upgrade on my devices and ignore the upgrade feature in STMCubeIDE for now.

1 ACCEPTED SOLUTION

Accepted Solutions
JFlesher
Associate

CSTM32CubeIDE is Version: 1.0.2 Build: 3566_20190716-0927 (UTC) does contain a copy the current ST-LINK Utility in folder "STM32CubelDE_1.0.2\STM32CubelDE\plugins\com.st.stm32cube.ide.mcu.extemaltools.cubeprogrammer.win32_1.0.0.201904021149\tools\Drivers". The file name is "STLinkUpgrade.jar". However, this file is not run when "ST-Link Upgrade" is run from the STM32CubeIDE "Help" menu.

A second copy of "STLinkUpgrade.jar" is located in the "STM32CubeIDE_1.0.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_1.0.0.201904160814\tools\bin". Unfortunately this copy does not contain the latest copy of ST-Link Upgrade. This is the version of the app that the IDE runs.

To correct the situation, copy the file  "STLinkUpgrade.jar" from "STM32CubelDE_1.0.2\STM32CubelDE\plugins\com.st.stm32cube.ide.mcu.extemaltools.cubeprogrammer.win32_1.0.0.201904021149\tools\Drivers" to "STM32CubeIDE_1.0.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_1.0.0.201904160814\tools\bin".

In my case, the new version of STLinkUpgrade is 3.3.0.

View solution in original post

1 REPLY 1
JFlesher
Associate

CSTM32CubeIDE is Version: 1.0.2 Build: 3566_20190716-0927 (UTC) does contain a copy the current ST-LINK Utility in folder "STM32CubelDE_1.0.2\STM32CubelDE\plugins\com.st.stm32cube.ide.mcu.extemaltools.cubeprogrammer.win32_1.0.0.201904021149\tools\Drivers". The file name is "STLinkUpgrade.jar". However, this file is not run when "ST-Link Upgrade" is run from the STM32CubeIDE "Help" menu.

A second copy of "STLinkUpgrade.jar" is located in the "STM32CubeIDE_1.0.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_1.0.0.201904160814\tools\bin". Unfortunately this copy does not contain the latest copy of ST-Link Upgrade. This is the version of the app that the IDE runs.

To correct the situation, copy the file  "STLinkUpgrade.jar" from "STM32CubelDE_1.0.2\STM32CubelDE\plugins\com.st.stm32cube.ide.mcu.extemaltools.cubeprogrammer.win32_1.0.0.201904021149\tools\Drivers" to "STM32CubeIDE_1.0.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_1.0.0.201904160814\tools\bin".

In my case, the new version of STLinkUpgrade is 3.3.0.