cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer on Raspberry Pi (or other ARM-based Host)

Andrew Neil
Super User

It's been asked before, but the answer has been, "it's not possible as it is not supported on ARM based devices"; eg,

https://community.st.com/t5/stm32cubeprogrammer-mcus/installing-stm32cubeprogrammer-on-raspberry-pi/m-p/303881/highlight/true#M4329

https://community.st.com/t5/stm32cubeprogrammer-mpus/how-to-install-stm32cubeprogrammer-on-raspbian/m-p/89242/highlight/true#M281

https://community.st.com/t5/stm32cubeprogrammer-mcus/installing-stm32cubeprogrammer-on-raspberry-pi/td-p/303876

So, is there any plan to make an STM32CubeProgrammer which will run on an ARM-based Linux Host?

It could be quite useful for making a small, portable, standalone programmer ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
19 REPLIES 19

Hi, im only intrested to have the possibility to falsh a st32 board with a rasberryPI board, just the command for flash it cause i already have the .hex file developed and tested on another platform. 

Did you see this post - which points to some alternatives?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
MJawo.2
Associate II

I used the https://pyocd.io/ with stm driver pack. 

Cris42
Associate II

Thank you for the link, i check but unfortunatly i don't have a normal rasberry pi board, i'm using a costom one with a rasberry compute module and i have no pin for make connection with jumper cables. I will check the documentation and i will talk with the developer of this costom board but i fink i have no simple way to connect the st board to the rasberry, but i will try. 

 

p.s. : im also using a rasberry module 4s, but i can switch to a 3b if neccerly but in that way i can no longer flash the ESP-IDF board, a feature that i also need in my buard. 

Andrew Neil
Super User

Similar: snapdragon stlink interface ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User

A similar question here from @Spam4tea:

STM32 UART/SPI bootload STM32G474 with raspberry pi CM5

 

See that thread for specifications of the SPI & USART Bootloader protocols, and example Host programmer implementations...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User

Another one today:

STM32CubeProgrammer software for Raspberry Pi (raspian 64 bit ARM).

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User

It seems the game is afoot ...

https://community.st.com/t5/stm32cubeprogrammer-mcus/your-voice-matters-help-us-improve-stm32cubeprogrammer-usability/m-p/890861/highlight/true#M9993

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
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

I've commented on the Dev News article: "Is this going to be just Raspberry Pi, or would it work on other ARM Linux platforms running Debian  or Ubuntu ?"

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.