cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer 2.5.0 released

Nawres GHARBI
ST Employee

New features

• Added the support for STM32G491xC and STM32G491xE microcontrollers

• Added the support for STM32H72xxx and STM32H73xxx microcontrollers

• Added SFI support for STM32H72xxx and STM32H73xxx microcontrollers

• Added SFIx support for STM32H72xxx and STM32H73xxx microcontrollers

• Added SFI support via UART for STM32L5 Series microcontrollers

• Added SFI support via USB for STM32L5 Series microcontrollers

• Added support of Serial Wire Viewer (SWV)

• Board automatic recognition

• Revision ID

Main issues fixed in STM32CubeProgrammer v2.5.0

59191 [STM32WB] Unable to remove or install the RF stack over UART bootloader + RSS. 60618 Erase of EEPROM memory of STM32L051 using the Erase selected sectors option. 62173 Cannot connect to STM32F072 DFU system bootloader.

65682 [UART] Cannot update Option Bytes with the UART.

66596 [UART] STM32L010 can be programmed.

67646 CLI missing -w64 command + OTP area not programmed via SWD.

68736 [STM32F7] Unable to erase multiple sectors for dual-bank Flash memory.

68990 [secure boot] Key generation not functional with STM32MP_KeyGen_CLI on Linux®. 70592 Start address box is activated after programming .hex file.

71108 [STM32H7] Flashing through SWD in SFI mode finishes with errors.

73495 [STM32F072] Cannot remove read protection through DFU bootloader.

79494 Fail to program STM32L0 MCUs

79912 [STM32F446] Flash memory size register reading with bootloader interface.

82752 [UART][CLI] Upload size is bigger than Flash memory size.

82867 Firmware Upgrade Service panel does not disappear on disconnect from compatible device. 83296 [STM32L5][SFI]: SFI fails if RDP is set to 0 or 1 in .csv file or if start SFI with TZEN=1. 83346 Get Cubeprogrammer_API.lib compiled with x64.

88504 Issues with programming 512-Kbyte memory with 362-Kbyte file.

89436 Failure to program binary to STM32L4 Nucleo board with the CAN interface using bootloader.

Known problems and limitations

• For the STM32L5 Series, the Option Byte programming GUI is not intuitive enough. Refer to the STM32L552xx and STM32L562xx advanced Arm®-based 32-bit MCUs reference manual (RM0438) for permitted accesses.

• For STM32L4Pxxx and STM32L4Qxxx devices, Option Byte programming via bootloader interfaces presents some limitations. 

For STM32H7Axxx and STM32H7Bxxx devices, Option Byte programming via bootloader interfaces (USB) presents some limitations.

• STM32L5 Series programming presents limitation in macOS® when TZEN=1 and RDP=0x55.

• Display issues depending on the monitor used can occur with Linux®.

• SFI-HSM V2 get certificate fails with STM32L462xx devices.

• Parallel Flash programming fails in macOS® for microprocessors in the STM32MP1 Series.

• Issues can be reported with some specific .elf file in CRC calculation safety feature.

• STM32MP1 mircoprocessor programming via UART presents limitations to program the whole boot chain.

• STM32MP1 mircoprocessor get certificate operation is not completed via a UART connection.

Link

https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog.html#overview

8 REPLIES 8
Uwe Bonnes
Principal III

As reported multiple time before I miss an option to restore factory default option byte settings.

DWWol.1
Associate

GUI not work on Ubuntu 20... It`s epic fail...

Jstev.11
Associate
RKuma.22
Associate

On running STM32CubeProgrammer

/home/xyz/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer

"Error: Could not find or load main class com.st.app.Main"

I tried all possible combination available on internet.

But it does not work.

Please update it for Ubuntu 20

Chandrashekar C
Associate III

STM32CubeProgrammer doesn't work.

Who is the right person to contact? It's becoming really annoying. Can anyone care to help?

@Nawres GHARBI​  @Houda GHABRI​ 

I've messaged you privately about an ELF loader issue on the H7 models where the 0x20000000 / 0x24000000 RAM addresses get applied incorrectly to the External Loaders on the H7

I first reported it here:

https://community.st.com/s/question/0D50X0000BRWFmKSQX/stm32-cube-programmer-v210-not-working-with-stm32h750bdk-qspi-external-loader

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
m4l490n
Associate III

It is not working for me on Ubuntu 20.04.

If I run it from the command line I get:

Error: Could not find or load main class com.st.app.Main

Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

And if I click the icon in the system tray then nothing happens.

pgregson1
Associate III

I have the same problem on a Mac running OS X 10.14.5. If I try to launch STM32CubeProgrammer from the Dock, I get a tiny blip of the Dock icons and nothing else. If I open $ /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/STM32CubeProgrammer

so as to avoid Apple's new Gateway function, I get

$ /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/STM32CubeProgrammer ; exit;

Error: Could not find or load main class com.st.app.Main

Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

[Process completed]

I used the setup app from the ST website. I accepted all defaults and so STM32CubeProgrammer is installed properly, I believe.

java --version returns with

java 13.0.1 2019-10-15

Java(TM) SE Runtime Environment (build 13.0.1+9)

Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

Please help.

Peter