Skip to main content
sabooh ajaz
Associate
July 12, 2017
Question

CubeMX project in Keil

  • July 12, 2017
  • 14 replies
  • 2955 views
Posted on July 12, 2017 at 04:17

I can not import CubeMX project in Keil.

Problem: The following device family packs are required  by the project   

Keil:STM32L0xx_DFP:1.6.0. 

I have checked from installed packs. it is already there

#stm32cube-bug
This topic has been closed for replies.

14 replies

ST Technical Moderator
July 12, 2017
Posted on July 12, 2017 at 10:28

Hello

ajaz.sabooh

,

Can you please precise which keil and STM32CubeMX versions are you using?

Maybe the keil pack is not properly installed.

So, r

emove

the keil pack

then download it from this link

http://www.keil.com/dd2/Pack/

and try again.

Make sure to use the latest version of keil and CubeMx.

With Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
sabooh ajaz
Associate
July 13, 2017
Posted on July 13, 2017 at 06:23

Here is what is happening with the pictures.

Version are shown at the end

Opened directly from CubeMx.

Shows the first error

you can see ---- Keil:stm32L0xx_DFP is up to date

I clicked install

I clicked Yes

I selected the chip

STM32L073rztx

Here is a fun part.

It compiled correctly

john doe
Senior III
July 13, 2017
Posted on July 13, 2017 at 06:30

>Here is a fun part.

>It compiled correctly

this is why I love st micro chips. every day an adventure!

sabooh ajaz
Associate
July 13, 2017
Posted on July 13, 2017 at 06:39

0690X00000607UeQAI.png0690X00000607ZlQAI.png0690X00000607V1QAI.png0690X00000607a0QAA.png0690X00000607PQQAY.png0690X00000607aAQAQ.png0690X00000607aKQAQ.png

Kindly, neglect the previous comment(reply)

Somehow the pictures are not coming up.

You can see the errors are coming up. But still compiling correctly.

sabooh ajaz
Associate
July 13, 2017
Posted on July 13, 2017 at 10:33

0690X00000607USQAY.png

May be the problem is linked to the fact that, I can not see Any option for CubeMx API or HAL options under DEVICE?

any thoughts.

ST Technical Moderator
July 13, 2017
Posted on July 13, 2017 at 11:40

Have you  tried to remove the pack keil, then re-install ?

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
sabooh ajaz
Associate
July 13, 2017
Posted on July 13, 2017 at 12:25

Yes, I uninstalled keil first.

Then reinstalled it again.

this time I didn't put license information in the license manager

(I was Using Free Keil license for L0 and F0 chips )

So my license now is Evaluation (perhaps limited to 32Kb size)

I tried to import code for L0 -- same error

But I am able to import for F4 chip without Error!

That's a bit weird.

Now am trying to uninstall cubeMx, just to see how things trun out.

sabooh ajaz
Associate
July 13, 2017
Posted on July 13, 2017 at 12:43

Can I generate the code using previous version of the FIRMWARE PACKAGE in CubeMX?

If yes, then please do let me know how to select the previous version

sabooh ajaz
Associate
July 13, 2017
Posted on July 13, 2017 at 12:57

I found the option and tried to generate code from previous version. Still same error.

Then I tried with L1 chip. all works fine with L1 chip.

Now if some please do me a favor and please make a cube project with any L0 chip and import it inside Kiel. I guess only L0 is generating error 

Raimondas Zubavicius
Visitor II
August 28, 2017
Posted on August 28, 2017 at 14:06

Have you solved the problem?

I have this moment the same problem with STM32L031K6Tx and no solution yet.

The same thing happens on two PC's.

Edit: I made compare of two *.uvprojx. One after CubeMX generation, other after manually selecting Device.

I think there is mistake in CubeMX generation.

CubeMX:

<Device>STM32L031K6</Device>

After manually:

<Device>STM32L031K6Tx</Device>
Thomas LB
Associate III
October 20, 2017
Posted on October 20, 2017 at 08:46

Same behaviour with CubeMX 4.22.1, Keil µVision V5.24.2.0 and STM32L031K6.

Can we expect a patch soon (must be pretty easy to fix if it's only a typo in code generation) ?

Raimondas Zubavicius
Visitor II
October 27, 2017
Posted on October 27, 2017 at 09:31

Still no response from ST member.

#stm32cube%20bug

Thomas LB
Associate III
October 27, 2017
Posted on October 27, 2017 at 09:45

Yeah too bad they don't finish the job. 95% is done and usefull and powerfull but these 5% are really frustrating! It's like having a ferrari with a crappy steering wheel: the overall experience is not so good despite the obvious great potential.