Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


[seems workaround available]after update cubeMX plugin to version 4.20.1, many crashs on eclipse

This happens on Ubuntu, eclipse CDT Neon.3 .

one of crash message as below.
---------------------------

  1. A fatal error has been detected by the Java Runtime Environment:
  2. SIGSEGV (0xb) at pc=0x00007fb9c52ec2b7, pid=18402, tid=0x00007fb9d234a700
  3. JRE version: OpenJDK Runtime Environment (8.0_121-b13) (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
  4. Java VM: OpenJDK 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
  5. Problematic frame:
  6. C libgdk-x11-2.0.so.0+0x4e2b7 gdk_display_open+0x57
  7. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again
  8. An error report file with more information is saved as:
  9. /home/nsun/liveToolsTrack/liveEclipseCppNeon3/hs_err_pid18402.log
  10. If you would like to submit a bug report, please visit:
  11. http://bugreport.java.com/bugreport/crash.jspQuestion
  12. The crash happened outside the Java Virtual Machine in native code.
  13. See problematic frame for where to report the bug.

This is a crash with the JRE and AFAIK CubeMX do not deliver any update of Java, it should not be related to your recent update of CubeMX.
Anyway to a a chance to understand the crash could you attach the report (hs_err_pid18402.log) to this thread ?

here I have the log uploaded.

Before update CubeMX to 4.20.1, I have bunch of eclipse CDT updated, mainly “Eclipse C/C++ development tools” 9.2.1.xxx . Not sure that related?


I have a workaround and it seems fix the problem.

It has beeen a long period that need to restrict GTK_version to 2, or the eclipse with CubeMX plugin crashs.
Few versions of CubeMX after 4.16 seems removed the restriction and now with 4.20.1 it comes back.

So, add below line into eclipse.ini

--launcher.GTK_version
2


Hope it help.