cancel
Showing results for 
Search instead for 
Did you mean: 

Dual bank boot up from bank2 is not saved in STM32F427VG

melfice
Visitor

Hello,

 

I am working on a product with dual banks enabled. In each banks, there are one bootloader and application. In bank1's bootloader, if new application arrived, it will update bank2's application and then reset and boot from bank2. 

I meet a problem that the boot from bank 2 is not saved after power off. The code always boot from bank 1, after it lost power. In design, it should boot from the same bank as previous, while there is no firmware update. 

Attached my code for setting OB_BFB2_ENABLE after firmware upgrade.

Thank you for assistances.

 

Melfice

0 REPLIES 0