Skip to main content
TYush.1
Associate
August 20, 2021
Question

[STM32F4] How to download and unzip selected files?

  • August 20, 2021
  • 3 replies
  • 3150 views

I want to install STM32Cube MCU Package for STM32F4 Series.

When I install ver 1.26.2, "stm32cube_fw_f4_v1260.zip" is installed and unzipped at first.

In "stm32cube_fw_f4_v1260.zip", the folder "STM32Cube_FW_F4_V1.26.0" is included.

Then, "stm32cube_fw_f4_v1262.zip" is installed and unzipped.

But, as the folder "STM32Cube_FW_F4_V1.26.0" is also included in "stm32cube_fw_f4_v1262.zip" and the folder name is overlapped, the error occurs every time.

I'm looking forward to answering this question.

This topic has been closed for replies.

3 replies

KnarfB
Super User
August 20, 2021

renmae/remove the old folder at the file system level (%USERPROFILE%\STM32Cube\Repository) ?

TYush.1
TYush.1Author
Associate
August 24, 2021

Yes, I removed the old folder.

Pavel A.
August 25, 2021

Try the following:

Git clone https://github.com/STMicroelectronics/STM32CubeF4.git

or download a zip: https://github.com/STMicroelectronics/STM32CubeF4/archive/refs/heads/master.zip and unzip.

Then rename the unpacked folder accordingly with package.xml in the root.

It says, Patch="FW.F4.1.26.2" so the folder name will be STM32Cube_FW_F4_V1.26.2

Then move it into ....STM32Cube/Repository.

Now CubeMX or CubeIDE should recognize it. If not, rename to STM32Cube_FW_F4_V1.26.0

-- pa