STM32CubeProgrammer 2.21

STM32CubeProgrammer 2.21

STMicroelectronics  ❘ Commercial
Windows
Latest Version
2.21

STM32CubeProgrammer: a versatile multi-OS tool for flashing and configuring STM32 chips

Human-built. AI-enhanced.
Pete Milner

STM32CubeProgrammer is an all-in-one GUI and CLI tool that reads, writes, and verifies STM32 memory over JTAG, SWD, UART, USB DFU, I2C, SPI, and CAN, with option byte configuration, external memory programming, and scripting automation on Windows, Linux, and macOS.
2026 Editor's Rating

STM32CubeProgrammer: Multi-OS Programming Tool for STM32 Devices

STM32CubeProgrammer, also known as STM32CubeProg, is an all-in-one, multi-OS software tool from STMicroelectronics for programming STM32 products. It runs on Windows, Linux, and macOS and is available in both a graphical user interface (GUI) version and a command-line interface (CLI) version.

Programming Interfaces and Memory Support

The tool provides an environment for reading, writing, and verifying device memory through the debug interface (JTAG and SWD) and the bootloader interface (UART, USB DFU, I2C, SPI, and CAN). It supports ST-LINK and SEGGER J-Link debug probes and targets internal memories such as flash, RAM, and OTP, as well as external memories.

Core Features

  • Erases, programs, views, and verifies the content of device flash memory.
  • Supports Motorola S19, Intel HEX, ELF, and binary formats.
  • Programs, erases, and verifies external memories, with example external flash memory loaders provided to help users develop loaders for specific devices.
  • Supports option byte programming and configuration, as well as option byte upload.
  • Allows OTP memory programming.
  • Includes ST-LINK firmware update.
  • Enables secure firmware creation using the STM32 Trusted Package Creator tool.
  • Supports peripheral boot and flash memory programming for STM32MPx series devices.

Automation and Practical Use

The command-line interface supports scripting, which allows automation of STM32 programming tasks such as erasing, verifying, programming, and configuring option bytes. Because the tool covers both debug and bootloader connections, it can be applied to a range of hardware setups, from development-time debugging to programming devices through their built-in bootloaders.

Overview

STM32CubeProgrammer is Commercial software in the Development category developed by STMicroelectronics.

The users of our client application UpdateStar have checked STM32CubeProgrammer for updates 157 times during the last month.

The latest version of STM32CubeProgrammer is 2.21, released on 11/30/2026. It was initially added to our database on 03/26/2020.

STM32CubeProgrammer runs on the following operating systems: Windows.

STM32CubeProgrammer has not been rated by our users yet.

Pros

  • Runs on Windows, Linux and macOS and is offered in both a graphical interface and a command-line version.
  • Reads, writes and verifies STM32 internal memory (flash, RAM, OTP) and external memories over both debug (JTAG/SWD) and bootloader (UART, USB DFU, I2C, SPI, CAN) interfaces.
  • Works with ST-LINK and SEGGER J-Link debug probes and supports Motorola S19, Intel HEX, ELF and binary file formats.
  • Handles option byte programming and configuration, and can automate erase, program, verify and configuration steps through scripting.
  • Can update ST-LINK firmware and supports STM32MPx peripheral boot and flash programming.
  • Includes example external flash memory loaders to help developers build loaders for specific external memories.

Cons

  • It is built specifically for programming STM32 products, so it does not serve other microcontroller families.
  • Access to the download requires a request and approval process, which the page says may take up to 48 hours.
  • Downloads are blocked when accessed through a VPN or anonymizer because of export regulations, so users must disable these to get the software.
  • The download requires accepting ST's export control terms and providing details such as application, business type and country of use.

FAQ

What is STM32CubeProgrammer used for?

STM32CubeProgrammer is an all-in-one software tool for programming STM32 microcontroller products. It reads, writes, and verifies device memory such as flash, RAM, and OTP, as well as external memories, and it can also set option bytes.

Which interfaces can it use to connect to STM32 devices?

It works through the debug interfaces JTAG and SWD, using an ST-LINK or SEGGER J-Link probe, and through the bootloader interfaces UART, USB DFU, I2C, SPI, and CAN.

