2020-12-09 12:10 AM
I hope this is the right thread for my question. I recently decided to switch to STM32CubeIDE from the online compiler as there is debugging and is offline capable.
I downloaded STM32CubeIDE and went to create a new STM32 Project. I selected my dev board and the firmware files automatically downloaded and unzipped. I then accepted all the default settings, however the error "Code generation could not be done because the necessary firmware package is missing. Not able to complete STM32Cube project creation." was thrown (and is thrown every time I try).
I have tried re-downloading the firmware files (which is painful due to having a very slow and expensive connection because of where I live, hence the desire for offline) and tried suggestions like this: https://community.st.com/s/question/0D53W00000NzOxxSAF/errors-in-stm32cubeide-firmware-update-offline with no success.
I also do not know what files I actually need, what the error in the second image means or how to fix it, and what I need to do to fix the firmware repository settings.
Thank you for your help in advance!
2020-12-09 05:14 AM
To close the IOC file, go to the main window and click the "X" in the tab that shows the IOC file open.
You can also access the updater in Help -> Check for Updates and Help -> Manage Embedded Software Packages. These updaters work for me.
I also suggest updating to the latest IDE version. There have been worthwhile improvements since 1.3.0.
The process is not very bandwidth friendly, unfortunately.
2020-12-10 01:01 AM
Thanks heaps for your reply!!
I was worried you were going to say update haha. But if it needs to be done it needs to be done I suppose! It might have to wait a couple of days before my mobile plan renews though hahaha.
But I'll let you know how it goes! Thanks again!!
2020-12-10 02:34 AM
Hi CWill.3,
To start working with STM32CubeIDE, you can refer to these links:
Best Regards,
Ons.
2021-02-04 04:47 AM
Unfortunately, due to circumstances out of my control I had to put this down for a couple of months. However I now live in an area with a much better internet connection!
So I have done as you suggested, I erased as much of v1.3.0 with IObit Uninstaller and installed v1.5.0 (as far as I can tell this is the latest version?). However still the same error!!!
I ran all the updaters in the Help menu I could. I also noticed that when creating a new STM32 Project when I went 'next' I could change the search location for the Firmware Installation Repository, is this the correct location?? It was originally somewhere else (seemingly a random unrelated place), however I cannot remember where woops!!
Another question I have is does the Workspace Directory location affect anything?
Cheers again!!
2021-02-04 04:54 AM
Hi Ons,
Thank you for your reply!! Sorry I have taken so long to get back to you. I unfortunately had to put this down for a couple of months due to circumstances outside my control.
Yes I have read as much relevant reference material I can find. However, I cannot even start the project as I think cubemx cannot find the files to tell it about how to set up the board I have. At least this is how I understand the issue. I will try and go over those references again with more attention to see if there is anything I have missed!
Thanks again!
2021-02-26 01:53 AM
Hi CWill.3,
Can you please mark your question as answered in case your issue is solved ?
Best Regards,
Ons.
2021-03-09 04:21 AM
Hi Ons,
Sorry for the late reply. I never did figure out what was going wrong so I ended up switching to a different platform sorry :\
So I'm not sure what to do as the question was never answered but I have moved on now, I don't know what you want to do??
2021-03-09 08:09 AM
Hi CWill.3,
I hope you come back again and your experience with STM32CubeIDE will be better than previous one as currently several improvements are done with the version 1.6.0
Best Regards,
Ons.
2021-12-03 07:06 AM
So I'm having the same issue, both CubeMX and CubeIDE are up to date, yet no luck.
To be clear, I'm able to create/open a workspace, and have an .ioc file. Why the IDE cannot 'create an existing project via .ioc file' is very confusing...