cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX project in Keil

sabooh ajaz
Associate II
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
14 REPLIES 14
Imen.D
ST Employee
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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
sabooh ajaz
Associate II
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

sabooh ajaz
Associate II
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.

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 II
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.

Imen.D
ST Employee
Posted on July 13, 2017 at 11:40

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
sabooh ajaz
Associate II
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 II
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 

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.