2017-01-24 10:55 AM
Hello all,
I am running into a problem with updating the STM32F4 library in STM32CubeMX ver 4.19. I want to install the STM32F4 library package ver 4.14. However, I get an error stating 'These Files have problem during Download : stm32cube_fw_f4_v1140.zip (Target directory already exists)'
I am able to install the previous STM32F4 package, rev 1.13 without problems.
I have tried uninstalling, reinstalling, deleting the repository package directory, etc, etc. No dice. Perhaps I am missing a directory to clean up while reinstalling. Also, I can see where the .zip is downloaded to when running the updater. There is nothing there. It shouldn't have any problems. I also tried installing the package via the 'Load from file', but no dice there. I get an error that way too.
I also thought that the package may have already come with CubeMX, but I am prompted to download the package when I try to generate code.Of course, this fails for the same reason
So, long story short, I am stuck. I would appreciate the help! Looks like there are others who have had issues in the past, but there are no answers.I listed on below.
https://community.st.com/0D50X00009Xkh43SAB
nullSolved! Go to Solution.
2017-01-24 01:21 PM
okay, I got it! Answer is pretty simple: Go to ST's STM32Cube Embedded Software site, find the correct package and download it. Then use the 'From Local..' button in the New Libraries Manager dialog to load the downloaded zip.
Apparently, all it takes is sleep and a good cup of coffee.
2017-01-24 01:21 PM
okay, I got it! Answer is pretty simple: Go to ST's STM32Cube Embedded Software site, find the correct package and download it. Then use the 'From Local..' button in the New Libraries Manager dialog to load the downloaded zip.
Apparently, all it takes is sleep and a good cup of coffee.
2017-12-13 01:10 PM
Yeah, that doesn't seem to work so well with the stm32cube_fw_l4_v1100 version of the zip file. Unzipped into a folder to verify the zip, and then tried to install local. No dice.
Does anybody have an idea?
2017-12-13 01:35 PM
What exactly does it say is the problem?
If you pull from the server does it have an error in the download or unpack phases?
Is the repository under the \User\XXX directory, or have you specified a different path when you installed CubeMX?
2017-12-15 07:28 AM
I had the same issue with the L4 fw 1.10.0. I copied the 1.10.0 zip to my desktop (CubeMX wouldn't allow me to chose from original location) and loaded it 'From Local..'. Don't unzip it, leave it as is. It installed correctly now.
2017-12-19 08:07 AM
I forget the exact wording of the error, essentially 'something bad happened'. If memory serves, I got around the problem by launching CubeMX in Administrative mode, then I was allowed to install.
Thanks2017-12-26 06:58 AM
It would appear (based on simple empirical data) that being Admin when running CubeMX is helpful. I was unable to download the firmware packages at all when signed in as just me. I was unable to install packages I manually downloaded when signed in as just me. When I started the CubeMX as Admin, I was able to both install packages that were manually pulled, plus I am able to download and install as Admin.
I'd start there.2019-04-08 02:46 AM
I was running STM32CubeMX as Admin, but am still failing.
2019-07-30 04:04 AM
I also experienced the same error "Error downloading ..." with Admin mode .
The workaround is to extract from ZIP file under c:\user\yourname\STM32Cube\Repository
2019-09-26 08:51 AM
go to website STM32Cube MCU & MPU Packages(https://www.st.com/en/embedded-software/stm32cube-mcu-mpu-packages.html)
and find your device -> product selection -> get software
and there are zip file like as en.stm32~.zip
and C:\Users\"yourname"\STM32Cube\Repository ( you can find this directory at window -> preference -> firmware update -> repository setup )
and then move en.stm32~.zip to C:\Users\"yourname"\STM32Cube\Repository (don't unzip) and rename en.stm32 like that stm32cube_fw_l4_v1140.zip.
then go stm32cubeIDE -> project -> generate code then system automatically do something. next it, you can do your programming.