cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer 2.2.0 released

Nawres GHARBI
ST Employee

Dear community

We are pleased to announce the release of STM32CubeProgrammer 2.2.0

New features

• Added the support of the STM32L5 Series

• Added the support of HSMv2

• Added the support of IAP for the USB-DFU interface

• STM32WB firmware upgrade via the ST-LINK interface

• Added the support of OTP for the STM32L5 Series

• Added the support of SSP for the STM32MP1 Series 2.2

Fixed issues

58587 STM32CubeProgrammer does not support STM32L433RC-P and STM32L433RB.

61375 STM32L073 - How to erase the Data EEPROM?

61731 CLI Device not supported but programmed. RDP not programmed.

68802 USB DFU for STM32L452 and STM32L476 device IDs is unknown while connecting with the USB.

68916 STM32CubeProgrammer does not recognize STM32F413 USB DFU.

69927 IAP DFU is not working with STM32CubeProgrammer: Error Unknown or unsupported device (DevID = 0x0000).

71074 STM32CubeProgrammer v2.1.0 defect - DFU mode sector erase fails on STM32H743 2MB Rev V. 2.3

Known problems and limitations

• For the STM32L5 Series, the connection via the ST-LINK protocol is allowed only when mode is set to hotplug.

• 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 the STM32L5 Series, Option Byte programming via bootloader interfaces presents some limitations.

• STM32CubeProgrammer does not work under Ubuntu® 18.04.

• With some small-screen resolutions, the graphical interface of STM32CubeProgrammer presents anomalies such as inaccessible buttons.

Get the new version now

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

10 REPLIES 10
FordFairlane
Associate III

Custom external loader stopped working with STM32CubeProgrammer 2.2.1, it works fine with 2.1.0.

@"%ProgramW6432%\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" --connect port=SWD freq=4000 index=0 mode=UR reset=HWrst --extload .\N25Q128A_STM32F401VB.stldr --readunprotect --write "project.hex" --optionbytes RDP=1 SPRMOD=0 BOR_LEV=3 WDG_SW=1 nRST_STOP=0 nRST_STDBY=0 WRP0=1 WRP1=1 WRP2=1 WRP3=1 WRP4=1 WRP5=1 

      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0
      -------------------------------------------------------------------
 
ST-LINK SN  : 55FF6C067871515342241267
ST-LINK FW  : V2J35S7
Voltage     : 3.35V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x423
Device name : STM32F401xB/C
Flash size  : 63.999 MBytes
Device type : MCU
Device CPU  : Cortex-M4
 
 
Disabling memory Read Protection...
 
Memory Read Protection disabled successfully
 
 
Memory Programming ...
Opening and parsing file: project.hex
  File          : project.hex
  Size          : 943310 Bytes
  Address       : 0x08000000
 
 
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
Erasing memory corresponding to segment 1:
Erasing internal memory sectors [2 4]
Erasing memory corresponding to segment 2:
Erasing internal memory sector 5
Erasing memory corresponding to segment 3:
Erasing external memory sectors [0 10]
Download in Progress:
██████████████████████████████████████████████████ 100%
 
File download complete
Time elapsed during download operation: 00:00:11.874
...

      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.2.1
      -------------------------------------------------------------------
 
ST-LINK SN  : 55FF6C067871515342241267
ST-LINK FW  : V2J35S7
Voltage     : 3.34V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x423
Device name : STM32F401xB/C
Flash size  : 256 KBytes (default)
Device type : MCU
Device CPU  : Cortex-M4
 
 
Disabling memory Read Protection...
 
Memory Read Protection disabled successfully
 
 
Memory Programming ...
Opening and parsing file: project.hex
  File          : project.hex
  Size          : 943310 Bytes
  Address       : 0x08000000
 
 
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
Erasing memory corresponding to segment 1:
Erasing internal memory sectors [2 4]
Erasing memory corresponding to segment 2:
Erasing internal memory sector 5
Erasing memory corresponding to segment 3:
Erasing external memory sectors [0 10]
Download in Progress:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
 
Error: failed to download Segment[0]
Error: failed to download the File
Time elapsed during download operation: 00:00:05.003
...

Regards