cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H563 DBank choose

renlei
Visitor

Is the flash dual-BANK feature of H563 enabled by default?

 

How to switch banks

1 REPLY 1
mƎALLEm
ST Employee

Hello @renlei and welcome to the ST community,

STM32H56x supports the dual bank by architecture.

mALLEm_0-1769675774790.png

To switch banks, modify the SWAP_BANK option bit using the FLASH_OPTSR_PRG register and perform a system reset to make the change effective.

Hope that helps

An example on how to swap the banks is available on github: https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Examples/FLASH/FLASH_SwapBanks

 

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.