Skip to main content
Visitor II
November 23, 2022
Solved

STM32L552, SWAP_BANK dynamically

  • November 23, 2022
  • 2 replies
  • 991 views

SWAP_BANK for the STM32L552 is a bit in the eeprom, but we want to swap the flash banks in an own bootloader dynamically and do not want to expire the eeprom's lifetime,

Any option to swap the memory without eeprom settings?

    This topic has been closed for replies.
    Best answer by Bubbles

    Hi @mluerkens​,

    no such option. For example, L4 Series have the FB_MODE bit in SYSCFG_MEMRMP, there is a similar possibility in G4 and other series. But in the L5 this option was removed, because of conflicts with the TrustZone protection settings.

    BR,

    J

    2 replies

    BubblesAnswer
    ST Employee
    November 23, 2022

    Hi @mluerkens​,

    no such option. For example, L4 Series have the FB_MODE bit in SYSCFG_MEMRMP, there is a similar possibility in G4 and other series. But in the L5 this option was removed, because of conflicts with the TrustZone protection settings.

    BR,

    J

    Graduate II
    November 23, 2022