Which operating systems does STM32CubeProgrammer support?

It runs on Windows, Linux, and macOS. It is delivered in both a graphical (GUI) version and a command-line (CLI) version, and the CLI supports scripting for automating programming tasks.

Which file formats can it load for programming?

It supports Motorola S19, Intel HEX, ELF, and plain binary files. It can also update ST-LINK firmware and create secure firmware with the STM32 Trusted Package Creator tool.

How do I get STM32CubeProgrammer?

Download it from the STMicroelectronics product page, where you submit a short request form with your project and application details. Approval can take up to 48 hours, after which a download link is sent to your email, and you must disable any VPN or anonymizer before submitting the request.


Pete Milner

Pete Milner

I'm Pete, a software reviewer at UpdateStar with a passion for the ever-evolving world of technology. My background in engineering gives me a unique insight into the intricacies of software, allowing me to provide in-depth, knowledgeable reviews and analyses. Whether it's the newest software releases, tech innovations, or the latest trends, I'm here to break it all down for you. I work from UpdateStar’s Berlin main office.

Latest Reviews by Pete Milner

Installations

157 users of UpdateStar had STM32CubeProgrammer installed last month.

Latest Reviews


YouDJ Mixer - Easy DJ app

Mix Like a Pro with YouDJ Mixer: The Easiest DJ App Yet!

Free Countdown Timer

Stay on Track with Free Countdown Timer: A Simple Solution for Time Management

Coolmuster iPhone SMS+Contacts Recovery

Recover Your Lost iPhone Data with Ease

Coolmuster iPhone Backup Extractor

Effortless iPhone Data Recovery with Coolmuster iPhone Backup Extractor

Quick Picture Viewer

Fast and Efficient Image Viewing with Quick Picture Viewer

Labelife

Labelife: Simplifying Label Creation

Buy now
STMicroelectronics
Stay up to date
with UpdateStar freeware.
UpdateStar Premium Edition UpdateStar Premium Edition
UpdateStar Premium: Keeps Windows Software Updated with Extensive Database Coverage
Microsoft Edge Microsoft Edge
Microsoft Edge: a Copilot-powered browser with strong security and battery savings
Google Chrome Google Chrome
Google Chrome: fast, secure, free browser with strong Google integration
Microsoft OneDrive Microsoft OneDrive
Microsoft OneDrive: reliable cloud sync and backup across Windows, Mac, and mobile
Microsoft Visual C++ 2015 Redistributable Package Microsoft Visual C++ 2015 Redistributable Package
Boost your system performance with Microsoft Visual C++ 2015 Redistributable Package!
Microsoft Visual C++ 2010 Redistributable Microsoft Visual C++ 2010 Redistributable
Essential Component for Running Visual C++ Applications

Latest Updates


Coast 93.1 1.0.0

Coast 93-1 is a radio station that pairs contemporary hit music with throwback tracks. Its flagship program, The Blake Show with Kelly and Todd, anchors the schedule and gives the station a consistent on-air identity.

Regatta Mark Tracker 1.5

Regatta Mark Tracker is a sailing navigation app for iPhone and Apple Watch that tracks racing marks, fairway buoys, keep-out buoys, and other user-defined GPS coordinates in real time.

Winky - Incognito Web Browser 7.0

Winky is a privacy-focused web browser for Apple devices that emphasizes automatic data clearing, anonymity features, and fast page loading.

Mon Epargne, Mes Placements 1.1

L'application Mon Epargne offre une vue d'ensemble actualisée des produits d'épargne proposés aux particuliers français. Elle regroupe l'ensemble des placements disponibles et permet de comparer leurs taux de rendement, ce qui facilite…

Radio Moda FM 1.0

Radio Moda FM ofrece una aplicación oficial para escuchar la emisora en directo desde dispositivos móviles. La aplicación presenta una interfaz moderna y de manejo sencillo, y permite la reproducción en segundo plano, de modo que la…

Coin Factory! 1.1

The game requires players to combine coins to fill the boxes and advance to the next level. Each level introduces a new challenge, which keeps the puzzle mechanics engaging as progression continues.