Skip to main content
Visitor II
August 26, 2025
Solved

MCU package vs patch

  • August 26, 2025
  • 2 replies
  • 558 views

Hello everyone, I need to install the firmware support package for STM32H7 series offline. On the website (STM32CubeH7 | Product - STMicroelectronics), I found both the "STM32Cube MCU Package for STM32H7 series" and the "Patch for STM32CubeH7". What is the difference between them ?

    This topic has been closed for replies.
    Best answer by Mahmoud Ben Romdhane

    Hello @bsp ,

     

    First let me thank you for posting.

    Main Changes on STM32H7 Firmware v 1.12.1

    • General updates to fix known defects and enhancements implementation.
    • Fix wrong computed clock frequencies in HAL RCC driver.
    • CMSIS updates
      • system_stm32h7xx.c template files
        • Fix computed frequencies returned by the HAL_RCC_GetHCLKFreq(), HAL_RCC_GetPCLK1Freq(), and HAL_RCC_GetPCLK2Freq() APIs.
        • Enable FMC clock to ensure effective write access to FMC Bank1 registers in the SystemInit() API.
      • STM32H723/H725/H730/H733/H735 devices header files
        • Align the RTC TAMPER register and bitfields naming with the terminology used in the Reference Manual (RM0468).
      • STM32H742/H743/H745/H747/H750/H753/H755/H757/H7A3/H7B0/H7B3 device header files
        • Define new RTC macros to manage specific supported Tamper features:
          • RTC_TAMPER2_SUPPORT to manage Tamper 2 support
          • RTC_TAMPMASKFLAG_SUPPORT to manage Tamper Event Masking support
          • RTC_TAMPNOERASE_SUPPORT to manage Backup Registers erasure upon Tamper Event support
          • RTC_TAMPxIE_SUPPORT to manage selective TAMPERx interrupt enable support.
    • HAL updates
      • HAL PWR
        • Add a note to the HAL_PWREx_ConfigSupply() API documentation to clarify that this API comes obsolete after deploying "how to exit from Run* recommended sequence.
      • HAL QSPI
        • Fix possible race condition with QSPI data transfer when using DMA.
      • HAL/LL RTC
        • Alignment with new RTC TAMPER register and bitfields naming in the CMSIS.
        • Add new restrictions to manage specific Tamper features.
      • HAL HSEM
        • Update __HAL_HSEM_ENABLE_IT(), __HAL_HSEM_DISABLE_IT(), __HAL_HSEM_GET_IT(), __HAL_HSEM_GET_FLAG() and __HAL_HSEM_CLEAR_FLAG() macros to be aligned with registers’ names in the CMSIS.
    • Project updates
      • Update all projects to be aligned with CMSIS system_stm32h7xx.c template files:
        • Fix computed frequencies returned by the HAL_RCC_GetHCLKFreq(), HAL_RCC_GetPCLK1Freq(), and HAL_RCC_GetPCLK2Freq() APIs.

    For more details, I suggest that you take a look at the Release Note provided into STM32Cube_FW_H7_V1.12.1.

     

    Thanks.

    Mahmoud

    2 replies

    Super User
    August 26, 2025

    In standard computer terminology, a "Patch" is an update to some existing software - without having to completely replace the whole thing.

     

    For specific details, see UM2204Getting started with STM32CubeH7 for STM32H7 series MCUs:

    AndrewNeil_0-1756201135398.png

     

    bspAuthor
    Visitor II
    August 26, 2025

    Thank you and I already know the meaning of "patch"

    Technical Moderator
    August 26, 2025

    Hello @bsp ,

     

    First let me thank you for posting.

    Main Changes on STM32H7 Firmware v 1.12.1

    • General updates to fix known defects and enhancements implementation.
    • Fix wrong computed clock frequencies in HAL RCC driver.
    • CMSIS updates
      • system_stm32h7xx.c template files
        • Fix computed frequencies returned by the HAL_RCC_GetHCLKFreq(), HAL_RCC_GetPCLK1Freq(), and HAL_RCC_GetPCLK2Freq() APIs.
        • Enable FMC clock to ensure effective write access to FMC Bank1 registers in the SystemInit() API.
      • STM32H723/H725/H730/H733/H735 devices header files
        • Align the RTC TAMPER register and bitfields naming with the terminology used in the Reference Manual (RM0468).
      • STM32H742/H743/H745/H747/H750/H753/H755/H757/H7A3/H7B0/H7B3 device header files
        • Define new RTC macros to manage specific supported Tamper features:
          • RTC_TAMPER2_SUPPORT to manage Tamper 2 support
          • RTC_TAMPMASKFLAG_SUPPORT to manage Tamper Event Masking support
          • RTC_TAMPNOERASE_SUPPORT to manage Backup Registers erasure upon Tamper Event support
          • RTC_TAMPxIE_SUPPORT to manage selective TAMPERx interrupt enable support.
    • HAL updates
      • HAL PWR
        • Add a note to the HAL_PWREx_ConfigSupply() API documentation to clarify that this API comes obsolete after deploying "how to exit from Run* recommended sequence.
      • HAL QSPI
        • Fix possible race condition with QSPI data transfer when using DMA.
      • HAL/LL RTC
        • Alignment with new RTC TAMPER register and bitfields naming in the CMSIS.
        • Add new restrictions to manage specific Tamper features.
      • HAL HSEM
        • Update __HAL_HSEM_ENABLE_IT(), __HAL_HSEM_DISABLE_IT(), __HAL_HSEM_GET_IT(), __HAL_HSEM_GET_FLAG() and __HAL_HSEM_CLEAR_FLAG() macros to be aligned with registers’ names in the CMSIS.
    • Project updates
      • Update all projects to be aligned with CMSIS system_stm32h7xx.c template files:
        • Fix computed frequencies returned by the HAL_RCC_GetHCLKFreq(), HAL_RCC_GetPCLK1Freq(), and HAL_RCC_GetPCLK2Freq() APIs.

    For more details, I suggest that you take a look at the Release Note provided into STM32Cube_FW_H7_V1.12.1.

     

    Thanks.

    Mahmoud

    bspAuthor
    Visitor II
    August 26, 2025

    Thank you, can I install firmware patch in STM32CubeIDE with "manage embedded software packages" ?

    Technical Moderator
    August 26, 2025

    Hello @bsp ,

     

    This functionality is well supported on STM32CubeIDE. 

    Under [Help] [Configuration Tool], you can manage the Embedded Software Packages.

    MahmoudBenRomdhane_0-1756217352113.png

     

    Thanks.

    Mahmoud