Skip to main content
Moritz1
Associate III
Apr 7, 2023 7:22 AM UTC
Solved

How to install STM32CubeProgrammer on Raspbian?

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 topic has been closed for replies.
Sara BEN HADJ YAHYA
ST Technical Moderator
Apr 18, 2023 12:42 PM UTC

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 'Best answer' on the reply which solved your issue or answered your question.

4 replies

Moritz1
Moritz1Author
Associate III
Apr 7, 2023 8:47 AM UTC

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 Technical Moderator
Apr 18, 2023 12:42 PM UTC

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 'Best answer' on the reply which solved your issue or answered your question.
AScha.3
Super User
Apr 18, 2023 5:10 PM UTC
Maxime_BELAVAL
ST Employee
Apr 16, 2026 3:31 PM UTC

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