Question
STM32L082 dual bank - set BFB2 bit is not enough?
Hello,
I am looking for your help on how to use the dual bank mechanism on the STM3L082.
- My goal is to download the new firmware 'over the air' and write it into bank 2 (starting from 0x0801 8000)
- Bank1 always remains as it is (with original firmware)
- BFB2 is set to 1
- MCU restarted
- System memory loader will kick in
- Boots from bank2 (unless there is no valid code on bank2. In that error case it will continue to boot from bank1)
My questions:
- BFB2 set the only change needed to boot from bank2?
- Can firmware (HEX file) 'just' be written to bank2? Or do I need to take other changes into consideration?
- Does anybody have examples available for the STM32L082?
Thanks