2024-07-18 08:29 AM
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 :
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
2024-07-18 10:07 AM - edited 2024-07-18 10:27 AM
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/um2609-stm32cubeide-user-guide-stmicroelectronics.pdf
https://www.st.com/resource/en/product_presentation/stm32cube_ecosystem_overview.pdf
2024-07-19 01:22 AM
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...
2024-07-19 02:09 AM - edited 2024-07-19 02:15 AM
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 ->
-> manage software packs , then:
-> from local , is your friend.