cancel
Showing results for 
Search instead for 
Did you mean: 

STMCubeIDE fails to create new STM32 Project

Just downloaded and installed STMcubeIDE 1.0.0 but it doesn't seem to work at all.

Tried to create a new project:

  • selected board Nucleo-F429ZI
  • tried to create a project

Fails as follows:

0690X000008BLHmQAO.png

Any idea what's going on here?

Has anybody actually gotten this stuff to work?

Thanks,

Best Regards, Dave

12 REPLIES 12
Markus GIRDLAND
ST Employee

%20 is a space, if I'm not mistaken? Is the user name Dave Nadler?

There's a ticket regarding the installation not working if installed into Program Files but I guess what is happening here is that project creation won't work with a space in the user name either and is generating a different kind of error.

Yes, user name has a space - as do many if not most Windows machines...

The installation default should be under "Program Files", not a c:\ST\... directory! Really!

I did a 2nd install using the non-standard C:\ST path but got the same error.

Are you able to verify that the blank in user name is the problem?

What's the plan to fix this (and the default installation location)?

Thanks!

@Markus GIRDLAND​ - Any help here???

I'm looking into this a bit further. I'll get back to you soon on this, just wanted to let you know I'm not ignoring it.

In order to know for sure if it's the space or not, please test the following:

  1. Exit STM32CubeIDE
  2. Go into the installation directory (C:/ST/STM32CubeIDE_1.0.0/STM32CubeIDE by default) and edit the stm32cubeide.ini file
  3. Add this line at the end of the .ini file: -Djava.io.tmpdir=C:/ST/tmp
  4. Create the tmp folder in the C:/ST directory
  5. Start CubeIDE and try to create a project

Please let me know the result after that. I tried setting up a test environment with a user with a space in its name but I don't get the error at all so I can't test it.

> In order to know for sure if it's the space or not

Apologies for jumping into this thread.

AFAIK the Microsoft's protection against ransomware (aka "Controlled Folder Access") when enabled can cause weird access errors in unusual places.

It is very restrictive; "power users" usually turn it off.

-- pa

@Markus GIRDLAND​ - Now I can create a default C++ project, so failing on space within the Windows User Name may be the bug.

However: After making NO peripheral changes or doing anything in CubeMX perspective:

  • the Generate Code option/button thing is missing
  • File Save is grayed out

Where has the "Generate Code" button gone?

@Pavel A.​ Why? That's a completely unrelated set of bugs...