Skip to main content
Associate
May 16, 2024
Solved

Mission impossible: trying to install the firmware package for L152 on CubeMX

  • May 16, 2024
  • 4 replies
  • 3123 views

I'm having issues while trying to generate a project for the L152. When I attempt to install the firmware package for this micro, CubeMX prompts me to log in. However, the login window displays some oscillating bars and then asks me to check the internet connection. Interestingly, when I click to check for updates, CubeMX successfully verifies the installed package versions using the network.

I tried to manually download and install the STM32Cube MCU Package for STM32L1 series, but when I try to install the latest patch, 1-10-4, it indicates that it cannot find the file stm32cube_fw_l1_v1100.zip. The downloaded package is named stm32cube_fw_l1_v1-10-0.zip, so I attempted to rename it, but the same error persists.

In summary, creating a project for the L152 using CubeMX seems impossible.

Best answer by mƎALLEm

Dear all,

Seems the issue has been solved please check from your side.

4 replies

Bob S
Super User
May 16, 2024

I've had manually-downloaded patches also fail to install via the CubeMX GUI.  You can manually install the patch.  Find the dir that the 1.10 package is installed.  Then un-zip the patch file into that directory.  It does not matter that the directory name still has the 1.10.0 version in it.

Associate II
July 29, 2024

Bob,

I tried your approach for an update from STM32Cube_FW_L4_V1.18.0 to V1.18.1.  The patch zip file appears to have overlaid on the original fine.  I did not change the name of the directory from the original _V1.18.0.  When I open the Embedded Software Packages Manager from STM32CubeMX V6.12.0, it shows "STM32CubeMCUPackage for STM32L4 Series" v1.18.0 installed (same as before), but v1.18.1 is still shown as available but not installed.

Any ideas?

Thanks,

-Rob 

Bob S
Super User
August 1, 2024

I haven't tried with the newer CubeMX versions. If you open the "package.xml" file in the root directlry, does the "PackDescription" element contain a Patch string (for example, Patch="FW.L4.1.18.1") in addition to the a Release string?

If it does, maybe rename the directory just in case the newer CubeMX versions DO pay attention.  It is a long shot.

mƎALLEm
mƎALLEmBest answer
Technical Moderator
May 17, 2024

Dear all,

Seems the issue has been solved please check from your side.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
BarryWhit
Lead
August 2, 2024

You will notice that the zip files of patches (e.g. 1.8.5) are much smaller than the the zip files of point release (e.g. 1.8.0). That's because patch releases are not self-contained. Unlike point release (I'm discussion manual installation of course), you're not supposed to install them via the package manager, but to directly extract their contents into the same directory as a previously installed point release, overwriting files as needed.

 

One of the files that is overwritten is the xml file which contains package metadata so that, after restarting CubeIDE, the Embedded SW Manager should show the patch release being installed rather than the point release.

 

You may find it odd that version 1.8.5 (for example) ends up installed in a directory named foo-1.8.0 but, remember, most users use net installation only and never actually interact with the package repository directory on the filesystem level.