cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 5.0.1 - Firmware package download error.

Jack3
Senior II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Jack3
Senior II

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.

View solution in original post

8 REPLIES 8

> "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.

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Jack3
Senior II

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

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
Associate

0690X00000DBDqsQAH.png0690X00000DBDqYQAX.png

Hi,How can i fix it?Please help me

EFera
Associate

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
Associate

Run the cstm32cubeMX.exe as an administrator