Forum: System Workbench for STM32

Installation of Workbench on Mac 10.13.6

Hi there,

I am trying to install the workbench for STM32 on my mac as part of a school project.

However i am unable to do so, i’ve tried everything described on the forums and the website, but nothing works. Can some one provide a detailed instruction on how to do so.


Thank you very much.

Hi,

Here the link to download the latest version of System Workbench for STM32 on MAC OSX : http://www.ac6-tools.com/downloads/SW4STM32/install_sw4stm32_macos_64bits-latest.runQuestion

Open a terminal then go to the download directory
Set the execution rights to the file “install_sw4stm32_macos_64bits-latest.run”

 
chmod 755 install_sw4stm32_macos_64bits-latest.run

Disable the OSX gatekeeper (admin password required)

xxxxxxxxxx
 
sudo spctl --master-disable

Execute the installer

xxxxxxxxxx
 
./install_sw4stm32_macos_64bits-latest.run

Set OSX gatekeeper back

xxxxxxxxxx
 
sudo spctl --master-enable


If, it does not open the installer GUI or if any step failed, please copy us the error message.

Regards,
Kevin

Hello!
I tried the command lines and I am getting “Bad CPU type in executable”. Here is the full line with my name taken out.
./install_sw4stm32_macos_64bits-latest.run: line 191: /Users/MyNameNoSpaces/Downloads/.jre/Contents/Home/bin/java: Bad CPU type in executable

I am using a new MacBook Air with the M1 chip and Mac Ventura 13.4

Thank you!

Hi,

Sorry, the MacOS version is not maintained anymore. The M1 and M2 chips are not supported.

Regards,
Kevin.

Thank you for your response!
I was able to find a solution using Rosetta 2 by downloading it in the Terminal with this command.
softwareupdate --install-rosetta

I hope this helps!

Hi,

Thank you for sharing your solution! We will add it in the installation steps for MacOS users.

Regards,


Hi,

just to let you know I found this helpful.

Also, installation on 10.14.3 (Mojave) of sw4stm32 v2.8 succeeded without disabling gatekeeper.
chmod 755 was needed though.


Hello kind People,

Have tried theses steps a few times re-downloading the file and trying again but continue to get “no such file or directory” when I go to execute the file. (Note this does not happen when giving the file execution rights)

Any advice?