cancel
Showing results for 
Search instead for 
Did you mean: 

Having issues getting MCU packages for setting up STM32CubeMX offline

Boston
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Aymen CHAKROUN
ST Employee

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

View solution in original post

2 REPLIES 2
Aymen CHAKROUN
ST Employee

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

This worked great! Thanks for pointing me to the correct download location.