2

I need to install STM32CubeProgrammer on Raspberry Pi running Raspbian Server (no desktop). Anyone succeeded with such a setup? To begin with, the installation instructions require the installation of OpenJFX which is not relevant (nor possible, in lieu of X) in this case, I intend to use only the CLI interface. Trying to run the installation script after failing the installation of OpenJFX results with the following:

user@host:~ $ sudo ./SetupSTM32CubeProgrammer-2.3.0.linux 
[sudo] password for user: 
./SetupSTM32CubeProgrammer-2.3.0.linux: 1: ./SetupSTM32CubeProgrammer-2.3.0.linux: ELFJ�4��: not found
./SetupSTM32CubeProgrammer-2.3.0.linux: 2: ./SetupSTM32CubeProgrammer-2.3.0.linux: Syntax error: "(" unexpected

EDIT: As @Goldilocks noted its seems that the install script is for x86; still looking for a way to install on RPI.

8
  • 1
    You should probably explain where you got this since there are a few things which would indicate it cannot be run on a Pi. Are you aware of the significance of the ISA (x86 vs. ARM, etc)? Edit in the output of file ./SetupSTM32CubeProgrammer-2.3.0.linux .
    – goldilocks
    Jan 30 '20 at 13:36
  • @goldilocks Got this on the RPI command line; "there are a few things which would indicate it cannot be run on a Pi" - but is there a definite idea whether it can or cannot?
    – avnr
    Jan 30 '20 at 13:42
  • I meant, where you got the software from. If you wait around for someone who's actually experienced using it, you may be waiting a long time. However, there are ways to determine if it cannot be used that don't require familiarity. The output of file is one thing that would indicate this. It has to do with the ISA...
    – goldilocks
    Jan 30 '20 at 14:20
  • 1
    So the answer to the question I asked earlier, "Are you aware of the significance of the ISA?" would be "No". Your problem is probably more or less this: raspberrypi.stackexchange.com/a/59342/5538
    – goldilocks
    Jan 30 '20 at 15:01
  • 1
    The problem seems to be essentially the same as here: x86 executable failing to run on ARM hardware. Feb 2 '20 at 19:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.