STM32L0/L4 optimized usage of the dual bank structure of Flash memory (AN4767)

X-CUBE-DBFU is a project example that demonstrates an implementation of the dual bank functionality of the Flash memory.

Taking advantage of the dual bank feature in Field upgrade, brings several advantages described in the “Optimized usage of the dual bank structure of Flash memory in STM32 microcontrollers” Application note (AN4767).

Key Features

  • Firmware upgrade example
  • Optional symmetric encryption on supported devices
  • Automatic and manual bank selection
  • Vector table relocation
  • Using YMODEM RS-232 for binary loading


Technical Documentation

Product Specifications
Description Version Size
DB3053 DB3053: Flash memory dual bank structure optimized usage software expansion for STM32Cube 1.0 118 KB
Application Notes
Description Version Size
AN4767 AN4767: Optimized usage of the dual bank structure of Flash memory in STM32 microcontrollers - Software expansion for STM32Cube 2.0 268 KB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB

Presentations & Training Material

Description Version Size
STM32 and STM8 embedded software solutions 4.0 3 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 15.10 4 MB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 4.1 92 KB

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
X-CUBE-DBFU 1.0 Active ST


Support & Community