cancel
Showing results for 
Search instead for 
Did you mean: 

Dual Bank boot in STM32U585

JShah.7
Associate III

Hello Support Team.

We are considering MCU STM32U585(TrustZone) as per our product requirements. It contains Ultra-low-power Arm Cortex-M33 processor.

Our application contains safety-critical and non-safety-critical code.

We will provide CRC of safety-critical flash areas when we will go to certification. If I change the non-safety-critical code, this safety-critical flash area CRC must not change. 

STM32U585 supports dual-Bank boot.We want to create 2 partition in flash(Bank1 -> 1024 Kb and Bank2 -> 1024 Kb) as we have 2Mb flash available.

On every firmware update (FOTA) we want to swap bank.

for example;

Our current firmware boot from Bank 1,Now someone perform OTA in MCU.so new Firmware we want to store in Bank 2.

after successfully completion of FOTA in Bank 2 we will restart MCU and next time onwards our applicaion will boot from Bank 2.if again we perform 

FOTA then it shoud write in Bank 1 because our applicaion was booted from Bank2.

if above requirment is possible then please share example with us.

Thanks

Jaimit

1 REPLY 1
Diane POMABIA
ST Employee

Hi @JShah.7​ 

Please find theses applications that can help you :

https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/B-U585I-IOT02A/Applications/SBSFU

Let me know if you have questions.

Regards

DianeP