cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 6.9.0 keyboard entry no response frozen, freeze, stuck (Linux)

debugging
Lead

Using the latest CubeMX 6.9.0 on Ubuntu  23.04  The following has happened quite a few times in the past years , also on  previous Linux and CubeMX versions. Now would like to raise this  issue as it's becoming very annoying now doing more work in CubeMX. There are now more situations where the keyboard just does not respond anymore. The mouse does.

1. When creating a new project and entering an partnumber, the dialog box  sometimes get stuck. Mostly after entering a partnumber that does not exists.  You can continue by  selecting from the drop down list and then creating the project,  but when trying to save you are out of luck, you cannot enter a filename so you have to start all over again. a lot of wasted time.

debugging_1-1694068142761.png

2. When entering a pin number in the dialog box. sometimes this text box get stuck. Luckily you can save the project, but need to close CubeMX and restart it gain. A lot of time wasted.

debugging_0-1694068094636.png

 

This happens no matter it is an MCU or MPU project

 

 

 

 

11 REPLIES 11

Post java install:

It appears that jre 17 is the stock version for Debian 12. After an apt install this is what I get

java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (build 17.0.12+7-Debian-2deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.12+7-Debian-2deb12u1, mixed mode, sharing)

And when running CubeMX it appears to still use the version of java in the CubeMX directory

jdosher@feynman:~/STM32CubeMX$ ./STM32CubeMX  
Check exe path on linux
FullExe path1 is: /home/jdosher/STM32CubeMX/STM32CubeMX
Exe path is: /home/jdosher/STM32CubeMX
Search java from relative path ----
Checking java in /home/jdosher/STM32CubeMX/./jre/bin/java
current working dir : /home/jdosher/STM32CubeMX
av[0] ./STM32CubeMX
chdir to :/home/jdosher/STM32CubeMX/.
New current working dir /home/jdosher/STM32CubeMX
Full command: /home/jdosher/STM32CubeMX/./jre/bin/java
-args[0] java
-args[1] -jar
-args[2] STM32CubeMX

So, not much difference in versions. 17.0.11 for the one in the CubeMX directory, and 17.0.12 for the apt installed version. 

 

The rest of my system is pretty stock Debian 12, with updates applied frequently.

I've had to resort to making project modifications in CubeMX on my Macbook, check it into git, then going back to my Linux box, pulling the update, then moving on. It gets a bit tedious doing that!

Any progress on this bug?