Skip to main content
Associate
July 9, 2023
Question

STM32WB5MM OTA with BLE custom template

  • July 9, 2023
  • 2 replies
  • 1921 views

Hello,

I am using the STM32WB5MM with BLE Custom Template configuration, and I need to perform an OTA firmware update for my application. I have watched the "Getting started" series with this MCU, especially the video available at https://www.youtube.com/watch?v=mRzZOa3jmuM. However, in those videos, the board used is the STM32WB55, which is not compatible with my STM32WB5MM. I am currently working with the STEVAL-PROTEUS1 evaluation board.

I understand that I need to load the "BLE_OTA" example first at a specific address (0x08000000), and then load my application code at a different address (0x08007000). Since the MCUs are different, I couldn't follow the steps exactly as shown in the video for debugging this section (6:40 - 8:10 in the video).

Therefore, I manually modified the linker script stm32wb5mmghx_flash.ld so that the application code starts from 0x08007000, making it compatible with OTA configuration. However, I couldn't replace the system_stm32wbxx.c file for the same reason of incompatibility.

Now, I have a couple of questions:

  1. Is it possible to activate the OTA configuration using CubeMX instead of manually changing and debugging it?

  2. Do you have any alternative solutions for OTA configuration when working with a different MCU than the STM32WB55?

Thank you.

    This topic has been closed for replies.

    2 replies

    Michael E
    ST Technical Moderator
    July 10, 2023

    Hello @DanielAbramov ,

    Maybe the STM32Wiki MCU can help you. https://wiki.st.com/stm32mcu/wiki/Category:Bluetooth_Low_Energy

    There are articles on FUOTA for STM32WB and WBA.

    https://wiki.st.com/stm32mcu/wiki/Category:STM32WBA_FUOTA

    https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_Fast_FUOTA

    Best Regards

    Michael

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    Associate
    July 10, 2023

    Hellow @Michael E ,

    I have read the articles you mentioned. doe the example of BLE_OTA is compatible with stm32wb5mm?

    Best Regards

    Daniel