cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE Version: 1.6.0 would not generate code for a new project for any uC series (but will update code for existing projects)

ksale.1
Senior

I encountered this problem after trying to create a project from an existing ioc file. Afterwards all my endeavors failed as per the below screenshots:0693W000008yEOnQAM.jpg0693W000008yEOsQAM.jpg0693W000008yEP7QAM.jpg0693W000008yEPHQA2.jpg0693W000008yEPRQA2.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

I think bug is really about project folder location support if only a single folder on top of disk drive root.

On my side I've got a try (and same issue so) based on File > New > STM32Project.

I guess bug is about unchecking 'use default location' and setting destination folder so close to disk drive root. If keeping default project location is at min 2 level deep within file system hierarchy because first workspace then project repository like : <disk drive root>/<workspace repository>/<project repository>

@STM_support please consider such !

View solution in original post

7 REPLIES 7
Cartu38 OpenDev
Lead II

On latest dialog popup what about if clicking ok then ask for code generation back relying on dedicated toolbar icon (gear weel) ? Is project generating fine then ...

ksale.1
Senior

The IDE will crash and I had to kill it.

ksale.1
Senior

I've tried to uninstall/redownload the IDE. Still I've the problem. Apparently the uninstall does not provide a clean slate as the installed packages in the old installation are still alive and well, e.g. TouchGFX. Can you please advise how can I really get a fresh start so that I can resume my project.

I've been able to reproduce following your snapshots.

Have a try to set as project location D:\myWorkArea\TEST ... works for me ... sounds a bug here using non default location having only one level hierarchy on top of drive root. Adding extra level is solving trouble.

Have a try and share if helping

Thank you very much, it is working for me now as you advised.

What do you advise regarding this option (which I believe is the culprit):

0693W000008yL9GQAU.jpg 

I think bug is really about project folder location support if only a single folder on top of disk drive root.

On my side I've got a try (and same issue so) based on File > New > STM32Project.

I guess bug is about unchecking 'use default location' and setting destination folder so close to disk drive root. If keeping default project location is at min 2 level deep within file system hierarchy because first workspace then project repository like : <disk drive root>/<workspace repository>/<project repository>

@STM_support please consider such !

I cannot say for sure, but I believe I tried to use the ioc file to a project repository located deep within the file system when the problem occurred for the first time. However @STM_support can look into it. Thank you for your help.