2021-12-27 12:08 PM
I am trying to setup offline functionality of STM32CubeMX. I currently have version 6.4 installed and am trying to install MCU packages, specifically one for STM32L4 so I can configure code for the NUCLEO-L433RC-P.
I have tried downloading the software from github at https://github.com/STMicroelectronics/STM32CubeL4/releases/tag/v1.17.0 and using that zip file "STM32CubeL4-1.17.0.zip" as the local source to attempt an install in CubeMX under Help -> Manage embedded software packages -> STM32Cube MCU Package for STM32L4 Series 1.17.0. It checks the file type, searches "pdsc within CMSIS Pack" and then gives me an error saying "This file is either corrupted or not a recognized package."
One thing I notice is that the file size is different. The downloaded zip file is 495 MB while the file size indicated in Cube MX is 723 MB. This makes me think I need to get the STM32Cube MCU package from some other source. Could someone point me to the location where I can download the necessary files or otherwise provide instructions so I can use CubeMX offline?
Thanks.
Solved! Go to Solution.
2021-12-29 01:22 AM
Hi @Boston ,
Can you try to download the zip file (1.17.0 version) from ST web site:
https://www.st.com/en/embedded-software/stm32cubel4.html#get-software
An then re-try installing the FW from CubeMX in offline mode as described in UM1718, below an extract of the document:
If no Internet access is available at that time, choose “From Local ...�?, then browse to
select the zip file of the desired STM32Cube MCU package that has been previously
downloaded. An integrity check is performed on the file to ensure that it is fully
supported by STM32CubeMX.
The package is marked in green when the version installed matches the latest version
available from www.st.com.
Regards,
Aymen
2021-12-29 01:22 AM
Hi @Boston ,
Can you try to download the zip file (1.17.0 version) from ST web site:
https://www.st.com/en/embedded-software/stm32cubel4.html#get-software
An then re-try installing the FW from CubeMX in offline mode as described in UM1718, below an extract of the document:
If no Internet access is available at that time, choose “From Local ...�?, then browse to
select the zip file of the desired STM32Cube MCU package that has been previously
downloaded. An integrity check is performed on the file to ensure that it is fully
supported by STM32CubeMX.
The package is marked in green when the version installed matches the latest version
available from www.st.com.
Regards,
Aymen
2021-12-29 06:55 AM
This worked great! Thanks for pointing me to the correct download location.
2024-10-04 03:07 PM
I have the same issue when I was trying to setup 'AWS IoT software expansion for STM32Cube' which was downloaded from 'https://www.st.com/en/embedded-software/x-cube-aws.html'.
I will appreciated it if you could provide instructions so I can use FreeRTOS for STM32U5 in CubeMX.
Regards,
Robert
2025-01-09 02:29 PM
Hi all,
I do have the same problem. Can´t update STM32Cube MCU packages, neither via URL nor via local file => "This file is either currupted or not a recognized package."
I tried stm32cube_fw_l4_v1180.zip and others, no way to get updates for CubeIDE. So I´m stuck with 1.16.0 from 2020 for the L4 and there are severe bugs in the HAL (missing atomic I/O modifiers, which are introduced in newer versions, like ATOMIC_SET_BIT).
Any advice is welcome!
Kay