cancel
Showing results for 
Search instead for 
Did you mean: 

Dual bank with STM32F42xx 1M Flash parts

egoltzman
Senior
Posted on August 13, 2017 at 14:25

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

#dual-bank-boot
2 REPLIES 2
Posted on August 13, 2017 at 16:01

If it has multiple banks you could always have your own loader duplicated at the beginning of each bank and fork.

For the method in the RM to work the part actually has 1.5MB on die (likely the entire 2MB, with portion tested)

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on August 13, 2017 at 18:57

I checked the note about the 1M part from the RM and found that IT IS working with the BFB2 so I consider this issue close.

Thanks