2023-09-06 11:27 PM - edited 2023-09-20 02:16 AM
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.
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.
This happens no matter it is an MCU or MPU project
Solved! Go to Solution.
2024-10-18 09:58 AM
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!
2024-10-30 01:23 PM
Any progress on this bug?