cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer 2.17.0 released

Nawres GHARBI
ST Employee

STM32CubeProgrammer v2.17.0 release information

New features:
• Added the support for the STM32MP25xx microprocessors in the STM32MP2 series

– Flash memory and OTP programming, SSP support

  • Added the support for devices in the STM32WB0 series: STM32WB05 MCU, STM32WB05 coprocessor,

STM32WB07 MCU, and STM32WB09 MCU product lines

– Flash memory and OTP programming via debug and UART

– Key generation, software signature, and OTP provisioning

  • Added the support for new STM32C0xxxB microcontrollers in the STM32C0 series with 128 Kbytes of flash

memory

– Flash memory and OTP programming via debug and UART

Refer to the STM32CubeProgrammer software description user manual (UM2237) for details.

Fixed issues:

126305 [GUI][STM32U5] RDP regression with password level 2 not working on all operating systems.

129215 [STM32CubeProg] Add new features: save and load OB configurations.

136058 [STM32U575ZI] STM32CubeProgrammer bug affecting flash memory programming when flash memory

banks are swapped.

143616 [STM32CubeProg] Need to update the nswab_BANK description according to the new reference manual

changes.

152836 [Flash loader][STM32CubeProg][STM32H5] When SWAP_BANK is enabled, bank 1 erasing is not functional.

168475 [STM32G4][GUI/CLI] Wrong description of BOOT_LOCK option byte.

171718 [STM32WL5x] An external flash loader generated with STM32CubeIDE does not work with

STM32CubeProgrammer.

172137 Invalid .elf file if the path uses valid UTF-8.

172961 [DATABASE][D415] Programming failure via the bootloader interface in the second bank of a 1‑Mbyte target.

175709 [UART] Sending an additional page to be erased.

175852 [Bootloader] Programming at the address 0x0Cxxxxxx via the bootloader interface.

175981 [DATABASE][D492] Wrong multiplier for SECW option bytes via the bootloader interface.

178135 STM32CubeProgrammer fails to program via the USB.

179072 [STM32C0][0x443] Missing configuration in database for device ID 0x443 with 16 Kbytes of flash memory.

179216 [API] Deallocate memory after read.

180037 Calling the obDisplay API crashes

Known problems and limitations:

  • Integrity check:

– STM32H7 microcontrollers: support integrity check for SFI/SMI:

◦ Only the devices with a bootloader version higher than 0x91 are supported.

◦ STM32CubeProgrammer does not support the devices with older bootloader versions. Users

must use STM32CubeProgrammer v2.9.0 to use devices with old bootloader versions.

– STM32H73xxx microcontrollers: support integrity check for SFI/SMI/SFIx:

◦ Only the devices with a bootloader version higher than 0x93 are supported.

◦ STM32CubeProgrammer does not support the devices with older bootloader versions. Users

must use STM32CubeProgrammer v2.9.0 to use devices with old bootloader versions.

– STM32H7Bxxx microcontrollers: support integrity check for SFI/SMI/SFIx:

◦ Only the devices with a bootloader version equal to or higher than 0x92 are supported.

◦ STM32CubeProgrammer does not support the devices with older bootloader versions. Users

must use STM32CubeProgrammer v2.9.0 to use devices with old bootloader versions.

  • Auto mode (Linux® platform):

– The SPI interface quits after starting without a connection.

  • Debug authentication is not supported on Windows® 32 bits.
  • SFIx fails for large flash memory content on Linux® via the UART interface.
  • Unable to generate the CRC on an .elf file with relocated binary.
  • USB interoperability issue on macOS® due to ST-LINK limitation.
  • STM32G0 microcontrollers:

– Option byte issue: impossible to decrease the RDP from the BB to AA state.

– The .hex file does not modify the WRP and PCROP option bytes of bank 2 for the devices with

512 Kbytes of dual-bank flash memory.

