Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


problems installing System Workbench for STM32 on macOS Monterey.

Hi, as the Title says I’m trying to install The System Workbench for STM32 on macOS Monterey 12.5 but I’m having some problems. my PC is a MacBook Pro with an M2. What I do is:
I install the latest macOS installer, which is a .run file. I run chmod and give it exec permissions, then I open the .run file. the installation starts, but after a bit I’m met with this error:

installer: Package name is ST Link Server
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. The package is attempting to install content to the system volume.)

++ sed-e’s/ /11 /g’ -e’s/”//q’ + pkg=’/Applications/Ac6/stlinkserver/st-stlink-server.*.pkg’ + shift + mnt point =/ + shift + extra args= + eval sudo installer -pkg ‘/Applications /Ac6/stlinkserver/st-stlink-server.* pkg’ -target / ++ sudo installer -pkg / Applications/Ac6/stlinkserver/st-stlink-server.1.2.0-1.pkg -target /

Continue Installation?

Running with sudo doesn’t help.
If I say continue installation, The installation ends and I can open the workbench normally. When opening the workbench some errrors are displayed which are all like the following:

Failed to extract ‘/Applications/Ac6/
SystemWorkbench.app/Contents/Eclipse/plugins/
fr.ac6.mcu.externaltools.arm-
none.macos64 1.17.0.201812190825/tools/st-gnu-
arm-gcc-7-2018-q2-update_gdb-5_4-201693-
mac.tar.bz2’ to ‘/Applications/Ac6/
SystemWorkbench.app/Contents/Eclipse/plugins/
fr.ac6.mcu.externaltools.arm-
none.macos64_1.17.0.201812190825/tools/
compiler’ (tar returned ‘1’)

if I unzip the files that give these errors manually and put the unzipped files in the correct locations, I can actually get rid of these errors. Problem is this solution doesn’t seem to work that well. Main problem is that I can’t flash my programs into my NUCLEO board since the ST Link Server is missing. It also gives me an error with openOCD saying that it can’ configuration files are missing (problem with debug). Is there any support for M1/M2 MacBooks or am I just wasting my time here? Please let me know if there’s any real solution to these problems.

Hi Luca,

Sorry but MACOS version is currently discontinued thus the newer M1/M2 Mac are not supported. I recommend you CubeIDE from ST for your projects.

Regards.

I understand, thank you. Is there a Linux arm64 version of SW4STM32 I can maybe use in a virtual machine? My professors wants us to use this software and Emulating a x64 Linux OS is too slow.