Skip to main content
Associate III
March 30, 2026
Question

STM32WB05KN (NUCLEO-WB05KN1) FOTA / OTA Firmware Update Support

  • March 30, 2026
  • 2 replies
  • 269 views

Hello,

I am currently working with the NUCLEO-WB05KN1 development board (STM32WB05KN MCU) and I would like to implement FOTA (Firmware Over-The-Air) / OTA update over Bluetooth.

However, I could not find any clear reference documentation, application note, or example project related to:

  • Bootloader implementation for OTA
  • Memory partitioning (dual bank / slot usage)
  • BLE-based firmware update flow
  • Any official FOTA example for STM32WB05 series

I checked the datasheet and reference manual, but there is no clear explanation of:

  • Whether a built-in/system bootloader supports OTA via BLE
  • How to structure the flash (bootloader + application separation)
  • Any middleware/library support for firmware update

Currently, my memory usage is:

  • FLASH: ~34%
  • RAM: ~49%

So I still have space to implement a custom bootloader if needed.

My questions:

  1. Is there any official ST example or application note for OTA/FOTA on STM32WB05KN?
  2. Does STM32WB05 series support BLE OTA natively (like STM32WB55)?
  3. If not, what is the recommended approach?
    • Custom bootloader + BLE service?
    • Any existing middleware (like SBSFU or similar)?
  4. Are there any reference projects (GitHub or ST examples) for this specific MCU?

Any guidance, documentation, or example would be highly appreciated.

Thanks in advance.

2 replies

Technical Moderator
March 30, 2026

Hello @burak_Guzeller 

The X-CUBE-WB05N software package provides a BLE_FOTA application specifically designed for the STM32WB05 series. 

You can refer to the following resources which offer further details:

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Associate III
April 1, 2026

Hello,

Thank you for your response and for pointing me to X-CUBE-WB05N and the BLE_FOTA example.

I have reviewed the suggested resources, however I have some concerns regarding memory constraints on my current project.

As you can see from my current memory usage:

  • FLASH usage: ~78%
  • RAM usage: ~53%

This leaves a very limited space for implementing a full FOTA solution like the provided BLE_FOTA example.

My understanding is that the default FOTA implementation requires:

  • A dedicated bootloader
  • Separate memory slots (for current and new firmware)
  • Additional RAM usage for buffering during BLE transfer

Given these limitations, I would like to ask:

  1. Is there any lightweight FOTA/OTA approach recommended for STM32WB05KN with constrained FLASH/RAM?
  2. Can the BLE_FOTA example be reduced or optimized (e.g., single-slot update, external memory, or partial update)?
  3. Is there any support for:
    • in-place firmware update (without dual-bank/dual-slot)?
    • streaming update directly to flash?
  4. Are there any minimal bootloader examples instead of the full-featured FOTA implementation?
  5. Would you recommend using an external flash for staging the new firmware in such cases?

My goal is to implement OTA over BLE, but with a very small memory footprint, even if it means sacrificing some robustness features (like rollback).

Any guidance, best practices, or example references for low-memory OTA design on STM32WB05 would be highly appreciated.

Thanks in advance.

Technical Moderator
April 3, 2026

Hi @burak_Guzeller 

You can also review the best practices for OTA Design described in UM2726.

I will try to contact expert internally for you to have additional recommendation and guidance on this topic.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"