Skip to main content
Moritz1
Associate III
April 7, 2023
Solved

How to install STM32CubeProgrammer on Raspbian?

  • April 7, 2023
  • 4 replies
  • 3824 views

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.
Best answer by Sara BEN HADJ YAHYA

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.

4 replies

Moritz1
Moritz1Author
Associate III
April 7, 2023

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"

ST Employee
April 18, 2023

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.

AScha.3
Super User
April 18, 2023
Maxime_BELAVAL
ST Employee
April 16, 2026

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