Skip to main content
Garnett.Robert
Senior III
Sep 22, 2020 6:36 AM UTC
Question

Cannot create Keil uVision 5.27 Project with CubeMX 6.0.1

Hi

After updating to CubeMx 6.0.1 and my STM32H7 Pack to 1.8.0 I cannot create project code for Keil uVision 5.27.

After pushing the create code button it brings up the progress bar, seems to be doing stuff and then brings up a dialog:

---------------------------------------------------------------------------------------------------------------------------------------

"The code is successfully generated under G:/LoranReceiver_002 but MDK-ARM V5.27 project generation have problem."

---------------------------------------------------------------------------------------------------------------------------------------

When I open uVision I get an error:

--------------------------------------------------------------

"Error: Device not found -

Device: '??device??'

Vendor 'STMicroelectronics'

Please update your device selection."

--------------------------------------------------------------

The uVision file tree is empty of files and when you open the uVision config dialog no device is selected.

I tried the same project with Atollic and it worked fine.

I have not made any changes to uVision 5 since I used it successfully with older versions of CubeMX.

All my MCU packages are up to date in uVision.

I tried ti with an STM32H743ZIT and an STM32F411RE and had the same problem with each.

I have NEVER had any problems with the CubeMX uVision 5.xx before today.

An no I'm not going to change to TrueStudio, it's hard way of doing a simple job and I don't want to waste my time grappling with Eclipse.

Can anybody assist?

Best regards

Rob

This topic has been closed for replies.

29 replies

Hugues DE CARVALHO
Visitor II
Oct 6, 2020 4:46 AM UTC

Hi,

Could you please share your .ioc file? I am not able to replicate your issue.

Regards,

Hugues

Garnett.Robert
Senior III
Oct 6, 2020 5:41 AM UTC
Hi Hugues,
Here it is!
Best regards
Rob
Hugues DE CARVALHO
Visitor II
Oct 7, 2020 12:51 AM UTC

Hi,

It seems that your files weren't uploaded properly.

Attached a random .ioc file (I'm just testing if I can upload).

Regards,

Hugues

Garnett.Robert
Senior III
Oct 7, 2020 2:18 AM UTC
Hi Hugues,
I was able to download your file OK.
I will add my files to the support ticket. That will get around the email problem (i hope).
Best regards
Rob
HPfaf.1
Visitor II
Oct 13, 2020 8:06 AM UTC

Hello,

I have had the same problem.

The solution was to reinstall the java environment.

Regards

Horst

askari.nima
Associate III
Oct 22, 2020 6:33 AM UTC

I have this problem. I installed all version of java. but it does not work yet

Bçeki.1
Visitor II
Jan 21, 2021 12:16 PM UTC

Hi,

I had the same problem. I worked eclipce before and i installed jdk under the path  C:\Program Files\Java\jdk. I just delete this jdk file and problem solved. I didnt understand what happened but it works fine now.

Garnett.Robert
Senior III
Feb 17, 2021 10:24 PM UTC

Hi,

I did as you said, but sadly It didn't work.

It really *****. I'm paying $1,300 Au per annum for uVision and I can't us it. I don't like Eclipse as I seam to spend more time trying to get that to work than writing useful code.

I'm pretty sure Java is the problem as the word Java in computer language is the word for the Engish language words; "big problem"

I uninstalled uVision and reinstalled it - same probem. So the problem is in CubeMX and it's about time they sorted it out.

Best regards

Rob

Hugues
Visitor II
Feb 17, 2021 10:30 PM UTC

Hi Rob,

Maybe you should consider Using STM32CubeIDE when you work with STM32CubeMX.

It's also based on eclipse and it's free.

Best Regards,

Hugues

CPeno
Visitor II
Apr 19, 2021 1:40 PM UTC

It also happened to me because I have many java versions installed on my Windows 10 pc. I found a workaround by executing cubeMX from command prompt as java -jar cubeMX.exe. See attachments. When I choose java version 1.8.0_201 from command prompt it creates all MDK-ARM projects correctly. When I run cubeMX 6.0.1 from icon it fails to create MDK project.