2025-02-10 11:30 PM
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