2017-08-13 05:25 AM
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 fromsystem 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 andmust 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-boot2017-08-13 07:01 AM
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)
2017-08-13 11:57 AM
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