STM32CubeProgrammer Release Note v2.7.0

Introduction

This release note is updated periodically to keep abreast of the STM32CubeProgrammer (STM32CubeProg) evolution, problems and limitations. Check the STMicroelectronics website at www.st.com/stm32softwaretools for the latest version. For the latest release summary, refer to Table 1.

Type Summary
Major release
  • Added the support for the STM32WB15xx microcontrollers in the STM32WB Series
  • Added the support for the microcontrollers with 64 Kbytes of Flash memory in the STM32G0 Series
  • Added HardFault Analyzer support
  • Added Register viewer support

Customer support

For more information or help concerning STM32CubeProgrammer, contact the nearest STMicroelectronics sales office or use the ST community at community.st.com. For a complete list of STMicroelectronics offices and distributors, refer to the www.st.com webpage.

Software updates

Software updates and all the latest documentation can be downloaded from the STMicroelectronics support webpage at www.st.com/stm32cubeprog.

General information

Overview

STM32CubeProgrammer is a tool that allows STM32 device programming through debug interfaces (JTAG and SWD) and bootloader interfaces (UART and USB). The tool offers a wide range of features to program STM32 internal memories (Flash, RAM, OTP and others) and external memories, verify the programming content (checksum, verify during and after programming, compare with file), and automate STM32 programming. The STM32CubeProgrammer package also offers the optional installation of the STM32 Trusted Package Creator tool, which is used to create secure firmware files for secure firmware install and update. For more information, refer to the STM32 Trusted Package Creator tool software description user manual (UM2238). STM32CubeProgrammer supports STM32 32-bit microcontrollers and microprocessors based on the Arm® Cortex® processor.

Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

Host PC system requirements

Supported operating systems and architectures

Note: Ubuntu® is a registered trademark of Canonical Ltd. macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.

Software requirements

For STM32CubeProgrammer versions earlier than v2.6.0, the Java SE Run Time Environment 1.8 (version 1.8.0_121 or newer) must be installed by Oracle® (Only Java™ 8 is supported). Since STM32CubeProgrammer version v2.6.0, the tool can be installed without pre-requisite JRE installation, because the STM32CubeProgrammer release package contains a JRE bundling.

Note: After Oracle® announcement related to the “End of Public Updates for Oracle JDK 8”, access to OpenJDK is possible via adoptopenjdk.net.

Note: Oracle and Java are registered trademarks of Oracle and/or its affiliates. All other trademarks are the property of their respective owners.

Setup procedure

Refer to the STM32CubeProgrammer software description user manual (UM2237) available at www.st.com.

Licensing

STM32CubeProg is delivered under the Mix Ultimate Liberty+OSS+3rd-party V1 software license agreement (SLA0048). The software components used in the development of STM32CubeProgrammer and their licenses are listed in Table 2.

Name Version Copyright License (1) Details
commons-lang3 3.5 The Apache Software Foundation Apache License 2.0 commons.apache.org/proper/commons-lang/
Apache Commons IO 2.5 The Apache Software Foundation Apache License 2.0 commons.apache.org/proper/commons-io/
izpack 5.1.3 Julien Ponge, René Krell and the IzPack contributors Apache License 2.0 izpack.org/
launch4j 3.12 Grzegorz Kowal BSD-3-Clause sourceforge.net/projects/launch4j/
org.jvnet.jaxb2.maven2:maven-jaxb2-plugin 0.14.0 Alexey Valikov BSD-2-Clause github.com/highsource/maven-jaxb2-plugin
org.openjfx:javafx-controls 14 Oracle and/or its affiliates GPLv2+CE github.com/openjdk/jfx
org.openjfx:javafx-fxml 14 Oracle and/or its affiliates GPLv2+CE github.com/openjdk/jfx
QT framework 5.4 The Qt Company Ltd. LGPL-3.0-only www.qt.io
LibUSB 1.0.20 Free Software Foundation, Inc. LGPL-2.0-only github.com/libusb/libusb

1. License identifier as defined by OSI (opensource.org/licenses) or SPDX (spdx.org/licenses).

The software bundled with STM32CubeProgrammer and their licenses are listed in Table 3.

Name Version Copyright License Details
BellSoft Liberica OpenJDK and Java FX 1.8.0_265 Free Software Foundation, Inc. Apache License 2.0 Copy of license is in the JRE folder

STM32CubeProgrammer v2.7.0 release information

New features

Fixed issues

