Skip to main content
SPati.7
Associate III
May 6, 2022
Solved

What is the size of Swap Area in SBSFU application swap mechanism ??

  • May 6, 2022
  • 1 reply
  • 1018 views

As per SBSFU memory mapping details, to download application remotely, we need to define ACT_SLOT, DNLD_SLOT and SWAP_AREA range.

What is the typical size of swap_area ??

For STM32H753, as we have 2MB Flash only and One Sector 1 127 KB, is reserved for Secure Boot, Then what is the maximum size of Firmware application we can store ??

What is the limit on Application size ??

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

Hello,

everything is configurable according to your needs (and your FLASH properties) if you respect some constraints.

You can see AN AN5056, section 3.2.2.

Otherwise, there are sanity checks in the code in sfu_fwimg_swap.c: SFU_IMG_CheckSwapImageHandling().

1 reply

Fred
FredBest answer
ST Employee
May 6, 2022

Hello,

everything is configurable according to your needs (and your FLASH properties) if you respect some constraints.

You can see AN AN5056, section 3.2.2.

Otherwise, there are sanity checks in the code in sfu_fwimg_swap.c: SFU_IMG_CheckSwapImageHandling().