cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX Won't start after Windows update - Dec 2023

patm
Associate II

I went to use STM32CubeMX and I get the splash screen then nothing. I downloaded and installed the latest version V6.10.0 and still the same. I am running windows 10 professional. Does anyone else have this problem ?

I wonder if there has been a Java update that has broken this ?

7 REPLIES 7
Semer CHERNI
ST Employee

Hello @patm 

First let me thank you for posting.

Any update to JAVA version should not be an issue as STM32CubeMX have it's own JRE.

To be able to locate the issue, could you run CubeMX with CLI and share the console log.

KR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

patm
Associate II

Please find below. The splash screen appears then disappears.

 

C:\Program Files (x86)\STMicroelectronics\STM32Cube>dir/w
Volume in drive C is OS
Volume Serial Number is FC12-02D6

Directory of C:\Program Files (x86)\STMicroelectronics\STM32Cube

[.] [..] [STM32CubeMX] [STM32CubeMX_V5_6_1]
0 File(s) 0 bytes
4 Dir(s) 235,498,991,616 bytes free

C:\Program Files (x86)\STMicroelectronics\STM32Cube>cd STM32CubeMX

C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX>dir/w
Volume in drive C is OS
Volume Serial Number is FC12-02D6

Directory of C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX

[.] [..] .installationinformation [db]
[help] [olddb] [plugins] STM32CubeMX.exe
[third_parties_plugins] [Uninstaller]
2 File(s) 43,357,097 bytes
8 Dir(s) 235,499,040,768 bytes free

C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX>stm32CubeMX

C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX>

 

Semer CHERNI
ST Employee

Try to run this command in the installation folder of CubeMX:

jre\bin\java -jar STM32CubeMX.exe -i

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Output attached.

Semer CHERNI
ST Employee

Hello @patm 

Could you share the content of the STM32CubeMX\plugins\ folder and the access right given to this folder.
According to the log file some plugins (projectManager, filemanager, pinoutconfig) seems to be missing.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

patm
Associate II

Please find attached.

Stm32CubeDirectory.JPG

patm
Associate II

Since there is no more help from ST on this issue @Semer CHERNI , I decided to remove STM32CubeMX from my PC and try a reinstall. I couldn't remove it via windows control panel so I used the command line but there is an error.

Does anyone know what the issue is and how to resolve it ?