Skip to content
@STM32-Cube-Programmer

STM32 Cube Programmer

STM32CubeProgrammer — all-in-one programming and debugging utility for STM32 microcontrollers

STM32CubeProgrammer Interface

Download STM32CubeProgrammer for Windows


Overview

STM32CubeProgrammer is an official tool developed by STMicroelectronics for programming, erasing, verifying, and debugging STM32 microcontrollers.
It offers both GUI and CLI modes and supports all major connection interfaces including JTAG/SWD, USB DFU, UART, SPI, I²C, and CAN.
The tool is used by engineers, developers, and production lines for efficient MCU management.


Key Features

  • 💾 Read, write, erase, and verify internal and external flash memory.
  • ⚙️ Supports file formats: .bin, .hex, .elf, .srec.
  • 🔌 Connect via ST-LINK, J-LINK, or USB DFU.
  • 🧠 Configure Option Bytes, secure boot, and memory protection.
  • 🧩 Cross-platform support: Windows, Linux, macOS.
  • 🧰 CLI automation for scripting and CI/CD integration.

Advanced Capabilities

  • 🔐 Secure Firmware Installation (SFI) and cryptographic signing.
  • 🧱 Batch programming and configuration import/export.
  • 📊 Register and memory visualization tools.
  • 🧩 Automatic MCU detection and interface optimization.
  • 🧠 Detailed operation logs and verification reports.

Advantages

Benefit Description
✅ Versatile Supports all STM32 series and connection types
⚡ Fast Optimized flashing and memory operations
🧠 Flexible GUI and CLI combined
🔒 Secure Supports encryption and signature verification
🌍 Cross-platform Works seamlessly on Windows, Linux, macOS

How to Use

  1. Go to STMicroelectronics website and download the latest version of STM32CubeProgrammer.
  2. Install or use the portable version.
  3. Connect your STM32 device via ST-LINK, J-LINK, or USB DFU.
  4. Choose connection mode and select your target MCU.
  5. Load firmware and press Download to flash it.
  6. Verify memory and adjust Option Bytes as needed.

System Requirements

Component Minimum Recommended
OS Windows 8 / Linux / macOS Windows 10/11 (64-bit)
CPU Dual-core Quad-core or higher
RAM 2 GB 4 GB+
Disk Space 300 MB 1 GB SSD
Interface USB 2.0 USB 3.0 / ST-LINK V3

Ideal For

  • Embedded engineers developing with STM32.
  • Production lines programming large batches of devices.
  • Makers and hobbyists building STM32 projects.
  • DevOps teams integrating firmware flashing into CI/CD pipelines.

SEO Keywords

stm32cubeprogrammer, stm32cubeprog, stm32 programmer, stm32 flashing tool, stm32cubeprogrammer download, stm32cubeprogrammer windows, stm32cubeprogrammer linux, stm32cubeprogrammer macos, stm32cubeprog cli, stm32 secure firmware, stm32cubeprog tutorial, stm32 st-link utility, stm32cubeprogrammer st-link, stm32cubeprogrammer option bytes

Popular repositories Loading

  1. .github .github Public

    STM32CubeProgrammer — an official tool by STMicroelectronics for flashing and debugging STM32 microcontrollers. Supports JTAG, SWD, USB DFU, and UART connections, works on Windows, Linux, and macOS…

    HTML

Repositories

Showing 1 of 1 repositories
  • .github Public

    STM32CubeProgrammer — an official tool by STMicroelectronics for flashing and debugging STM32 microcontrollers. Supports JTAG, SWD, USB DFU, and UART connections, works on Windows, Linux, and macOS, and includes CLI mode for automation.

    STM32-Cube-Programmer/.github’s past year of commit activity
    HTML 0 0 0 0 Updated Nov 7, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…