How to install a patch offline in the STM32Cube IDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-25 1:00 AM
in https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubef4.html there are the MCU package and the patch, the first can be installed from CUBE IDE with "manage embedded software packages" but when I select the second the tool says that is not a compatible file
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-30 2:53 AM
Hi, I already had installed (using the "from local" option) the stm32cube_fw_f4_v1270.zip, but when I chose the patch (using the "from local" option) I got this error:I just have downloaded both files using the "manage embedded software packages" and let cubeide automatically detects there is a new version (patch) and install it, now works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-25 12:42 PM
Please check twice that the patch has major an minor version numbers same as the "base" package.
For example if the base package is 1.26.0 then the patch must be 1.26.1 or 1.26.2 but not 1.27.1.
Unzip the patch zip into a temporary directory. Check that no errors occurred during unzip.
Then copy the patch subtree over the "base" package, let it overwrite package.xml and other files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-26 6:14 AM
Hello @jg_spitfire​
While reproducing the issue you encountered I had the following issue when installing the 1.27.1 patch:
If this is the issue you faced, you can follow this steps:
- Rename the FW .zip file downloaded with the correct format "stm32cube_fw_f4_v1270.zip"
- Copy that file to the STMCube repository
- Import the patch file with the Package manager.
Kind regards,
Semer.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-30 2:53 AM
Hi, I already had installed (using the "from local" option) the stm32cube_fw_f4_v1270.zip, but when I chose the patch (using the "from local" option) I got this error:I just have downloaded both files using the "manage embedded software packages" and let cubeide automatically detects there is a new version (patch) and install it, now works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-16 2:15 PM
This is the same problem I was asking about in a prior question. Semer, I couldn't get your solution to work either. The only "local" file option is in the Manage Embedded Software Packages and that only seems to accept major package revisions not patches for the incremental (.1, .2, etc.) updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 10:12 AM
So it transpires that the patch I was attempting to install was more recent than those listed in the STM32Cube MCU Packages list, hence not being recognised. Installing an older package worked just fine. Hope this helps someone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-23 10:29 AM
I couldn't make loading "From Local" work, either. A real problem as for this project all tools must be controlled.
Maybe Semer can elaborate on his proposed solution. Like where is the "STMcube repository?" Renaming the base zip and having it alongside the patch didn't work.
