2020-10-17 02:54 PM
I tried importing a project using STM32CubeIDE V1.4 and got the following error:
I tried doing package updates and everything I could think of but I wasn't able to figure out how to resolve this (tried googling/forum searching it but no luck). Anyway, if anyone has any suggestions, that would be awesome. Thanks!
Solved! Go to Solution.
2020-10-23 03:55 AM
@JBee.1 correct me if I' wrong but sounds here you're not importing one of your project but a STM32Cube example project.
Assuming such is correct ... I'm facing same as you.
Weird stuff is selecting a WB example 1.9.0 pack is required:
But such 1.9.0 pack sounds unknown
I guess @ST has to get a look at ...
In the meantime I may promote a work around to you. Please login to www.st.com. Then move to https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubewb.html
Here you will be able to get back 1.9.0 WB pack .zip file. Extract it within our <user home>/STM32Cube/Repository folder.
Have a we try then to import your example relying on 'File > Open Project From File System' pointing to related STM32CubeIDE folder.
EARLY WARNING: moving this way you're able to play with your example project but takes care importing following such process is not promoting you same service as ST's example import feature.
Here your example project will remain local to your WB pack. ST's example import feature is doing a local copy of for you under the hood what's much better according to me. PS: Don't have a try to use Eclipse native project copy here ... as will not work considering ST's example are heaviy relying on hyperlinks usage what Eclipse is not so good about.
2020-10-18 12:31 AM
Thats probably due to a broken download / bad internet connection. Use the firmware updates to manually delete and re-install the package. There are also options to download manually and install the package later. If everything else fails, you find the downloaded packages under STMCube in your home (%USERPROFILE%) folder.
2020-10-23 02:53 AM
@KnarfB
So, I originally installed V1.4 of STM32CubeIDE and ran into the above problem. I tried installing V1.3 as I've used that in the past on another computer and didn't have issues. Went to "check for updates" and updated to V1.4.2. I then tried to "check for target selector" and refresh and download all the files. Unfortunately, some things are failing (see screenshot below):
It's odd as I've installed the program on another computer without issue, not sure what changed here. Even tried installing as administrator to see if that made a difference but no luck.
How do I download the packages manually to install? I'm definitely interested in trying this but can't seem to find the files you're referring to to manually install them. Any information you can give would be greatly appreciated! Thanks!
And sorry for the delayed response, trying to fit personal projects on the weekend since I'm usually swamped with work during the week. Thanks for your help!
2020-10-23 03:55 AM
@JBee.1 correct me if I' wrong but sounds here you're not importing one of your project but a STM32Cube example project.
Assuming such is correct ... I'm facing same as you.
Weird stuff is selecting a WB example 1.9.0 pack is required:
But such 1.9.0 pack sounds unknown
I guess @ST has to get a look at ...
In the meantime I may promote a work around to you. Please login to www.st.com. Then move to https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubewb.html
Here you will be able to get back 1.9.0 WB pack .zip file. Extract it within our <user home>/STM32Cube/Repository folder.
Have a we try then to import your example relying on 'File > Open Project From File System' pointing to related STM32CubeIDE folder.
EARLY WARNING: moving this way you're able to play with your example project but takes care importing following such process is not promoting you same service as ST's example import feature.
Here your example project will remain local to your WB pack. ST's example import feature is doing a local copy of for you under the hood what's much better according to me. PS: Don't have a try to use Eclipse native project copy here ... as will not work considering ST's example are heaviy relying on hyperlinks usage what Eclipse is not so good about.
2020-10-23 07:21 AM
I think this may have something to do with the STM32WB packages.
I've encountered the exact same issue. I just tried refreshing the Embedded Software Packages and V1.9.0 finally showed up and can be installed (Help -> Manage Embedded Software Packages -> Refresh).
I can now import examples again. I suspect this was indeed something ST had to fix on their side.
2020-10-23 08:30 AM
Sounds ST's servers have ended their sync. I confirm I'm able too to enjoy back example import feature if WB.
@JBee.1 ... have a new try ! ... and please tag such post as answered if ok to you ... will help community.
Extra good news is 1.9.0 pack is promoting much more examples than previous one :thumbs_up:
2020-10-23 05:52 PM
Yeah, they're definitely doing some updating or something behind the scenes. I was locked out from downloading things manually last night with a bad gateway error. I managed to refresh and update my file but got another error when trying to do a check for updates (I see a bad gateway mentioned, so maybe they're poking at links right now, which could be the issue).The software itself doesn't have the 4th button it should have for importing examples like it does on my other computer so I assume there should be another update incoming. Shouldn't be a big deal, I should be able to create the example code via new STM32 project. Hopefully, they'll work out the bugs soon. Luckily, I have some previous experience with this software/board so I have a point of reference for this process. Would be pretty frustrating if I was just starting with this software/board.
Thanks for your help, everyone!
2021-01-14 03:04 PM
I had to manually create the destination directory to make it working
2021-01-15 12:23 AM
Good if solving issue. Myself I've got a try on my running environment. If destination directory does not exist STM32CubeIDE is creating it for me prior adding FW material. Any destination repository write permission issue ? Be aware there is some default but you can update by yourself destination directory.
2021-02-22 04:39 AM
I am still facing the same problem. When trying to load an example on my stm32h747iX-Diso board, cube comes up with an error message, that it can not find the required 1.9 firmware. When trying to update the fw for the board, it says that V1.8 is the current one. Opened a case, but no response so far.
When trying to change the installation repository, the field is greyed out, so that I can not change the directory.
Leaves me puzzled .....