Skip to main content
mluerkens
Associate III
November 23, 2022
Solved

STM32L552, SWAP_BANK dynamically

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.
Bubbles
BubblesBest answer
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

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.

2 replies

Bubbles
BubblesBest answer
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

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.
Piranha
Principal III
November 23, 2022