ID Summary
58716 Error when trying to mass erase STM32L0 128K devices from the CLI.
61638 DFU error with the STM32F746xx microcontrollers.
64229 Impossible to erase sector 128 and upper on STM32L476RG with STM32CubeProgrammer.
73928 [STM32CubeProgrammer] [CLI][STM32H7] STM32H745I-DISCO: Unable to read big data from the external Q-SPI Flash memory.
78496 STM32F756 DFU Application Example does not work with STM32CubeProgrammer.
80586 [STM32CubeProgrammer][STM32L0][CLI] Verification progress bar ends at 24%.
85736 Empty area in HEX file is not well detected by STM32CubeProgrammer.
85898 Option Byte IRHEN must be deleted from STM32CubeProgrammer.
89140 [STM32CubeProgrammer v2.4.0][CLI]: Failure to recover when using the rdu option.
90060 [STM32L4] STM32L496: Cannot connect using DFU IAP.
91608 Programming issue using the NUCLEO-L053R8 board connected via the USB.
92200 [CLI] I2C Host sends out 2 extra bytes in the NoStretchErase command.
92774 [UART] STM32CubeProgrammer cannot program STM32H7 microcontrollers between 0x0810 0040 and 0x0810 0800.
93858 STM32H757 bootloader UART . hex download verify error on the Cortex®-M4.
93887 STM32F765xG (1 Mbyte): Not possible to program the Flash memory using STM32CubeProgrammer v2.5.0.
94636 [STM32CubeProgrammer-IAP] DFU programming failed.
96040 [GUI] When "No STM32 target found" STM32CubeProgrammer cannot be closed.
96295 STM32L471: Not able to successfully connect to or program using the UART.
96905 [Prg-DB] Wrong Flash memory size for STM32L151xx devices.
97365 USB DFU connection issue using the NUCLEO-L152RE board.
98346 STM32L073: STM32CubeProgrammer v2.6.0 is not able to successfully connect to STM32L073xx microcontrollers using DFU.
98682 Programming issues using STM32L471VET6.
99401 [STM32G4 128K][GUI] Wrong WRP1A/B_END and WRP1A/B_STRT values for 128 Kbytes.
99963 STM32CubeProgrammer_API document update for STM32MP1 microprocessors.

Known problems and limitations

Previous release information

STM32CubeProgrammer v2.6.0 release information

New features

Fixed issues

ID Summary
57835 Connect under reset with hardware reset is not working with SensorTile in low-power mode.
58716 Error when trying to mass erase STM32L0 128-Kbyte devices from CLI.
62639 RDP regression is not functional via BootLoader interfaces for STM32F030R8.
64267 Issues with FUS via USART boot mode.
70556 [STM32CubeProgrammer] Bug with STM32F765IGT6 (1-Mbyte Flash memory).
76987 [STM32CubeProg-STM32L5] STM32Cubeprog crash when communicating with the DFU app.
80586 [STM32CubeProg-STM32L0][CLI] Verification progress bar ends at 24%.
81647 User DFU functionality with STM32CubeProgrammer.
85313 [STM32CubeProg-STM32G0][GUI] Remove the BOR level section.
85898 Option Byte IRHEN must be deleted from STM32CubeProgrammer.
85960 STM32G431: STM32CubeProgrammer automatic mode download issue.
86576 [PRG] Fail to write OTP with STM32G4.
90060 [STM32CubeProgrammer][STM32L4] STM32L496: cannot connect using DFU IAP.
91608 Programming issue using the NUCLEO-L053R8 board connected via USB.
92038 STM32CubeProgrammer fails to open on macOS® Catalina v 10.15.6.
92280 [STM32CubeProg-STM32H7][GUI] Erasing &Programming panel hangs (white panel).
92477 [STM32CubeProg-STM32L1][GUI] Incorrect memory size displayed and cannot make the erase.
92641 [STM32CubeProgrammer-Option Bytes] Cannot set STM32H743 IO_HSLV, VDDIO_HSLV option bit.
92674 [STM32CubePrg][STM32L0][DIE417] Cannot connect to board under reset when low-power mode is activated.
92828 Seems no compatible OpenJFX version for Ubuntu® 20.04 for OpenSTLinux.

Known problems and limitations

STM32CubeProgrammer v2.5.0 release information

New features

Fixed issues

ID Summary
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

STM32CubeProgrammer v2.4.0 release information

New features

Fixed issues

ID Summary
77015 STM32CubeProgrammer cannot connect ST-LINK without the mass storage feature.
78350 STM32CubeProgrammer issue with STM32G0 when programming binary (size 18448 bytes).

Known problems and limitations

STM32CubeProgrammer v2.3.0 release information

New features

Fixed issues

ID Summary
63887 STM32CubeProgrammer does not program Option Byte from an .hex file for STM32F446xx.
64229 STM32Cubeprogrammer does not erase sector 128 and upper on STM32L476RG.
66609 STM32CubeProgrammer programming request of OTP byte via STM32CubeProgrammer.
67025 STM32Cubeprogrammer cannot connect ST-LINK without the mass storage feature.
77015 Support Flash Loader for STM32F769-EVAL:MT25QL512.

Known problems and limitations

STM32CubeProgrammer v2.2.1 release information

New features

No new feature is reported for this release. Minor release v2.2.1 is dedicated to issue correction (refer to Fixed issues).

Fixed issues

ID Summary
74031 STM32CubeProgrammer issue programming STM32H7 Rev V via DFU.

Known problems and limitations

