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


System Workbench for STM32 failed to run on Mac OS X

I too am having trouble installing on OS X.
High Sierra, 10.13.3

It gets this far then stops (command line install)

─────────────────────────────────────────────
Installation
─────────────────────────────────────────────

[[ Starting to unpack ]
[[ Processing package: System Workbench for STM32 (1/2) ]
------------------------------------------------------------------------------------------------------------------------
Execution Failed

Failed to install the bundled Java Runtime Environment into System Workbench for STM32 (error 16)
Application runtime will attempt to refer any already installed JRE
 
sed: can't read s,\(
*\)\(~/.eclipse_keyring\),\1\2\1-vm\1jre/Contents/Home/lib/jli/libjli.dylib,:
No such file or directory
 
Continue Installation?

------------------------------------------------------------------------------------------------------------------------
Enter Y for Yes, N for No: 


Can anyone guide me through this error?

I met this problem, too. Does anyone know how to solve it on OS X.

Looking this topic I did a test on a Macbook running High Sierra (10.13.3) too, everything works like a charm with latest SW version.

Note that the installer expands the JRE next to it, within a jre1.8.0_151.jre/ folder, renamed later to .jre/
Hence make sure before launching the installer that you have enough space on the disk, and that above directories do not exist at the installer location.

About the “sed” error, could you check when the error happened if :
- SystemWorkbench.app/Content/Info.plist exists ?
- JRE is succesfully copied in SystemWorkbench.app/Content/MacOS/jre ?

Thank you for your answer.

The problems is still on and info.plist exists.


For community sharing; the issue is related to the fact that homebrew is installed.

It contributes a sed version with unexcepted behavior using -i option.

To fix your installation you need to make sure that you are using the /usr/bin/sed :

$ which sed
/usr/bin/sed

Was seeing the ‘sed’ issue on Mac OS X Sierra (10.12.6). Had homebrew installed so:

% which sed
/usr/local/bin/sed

The simple fix was to temporarily move homebrew sed out of the way:

% cd /usr/local/bin
% mv sed sed0

Now sed reports using the stock one:

% which sed
/usr/bin/sed

Ran the installer. This time it ran to completion. Then renamed sed back to where it was:

% cd /usr/local/bin
% mv sed0 sed

Thanks for the tip.