Skip to main content
Just Matt
Associate III
October 4, 2020
Solved

STM32CubeMX MDK-ARM project generation failure

  • October 4, 2020
  • 1 reply
  • 4600 views

Windows 10 64bit - STM32CubeMX 6.0.1 - STM32H7B3LIHxQ MCU

Attempting to generate a fresh project and get the below error. Any thoughts on how to resolve the issue? project file attached. Thanks!

0693W000004IbAjQAK.jpg

This topic has been closed for replies.
Best answer by Aymen CHAKROUN

Good, I found your issue !

STM32CubeMX is pointing to JAVA 13 :(

below and extract of the log:

2020-10-05 09:18:38,387 [INFO] MicroXplorer:564 - Detected Java Version = 13.0.1

As described in the STM32CubeMX User Manuel UM1718.pdf, CubeMX is not validated with JAVA 13.

Can you clean your environment by installing only JAVA8 and updating your Java path is configured?

Regards,

Aymen.

1 reply

Aymen CHAKROUN
ST Employee
October 5, 2020

Hi @Just Matt​ ,

Can you please provide us the JAVA version used in your Windows 64-bit.

You can open CMD console and do the command:

java -version

Regards,

Aymen.

Just Matt
Just MattAuthor
Associate III
October 5, 2020

Hi Aymen,

java version "1.8.0_261"

Java(TM) SE Runtime Environment (build 1.8.0_261-b12)

Java HotSpot(TM) Client VM (build 25.261-b12, mixed mode, sharing)

Thanks!

Matt

Aymen CHAKROUN
ST Employee
October 5, 2020

Hi @Just Matt​ ,

Strange, you are using JAVA 32-bit and you should get a popup when you install and execute STM32CubeMX.

Can you tell us how you are executing STM32CubeMX? by double click the .exe or by running the java -jar command line?

Finally, can you please remove all your JAVA installation and re install only JAVA 64-bit to see if the problem still exist ?

Regards,

Aymen.