STM32WB5MM OTA with BLE custom template
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:
Is it possible to activate the OTA configuration using CubeMX instead of manually changing and debugging it?
Do you have any alternative solutions for OTA configuration when working with a different MCU than the STM32WB55?
Thank you.
