cancel
Showing results for 
Search instead for 
Did you mean: 

Installing STM32CubeProgrammer on Raspberry Pi

Ah.1
Associate II

We've been succesfully using stm32flash in the past to flash our STM32 MCU that are attached to Raspberry Pi servers (no desktop or X). As we moved on to STM32G0 it seems that stm32flash is no longer working and we are forced to use STM32CubeProg to flash our firmware.

Is it possible to install STM32CubeProg on a) ARM such as RPI, b) server with no desktop?

To begin with, the installation instructions require the installation of OpenJFX which is not relevant (nor possible, in lieu of X) in this case, we intend to use only the CLI interface through scripts that perform the flashing.

Then, trying to run the installation script on the RPI fails since the provided installation binary is for x86.

41 REPLIES 41

the possible way to write a bootloader and flash it initial memory of flash. In that enumerate I2C and connect I2C cables. Also write flash operation using i2c So through i2c you can do binary flashing to your MCU

Maxime_BELAVAL
ST Employee

Hello,
Thank you for your patience, we know this has been a long-awaited request!

We're happy to share that Raspberry Pi support for STM32CubeProgrammer will be available in June 2026 with version 2.23.

Please refer to this Developer News for more information: [Coming June 2026] Raspberry Pi support for STM32CubeProgrammer

We also encourage you to share your feedback with us by commenting on the Dev News, as it helps us prioritize future improvements and developments.

Thank you all,
Max