cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE doesn't generate an executable project

QuentinHUET
Associate

Hello!

I have an issue when creating a new project through STM32CubeIDE.

I use the application on Windows, it is STM32CubeIDE v1.16.0 and I try to work on an STM32H563ZI.

I installed it off line (security constraints preventing any network connection) so I installed the Application as well as the STM32CubeH5 package by manually downloading and installing them.

The issue I'm facing is that when I follow the usual procedures to generate a new project, said project doesn't seem to be an Application and therefore cannot be built, debugged nor launched.

The following image is the project generated :

QuentinHUET_0-1721316387270.png

As you can see, many elements seem to be absent. I am a beginner in STM and STMCubeIDE, so maybe I didn't get all the necessary packages or something, but I'm really stuck on this and I can't find a solution for this.

If anyone knows how to solve this issue, please let me know!

Many thanks,

Quentin

 

3 REPLIES 3
AScha.3
Chief III

Hi,

>I follow the usual procedures to generate a new project

What is "usual" , if >I am a beginner< is true ? 

Show, detail, what you did/try - or just :

menu > File > new > STM32Project > /select your target cpu or board / > /+give new name/ > finish.

Then select in Cube , what you want (Minimum: debug serial wire , + clock tree without errors)

Then gen.code , compile, start (setup..) debug and try.

 

Nothing happens by itself. If you are not so sporty, you can also learn and read

https://www.youtube.com/watch?v=eumKLXNlM0U

https://wiki.st.com/stm32mcu/wiki/Category:STM32CubeIDE

https://www.st.com/resource/en/user_manual/um2553-stm32cubeide-quick-start-guide-stmicroelectronics.pdf

https://www.st.com/resource/en/user_manual/um2609-stm32cubeide-user-guide-stmicroelectronics.pdf

https://www.st.com/resource/en/product_presentation/stm32cube_ecosystem_overview.pdf

 

If you feel a post has answered your question, please click "Accept as Solution".

Hello!

Thank you very much for your answer.

Yes, by usual I mean the process explained in the various docs :

  > menu > File > new > STM32Project > /select your target cpu or board / > /+give new name/ > finish.

  >Then select in Cube , what you want (Minimum: debug serial wire , + clock tree without errors)

  >Then gen.code , compile, start (setup..) debug and try.

I tested the IDE on another computer (MacOS) with network compatibility and everything went fine, I could build/upload my code to the board without issues. What I meant is that I followed the same steps but without success this time. I'm stuck at this part :

>Then gen.code , compile, start (setup..) debug and try.

I cannot build the code (the option isn't even there). And trying to launch the debug/run options result in the "The selection cannot be launched, and there are no recent launches" error. My main theory is that I'm missing some packages to get the App to work as intended but I cannot find which ones...

Hi,

aaah, ok, so this is more/better info about your problem - i see now...

>on another computer (MacOS) with network compatibility and everything went fine, I could build/upload my code to the board without issues.

Ok, so just HERE you have the problem, maybe because not online and so something is missing 
(but we dont know , whats missing...)

So you cannot get in online  > security constraints preventing any network connection < even just for install IDE ?

Just another idea: install CubeProgrammer (and yes, if no other way: download package for it, download also the needed (for all cpu series you want to use then), eg. stm32cube_fw_h5_v111.zip );

then try install offline on the other PC...

Maybe look at the working/online installation, what it has loaded ; CubeProgrammer can generate code also, its same as the plugin in IDE ; (sometimes it can "repair" the plugin...so try.)

To load the cpu package in Cube:

open Mx in IDE or CubeProgrammer ->

AScha3_1-1721380391304.png

-> manage software packs , then:

 

AScha3_0-1721380336846.png

-> from local , is your friend.

If you feel a post has answered your question, please click "Accept as Solution".