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.
- 💾 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.
- 🔐 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.
| 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 |
- Go to STMicroelectronics website and download the latest version of STM32CubeProgrammer.
- Install or use the portable version.
- Connect your STM32 device via ST-LINK, J-LINK, or USB DFU.
- Choose connection mode and select your target MCU.
- Load firmware and press Download to flash it.
- Verify memory and adjust Option Bytes as needed.
| 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 |
- 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.
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
