Skip to main content
Garnett.Robert
Senior III
September 22, 2020
Question

Cannot create Keil uVision 5.27 Project with CubeMX 6.0.1

  • September 22, 2020
  • 29 replies
  • 23458 views

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
October 6, 2020

Hi,

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

Regards,

Hugues

Garnett.Robert
Senior III
October 6, 2020
Hi Hugues,
Here it is!
Best regards
Rob
Hugues DE CARVALHO
Visitor II
October 7, 2020

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
October 7, 2020
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
October 13, 2020

Hello,

I have had the same problem.

The solution was to reinstall the java environment.

Regards

Horst

askari.nima
Associate III
October 22, 2020

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

Bçeki.1
Visitor II
January 21, 2021

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
February 17, 2021

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
February 17, 2021

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
April 19, 2021

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.