Skip to main content
Andrew Neil
Super User
March 5, 2024
Question

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

  • March 5, 2024
  • 12 replies
  • 3398 views

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 ...

12 replies

Andrew Neil
Super User
March 5, 2024
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.
Maryem
Technical Moderator
March 19, 2024

Hello @Andrew Neil,

 

This request has already been raised to the dev team, I'll keep you updated on the progress.

Internal ticket number: 176491 (This is an internal tracking number and is not accessible or usable by customers).

 

Maryem.

Rob Meades
Senior
April 25, 2024

Just replying to up the importance of this: our test system uses many, many Raspberry Pis, one to control each board under test and, for whatever reason, OpenOCD (0.12.0-3, latest version from XPack as I write) is not able to flash download to a NUCLEO-U575ZI-Q board reliably (see my post here); I would like to be able to use the "official" ST mechanism on the Raspberry Pi.

MJawo.2
Associate
May 16, 2025

I'm waiting for RPi version of STM32 CubeProgrammer too.

MJawo.2
Associate
May 21, 2025

@Maryem any update?

Maryem
Technical Moderator
May 21, 2025

Hello @MJawo.2 ,

 

Unfortunately, there are no updates regarding this request at this time. I will ensure you are updated promptly when progress is made.

Thank you for your patience and understanding.

 

Maryem.

Visitor II
August 25, 2025

Hello i'm also super interested to have a version of the STM32 tools compatible to a raspberry arm64 based, do you maybe have some information about it ?

MJawo.2
Associate
August 26, 2025

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

Visitor II
August 26, 2025

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
October 7, 2025
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
November 27, 2025

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
December 29, 2025
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.