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!
2021-12-03 07:10 AM
Just this long 'spinning' and eventually times out with the error above -
2021-12-03 07:12 AM
To be clear, all the code files are present in the directory, why this needs to regenerate anything doesn't makes sense -
2021-12-03 07:33 AM
This is madness... says it wants the given 'firmware package', which appears to be clearly in the default location...
2021-12-07 01:37 PM
Ok learned a lot after tinkering, appears there are a LOT of nuances with the IDE...
At any rate:
Cheers
2023-08-25 07:12 PM
I also had the same problem.
Please try uninstalling the CubeIDE software and then reinstalling the CubeIDE with administrator privileges.
I was able to resolve this issue.
2024-04-17 06:46 PM
Problem can be solved simply by login into your ST account from cubeIDE
2024-05-14 04:43 AM
I have exactly the same problem trying to solve for hours. Tried all the solutions on this and other topics none of them worked out. Main problem is I can't log in my st gives connection error and this results I can't update packages. Even I manually download and unzip files to the repostiry file I couldn't generate code-> couldn't update firmware -> Couldn't log in.
2024-08-21 07:01 AM - edited 2024-08-21 07:02 AM
In STM32cubeide application, login if you have an st account or create an account and login in help update bar.
The problem will be solved.
2024-10-08 12:02 AM
i had the same problem, i was logged in to my st account, it even downloaded the firmware right there but i always got the error mentioned above, missing firmware.
I realized i could create a project on a different local server in our company just fine, so this might also have something to do with user rights, idk. Just make sure to check if you can create on a workspace on your local machine if everything else fails...
Hope this helps someone :)