I have an STM32F427ZGT 1M Flash part and I see in the reference manual this statement:
Bit 4 BFB2: Dual-bank Boot option byte
0: Dual-bank boot disabled. Boot can be performed either from Flash memory bank 1 or from
system memory depending on boot pin state (default)
1: Dual-bank boot enabled. Boot is always performed from system memory.
Note: For STM32F42xx and STM32F43xx 1 MB part numbers, this option bit is reserved and
must be kept cleared.
I want to work with dual bank in flash, I need to set DB1M but how can I swap the banks? That is how do I make the system boot from bank 2 and not bank 1 and vice versa?