Flash mass erase: are MER1/MER2 bits swapped when flash banks are swapped?
Posted on March 03, 2016 at 23:36On STM32L4 (and some other parts), the FB_MODE bit in SYSCFG->MEMRMP is used to swap the mapping of flash banks 1 and 2. This is how the factory bootloader implements ''boot from bank 2'' (BFB2) in the flash option ...