What about RTC after a bank switch?
I use dual flash bank in STM32L4. I perform a flash bank switch by programming bit BFB2 in OPTR.Sometimes, after the new software has started, RTC seems to be returned to reset state: date and time are lost and RTC internal registers are cleared! In...