AnsweredAssumed Answered

Dual bank with STM32F42xx 1M Flash parts

Question asked by EGol on Aug 13, 2017
Latest reply on Aug 13, 2017 by Clive One

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?

Thanks

Outcomes