Skip to main content
Jack3
Senior
February 6, 2019
Solved

STM32CubeMX 5.0.1 - Firmware package download error.

  • February 6, 2019
  • 8 replies
  • 10140 views

Hi, when I want to generate code for an STM32H743ZI, a popup appears:

"The Firmware Package (STM32Cube FW_H7 V1.3.0) or one of its dependencies required by the Project is not available in your STM32CubeMX Repository. Do you want to download this now ?"

Sure enough I do, and then it ends with this error:

"Error downloading the following files:

stm32cube_fw_h7_v130.zip (Target directory already exists)"

and

"Unzip File : stm32cube_fw_h7_v130.zip

Problem during Download and/or Unzip of selected Files"

I run STM32CubeMX in admin mode on windows 10.

What can be the problem? How do I solve it?

Regards, Jack.

0690X000006DPNlQAO.png0690X000006DPNvQAO.png0690X000006DPO5QAO.png

This topic has been closed for replies.
Best answer by Jack3

Thank you very much! I verified that, and that works!

Just now I found my repository path, it was c:\Users\jbk\STM32Cube\Repository

This is what also worked:

Home -> Install / Remove -> From Local ... and browse to the zip file.

So that might be another work-around.

0690X000006DPUSQA4.png

Very likely, the problem may have been an open file from that directory, after checking the difference between 1.3.0 and 1.3.1 patch. This patch is regarding ethernetif.c.

I'm working with LwIP, so that is why I checked.

But I want to use multiple KSZ8851SNL network interface (SPI) with LwIP.

8 replies

After Forever
Senior III
February 6, 2019

> "Target directory already exists"

I would try to delete the target directory and retry =)

Open Help->Updater Settings

Browser into your repository directory [click Show More]

Delete the existing STM32Cube_FW_H7_V1.3.0 directory

Open Cube and try to download/install the package again

If it fails again, close Cube and try to extract the downloaded ZIP file manually.

Tesla DeLorean
Guru
February 6, 2019

Check also for hard drive space, some of these things can eat 3GB packed and unpacked. CubeMX has no checks for this, but will break download and unpack stages.

If the file exists, test the archive for integrity. You can always use the manual install methods. If corrupt delete the ZIP and subdirectories.

If you have download issues, this is a mirror which can be applied manually

https://drive.google.com/open?id=1s73-yuG0WwdNhz8JEMdzx1rFmqeM21SK

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Technical Moderator
February 6, 2019

Hello @Jack​ ,

You should delete the target directory and exists package, then try again.

Otherwise, I recommend you to download from ST web site the STM32CubeH7 v1.3.0 (available in 'Previous versions' column) and the patch V1.3.1.

0690X000006DPTKQA4.png

Kind Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Jack3
Jack3AuthorBest answer
Senior
February 6, 2019

Thank you very much! I verified that, and that works!

Just now I found my repository path, it was c:\Users\jbk\STM32Cube\Repository

This is what also worked:

Home -> Install / Remove -> From Local ... and browse to the zip file.

So that might be another work-around.

0690X000006DPUSQA4.png

Very likely, the problem may have been an open file from that directory, after checking the difference between 1.3.0 and 1.3.1 patch. This patch is regarding ethernetif.c.

I'm working with LwIP, so that is why I checked.

But I want to use multiple KSZ8851SNL network interface (SPI) with LwIP.

RGorb
Associate
May 7, 2019

STM32CubeMX 5.2.0

error downloading the following:

stm32cube_fw_f4_v1240.zip (not available)

stm32cube_fw_f4_v1241.zip (dependency, no loaded)

?????

Oyağm.1
Visitor II
February 15, 2020

0690X00000DBDqsQAH.png0690X00000DBDqYQAX.png

Hi,How can i fix it?Please help me

EFera
Visitor II
February 25, 2020

Hello ST,

please help out with the latest version of the STM32Cube MX for L4, that fails to update the STM32CubeL4 Firmware Package V1.15.1.

I have tried many options, and the update simply does not work. The ioc file has already been converted to 1.15.0 and I cannot generate code, as it gets stuck on missing the V1.15.1 package. These are the various error messages encountered while trying different options:0690X00000DXIr1QAH.png

Thanks.

msedf.1
Visitor II
March 11, 2021

Run the cstm32cubeMX.exe as an administrator