Question
Managing dual bank boot on STM32L476
Hi community,
I'm currently struggling hard with the dual bank boot on the stm32L476:
- I managed in setting BFB2 as needed, thru an utility such as ST-LINK (ok, for debug only, not for production...)
- I cannot set it using DFU-USB read/write operations (this was my option A), the chip always denies access to Flash control registers and I could not point out why, so far. I tried using my own Java application thru libusbk driver, and dfu-util, with the same results.
- I'm not sure on how to set it thru LL driver interface, at run-time of my application of my Stm32L476 (this is my option B)
Did anybody here managed in achieving my option B, if yes, where to find the small bit of code that would achieve that feature ?