cancel
Showing results for 
Search instead for 
Did you mean: 

How to install STM32CubeProgrammer on Raspbian?

Moritz1
Associate III

Hi there,

I want to flash a HEX file using a Raspberry PI. So I followed the steps described here.

But if I run this line:

$> ./SetupSTM32CubeProgrammer-2.13.0.linux

I get the message:

bash: ./SetupSTM32CubeProgrammer-2.13.0.linux: cannot execute binary file: Exec format error

Has someone an idea why this is not working?

Im running Raspbian GNU/Linux 11 (bullseye)

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Sara BEN HADJ YAHYA
ST Employee

Hello @Moritz​ ,

Thanks for your feedback,

Actually it is not possible to install CubeProgrammer on Raspberry Pi as it is not supported on ARM based devices.

I hope this helps!

Sara.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Moritz1
Associate III

Hi, in the downloaded zip there is no install.sh

so the line

sudo ./install.sh gives me the error "No such file or directory"

Sara BEN HADJ YAHYA
ST Employee

Hello @Moritz​ ,

Thanks for your feedback,

Actually it is not possible to install CubeProgrammer on Raspberry Pi as it is not supported on ARM based devices.

I hope this helps!

Sara.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
AScha.3
Super User
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