STM32CubeProgrammer is the official programming tool from STMicroelectronics for STM32 microcontrollers. It reads and writes the chip's flash, RAM, and option bytes over several connection methods including the ST-LINK debugger, UART, and USB DFU, and also handles security features such as read-out protection settings. It provides both a graphical interface and a command-line tool (STM32_Programmer_CLI) that can be used in scripts and automation pipelines.
It runs on Windows, macOS, and Linux, and is part of the STM32Cube ecosystem as the successor that unified earlier separate tools such as ST-LINK Utility and DfuSe.