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


JRE crashes with SIGSEGV when Unbuntu 16.04 AMD64 is run.

Must be the witching hour. I’m not having any luck getting SW4STM32 64-bit installer to run at all.


Oct 31, 2016 10:20:03 PM INFO: Logging initialized at level ‘INFO’
Oct 31, 2016 10:20:03 PM INFO: Commandline arguments:
Oct 31, 2016 10:20:03 PM INFO: Detected platform: ubuntu_linux,version=4.4.0-45-generic,arch=x64,symbolicName=null,javaVersion=9-internal

  1. A fatal error has been detected by the Java Runtime Environment:
  2. SIGSEGV (0xb) at pc=0x00007f40cf4ef009, pid=7936, tid=7965
  3. JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
  4. Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
  5. Problematic frame:
  6. C libjava.so+0x1d009 JNU_GetEnv+0x19


I’ve attached the JRE log file. Does anyone have any ideas?

TIA,
Chuck


Hi Bernard,

I suspected that JRE was at fault- it had been installed as a result of installing Microchip MPLAB X (never could get the Pickit 3 programmer wroking right with it on Linux or Windows), so I uninstalled MPLAB X. Apparently, it left some garbage behind.

So it was a matter of

$ sudo apt-get remove jdk*
$ sudo apt-get install default-jre

After that, the installation of System Workbench went without a hitch.

Thanks,
Chuck

P.S. Old MPLAB 8.92 running on XP in a Linux VirtualBox does work well, but is slow. I hope that System Workbench is easier going with the STM32 chips.