Skip to main content
HAPPYDAY
Associate II
June 16, 2021
Solved

Is it possible to update firmware using dual bank?

  • June 16, 2021
  • 1 reply
  • 1048 views

I know that STM32L071C8 supports dual bank.

I wonder if it is possible to update the firmware using dual bank.

For example, in the 1-bank program, the LED toggles once per second. Is it possible to write a new firmware binary (toggle led once every 2 seconds) to 2-bank while the 1-bank program is running? Of course, when new firmware is being written to 2-bank, 1-bank program must be running without stopping.

This topic has been closed for replies.
Best answer by Petr DAVID

Hello GW.1,

it is definitely possible to update firmware using the dual bank structure of the STM32L0x MCU. It is documented as on-the-fly firmware update and we have prepared for it an application note AN4767 where the process is documented. Together with this document we have prepared example codes for few representative MCUs.

Please click on Select as Best if my reply fully answered your question. This will help other users with the same problem to find the solution faster!

1 reply

Petr DAVID
Petr DAVIDBest answer
ST Employee
June 17, 2021

Hello GW.1,

it is definitely possible to update firmware using the dual bank structure of the STM32L0x MCU. It is documented as on-the-fly firmware update and we have prepared for it an application note AN4767 where the process is documented. Together with this document we have prepared example codes for few representative MCUs.

Please click on Select as Best if my reply fully answered your question. This will help other users with the same problem to find the solution faster!