– Unable to change the option bytes when WWDG_SW and IWDG_SW are unchecked.

  • STM32G4 microcontrollers:

– STM32CubeProgrammer fails to download via J-Link

– STM32G491xx microcontrollers: Issues occur when erasing sectors in bank 2 memory

  • STM32H573xx microcontrollers:

– Unable to read, write, or erase the external flash memory when TZEN is enabled

  • STM32H7 microcontrollers:

– STM32CubeProgrammer does not support combined SFI and SMI.

– SMI programming fails.

  • STM32H7Rx/7Sx microcontrollers:

– SFI is not supported.

– Erasing the external flash memory is not supported using IWDG.

– GUI: the external memory edition is not supported via USB and UART while connected to the

OpenBootloader.

– Option bytes are not supported via OpenBootloader interfaces.

  • STM32MP25xx microprocessors:

– SSP secret generation is not supported

  • STM32U5 microcontrollers:

– Impossible to modify the unlock_2b option byte value when programming the OB list.

– STM32U535/545 microcontrollers: SFIx is not supported.

– STM32U575VGT6: the start address of Flash-Bank2 is incorrect.

– STM32U59xxx microcontrollers: SFIx only supports the area E installation with OTFDEC region 1

(region 0 on TPC).

– STM32U59xxJ, STM32U5AxxJ, STM32U5Fxxx, and STM32U5Gxxx microcontrollers: wrong sector

size when DBANK is equal to zero

– STM32U5Fxxx and STM32U5Gxxx microcontrollers: SFIA not supported via SPI.

STM32WBA microcontrollers:

– OpenBootloader via SPI: cannot connect to STM32CubeProgrammer when the baud rate is below

3000 Bd.

– “Connect Under Reset” is not working when called by STM32CubeIDE.

Refer to the STM32CubeProgrammer Release note (RN0109) for further details.

Download Link:

https://www.st.com/en/development-tools/stm32cubeprog.html

6 REPLIES 6
istepne
Associate III

Hi,

Can you make a light version of this programmer?

It takes more seconds to open the software.

We need basic programming tool for instant programming for some older stm series like stm32f0.
Pop up messages after programmings are annoying and can not be disabled.
The popup screens needs be clicked "OK button" 3 times individiaully on every programming cycle!!!
(We can see what is happening on the console too)

istepne_0-1721892336132.png

Please consider when o the new update
(I know CLI usage but for technician and other workers it is hard to arrange this usages)

As simple as possible we need, just select file and click program (Actually we dont no need to connect MCU for just programming)

istepne_2-1721892722611.png

Regards,

Murat

 

Make a simple GUI wrapper around the CLI? Or make a custom GUI program using the Programmer API & binaries?  (development help can be summoned on fiverr or other such services).

Thank you for the answer Pavel.

I mean I need simple GUI from ST side (without connect issues and without pop-up messages)
For example the software below is very efficiently used (still we are using for F0 series, but not supports G0 series)

istepne_0-1721902840652.png

There is no need to connect or etc buttons. Just click "Program" button and does everything quietly.

Regards,
Murat

Pavel A.
Evangelist III

Of course, ST folks are very capable and this isn't a challenge for them. But afraid they are a bit busy to deliver this in reasonable time. Not mentioning summer vacations.

For older STM32s such as F0 you can try the ST-Link utlity https://www.st.com/en/development-tools/stsw-link004.html

It is not supported and does not know newer STM32s but should work for F0. It still runs on Windows 11. Maybe will run also on Linux with Wine.

earth75
Associate II

Hi ST Team, do you have an ETA for a fix to 171192?

The programmer still only works on USB hubs.

 

Cheers

Hi istepne

 

You could write a python script that has a few buttons that trigger the commands to the CLI tool in the background.

That what I did for my prototype programming bench, there just a window where you can check the hex file name, and a "GO" button and that's it.

 

Actually, ChatGPT might be able to write that for you ;)

 

 

BR