Hello @renlei and welcome to the ST community,
STM32H56x supports the dual bank by architecture.

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 "Best answer" on the reply which solved your issue or answered your question.