Skip to main content
psanyi
Associate
July 21, 2020
Question

Keil poject generation fails on windows 10 build 19041.388 with STM32CubeMx 5.6.0

  • July 21, 2020
  • 3 replies
  • 1042 views

It seems that windows 10 version 2004 (build 19041.388) affects somehow the keil project file generation. It fails with the error:

"The code is succesfully generated but MDK-ARM v5 project generation have a problem".

Question is: Where is the problem ?

I tried to generate in different locations e.g. C:\ , C:\Users\myuser\ but it did not worked for me

Last try was on Windows version 1809 (build 17763.1294) and it worked perfecly

Java version (non working)

C:\Users\psany>java -version

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)

Java version (working)

openjdk version "1.8.0_252"

OpenJDK Runtime Environment (Zulu 8.46.0.20-SA-win64) (build 1.8.0_252-b14)

OpenJDK 64-Bit Server VM (Zulu 8.46.0.20-SA-win64) (build 25.252-b14, mixed mode)

Regards

Sandor

This topic has been closed for replies.

3 replies

psanyi
psanyiAuthor
Associate
July 21, 2020

Finally I found the problem myself.

The problem is caused by java runtime from Oracle (SE)

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)

FIX: Downloaded the OpenJDK from here:

https://adoptopenjdk.net/

Now the java version is:

openjdk version "11.0.8" 2020-07-14

OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10)

OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)

It works fine.

TBrow.3
Associate
November 2, 2020

I'm having the same issue.

How did you determine what was the problem?

Is there a log file of the code gen process somewhere?

TBrow.3
Associate
November 26, 2020

Found logs. Java version was wrong. All working.