Dual bank execution from Bank2 (STM32L071)
Hi,
According to some of the on-the-fly firmware update documents, update is done with the following steps:
- program the new firmware to Bank2
- set BFB2 bit to start executing from Bank2
- while in Bank2, copy the code from active Bank2 to Bank1
- reset BFB2 to continue executing code from Bank1

Doing some small tests, I realized that it was fine to continue running new firmware in Bank2 until next firmware update is needed, without double programming and jumping Bank1 -> Bank2 -> Bank1.
My question: Is there any disadvantage to continue executing new firmware from Bank2 until the newer firmware is available (and then programmed to Bank1)? Or is it really necessary to always run the main firmware from Bank1 (and use Bank2 just during the update)?
Note: I run tests with a simple program. Maybe I am missing some functionality which will not work on more complex programs on the long run executed from Bank2. Or my assumptions are just wrong.
Thanks,
Zoran