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


SW4STM32 IDE crashes when selecting C Project

Hi all,

I’m trying to use Ac6 SW4STM32 but it keeps on crashing when I choose File/New/C Project. The C Project dialog box appears for about half a second then both it and the IDE crash.

My PC is as follows :-
Intel P4 @ 2GHz ; 2 GB RAM ; Kubuntu Linux 14.04 LTS

I thought that I might be having a problem with Java, however I’ve checked the system and Java is installed as follows.

/Ac6/SystemWorkbench$ java -version
java version “1.7.0_121”
OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-1ubuntu0.14.04.3)
OpenJDK Client VM (build 24.121-b00, mixed mode, sharing)

I wondered if it was IcedTea that was the problem and so I installed Oracle Java 7 (jdk-7u80-linux-i586.tar.gz). The installation completed without any errors or warnings. I then added the Oracle Java to my system by using the following command.

sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_11/jre/bin/java 1

as given on the following web page.

OracleJava_7/Oracle%20Java%20JDK%207%20on%20Ubuntu%20Linux%20-%20Source%20or%20RPM%20Installation%20-%20LinuxConfig_org.htm

I then checked on the status of the installation by using the following command:

sudo update-alternatives --list java
sudo password for kub:
/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java
/usr/lib/jvm/jdk1.7.0_80/jre/bin/java

As you can see from the last line, the system has “recognised” Oracle Java as being present.

Within SW4STM32 I’ve then checked Window/Preferences/Oomph/Java Virtual Machine and in the System folder I found the following five options.

/usr/bin/jvm/default-java
/usr/bin/jvm/java-1.7.0-openjdk-i386
/usr/bin/jvm/jdk1.7.0_80
/usr/bin/jvm/java-7-openjdk-i386
/usr/bin/jvm/java-7-openjdk-i386/jre (Current)

However, when I then tried to run SystemWorkbench it still crashed in the same way as detailed above.

Has this happened to anyone else ? If so, how did you cure the problem ?

Is there some change I have to make to SW4STM32 to get it to use Oracle Java instead of IcedTea and if so what do I change and where do I make the change(s) ?

Yours sincerely,

Stuart

 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs