cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Not generating files

joao23
Associate II
Posted on January 28, 2016 at 20:57

The STM32Cube does not generate some .c and .h files for my code.

I'm using MDK-ARM V5 toolchain for my project.

Whenever I try to create another project the missing files change in random fashion, sometimes its mxconstants.h, another time it's stm32F4xx_hal_conf.h.

I've read in older discussion that some people had this problem before, but no solution was presented. 

Can someone please help me.
12 REPLIES 12
Nesrine M_O
Lead II
Posted on January 29, 2016 at 08:07

Hi laitano.joao,

Could you precise which CubeMX version are you using?

-Syrine-

joao23
Associate II
Posted on January 29, 2016 at 09:44

I'm using the STM32CubeMX 4.12.0.

Another issue that is bothering me is that I can't uninstall the Cube by the usual way in the control pannel, can it be that the software wasn't installed properly.

joao23
Associate II
Posted on January 30, 2016 at 21:27

I'm still having the same problem, now I noticed that if I download an earlier library the missing files change eve though the stm32f4xx_hal_conf.h is always missing.

I really need the help of the ST technical support on this issue. 

Nesrine M_O
Lead II
Posted on February 01, 2016 at 10:20

Hi laitano.joao,

• Try to uninstall MX using the software :C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX\Uninstaller

• Make sure that all folder and files related to MX are closed when doing the uninstall 

• Verify that the .stm32cubemx folder is removed from your work space, else try to remove it manually.

• Then try to install MX.

• If the problem still exist please try to share with us the error message from windows 

-Syrine-

joao23
Associate II
Posted on February 01, 2016 at 12:35

Hi, I can't uninstall, I double-click on the icon but it simply wont execute. Even by the control panel I can't uninstall. Few days ago I was able to uninstal now its not working. Things are getting weirder.

What to do now? Uninstall manualy?

joao23
Associate II
Posted on February 01, 2016 at 17:22

I fixed it.

I removed all the libraries that I've downloaded, includin the 1.10 version. Then I deleted manualy every stm32 file on my computer.

After all that I installed again the MX, and dowloaded again the 1.10 package for the F4 family.

Anyway thanks by the support ST.

Nesrine M_O
Lead II
Posted on February 01, 2016 at 18:17

Hi  laitano.joao,

It is good to hear that it was solved,thank you very much for your interest on STM32 products.

-Syrine-

joao23
Associate II
Posted on February 04, 2016 at 18:21

Hey, the problem is happening again. I made just one project that worked, then turned down my PC went to sleep and next morning I couldnt compile the code of any new project again since then.

Since tuesday I've tried uninstalling and making new projects that the code could be compiled on keil but so far nothing.

What to do now?

Here some of the pictures of the bugs:

________________

Attachments :

r01.6ou.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htmk&d=%2Fa%2F0X0000000aWt%2FsAyoc40fG_pG4giw3O64soctM06uvq_9UI_QFSXggMY&asPdf=false

r01.7.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htmp&d=%2Fa%2F0X0000000aWv%2FCWm.BjEvr6xqEWPRuFv6j81mZoHza8W1pJf87DqJ918&asPdf=false
Radosław
Senior II
Posted on February 04, 2016 at 18:27

try switch off antyvirus.

you are working on administator rights?