STM32CubeProgrammer v2.2.0 release information

New features

Fixed issues

ID Summary
58587 STM32CubeProgrammer does not support STM32L433RC-P and STM32L433RB.

STM32CubeProgrammer v2.1.0 release information

Fixed issues

ID Summary
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.

Known problems and limitations

STM32CubeProgrammer v2.0.0 release information

New features

Fixed issues

ID Summary
62057 Download file is always executed after simple download with ST-LINK/V2 and STLINK-V3.
64155 Impossible to erase sector 128 and upper on STM32L476RG with STM32CubeProgrammer.

Known problems and limitations

STM32CubeProgrammer v1.4.0 release information

New features

Fixed issues

ID Summary
58879 Internal Flash programming issue with STM32L433RC (SMPS version) and STM32L433RB.
60257 stlinkv3.rules is missing in the drivers\rules\ folder.

Known problems and limitations

STM32CubeProgrammer v1.3.0 release information

New features

Known problems and limitations

STM32CubeProgrammer v1.1.0 release information

New features

Known problems and limitations

STM32CubeProgrammer v1.0.0 release information

New features

Known problems and limitations

Document revision history

Date Revision Changes
24-Nov-2017 1 Initial release.
12-Apr-2018 2 Part number changed to STM32CubeProg.
19-Jul-2018 3 Added information related to STM32CubeProg 1.1.0.
7-Sep-2018 4 Added information related to STM32CubeProg 1.2.0.
15-Oct-2018 5 Added information related to STM32CubeProg 1.2.1.
15-Nov-2018 6 Added information related to STM32CubeProg 1.3.0.
20-Dec-2018 7 Added information related to STM32CubeProg 1.4.0.
25-Feb-2019 8 Added information related to STM32CubeProg 2.0.0.
23-Apr-2019 9 Added information related to STM32CubeProg 2.1.0.
11-Oct-2019 10 Added information related to STM32CubeProg 2.2.0.
8-Nov-2019 11 Added information related to STM32CubeProg 2.2.1.
20-Dec-2019 12 Added information related to STM32CubeProg 2.3.0.
24-Feb-2020 13 Added information related to STM32CubeProg 2.4.0.
24-Jul-2020 14 Added information related to STM32CubeProg 2.5.0.
18-Nov-2020 15 Added information related to STM32CubeProg 2.6.0. Updated Software requirements.
12-Mar-2021 16 Added information related to STM32CubeProg 2.7.0.

PDF preview unavailable. Download the PDF instead.

en.DM00441049 Antenna House PDF Output Library 7.0.1600; modified using iText 2.1.7 by 1T3XT C2 v4.2.0220 build 670 - c2 rendition config : Techlit Active

Related Documents

Preview Introduction to System Memory Boot Mode on STM32 MCUs
This application note from STMicroelectronics provides a comprehensive guide to the system memory boot mode on STM32 microcontrollers. It details supported peripherals, hardware requirements, and the bootloader's role in downloading application programs via various serial interfaces. The document covers different STM32 series and their specific bootloader configurations, selections, and versions.
Preview STM32 Open Development Environment: Accelerating IoT Prototyping
Explore the STM32 Open Development Environment (STM32 ODE) from STMicroelectronics, a comprehensive platform for fast and affordable development and prototyping of embedded systems and IoT applications.
Preview STM32 Low-Power Timer (LPTIM) Application Note: Use Cases and Features
This application note from STMicroelectronics details the features, clock sources, power modes, and practical use cases of the Low-Power Timer (LPTIM) integrated into STM32 microcontrollers. It covers asynchronous pulse counting, PWM generation, and timeout wakeup functionalities, emphasizing low-power operation.
Preview STM32Cube and Azure RTOS Overview - STMicroelectronics
Explore the integration of STMicroelectronics' STM32Cube ecosystem with Microsoft Azure RTOS, offering enhanced embedded development capabilities with real-time operating system features, tools, and benefits for STM32 microcontrollers.
Preview Quad-SPI Interface on STM32 Microcontrollers and Microprocessors
This application note details the Quad-SPI interface on STM32 microcontrollers and microprocessors, explaining its configuration, programming, and usage for external memory interaction. It covers various STM32 families and provides insights into optimizing performance and design.
Preview STM32CubeProgrammer v2.19.0 Release Notes
This document provides release notes for STM32CubeProgrammer version 2.19.0, detailing new features, fixed issues, and known problems for the STM32 microcontroller programming tool.
Preview STM32 マイクロコントローラを使用した USB ハードウェアと PCB のガイドライン
STM32 マイクロコントローラに実装された USB ペリフェラルの概要と、USB 規格に準拠するための PCB 設計に関するハードウェア ガイドラインを提供します。
Preview STM32 USB DFU 协议应用笔记
意法半导体 (ST) 的 AN3156 应用笔记详细介绍了 STM32 微控制器自举程序中使用的 USB DFU 协议,包括指令、操作流程和适用产品系列。