Skip to main content
Associate II
Feb 22, 2024 11:09 AM UTC
Question

STM32 WB55RGV6 OTA Firmware Update Project Error

Hello,

I am trying to make a project for firmware update using OTA with ST BLE Sensor Classic on IOS device but I have a problem I watched the videos and try to understand how can I create a project for fimware update. I started with an easy one I run BLE_OTA on WB55RGV6 than I write a simple blinking led application change the flash address at .ld file

Memory.png

Than export the .bin file and try to update but it does not working. I try to update the examples that ST produced they are working perfectly but they don't have ioc files in it so I don't know what should I specificly do in IOC file. Can anyone help me with my project? I am trying to understand how can I make an OTA firmware update. I checked the P2Pserver_OTA but I couldn't understand how does it work clearly. 

WB55RGV6.jpg

This topic has been closed for replies.

4 replies

ST Technical Moderator
Feb 29, 2024 7:36 PM UTC

Hello @Aurentiaco ,

You can look at the AN5247 for more information about Over-The-Air firmware update procedure and how to use the OTA application on STM32WB devices with BLE connection. 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Associate II
Mar 1, 2024 9:24 AM UTC

Thank you soo much. I read the document that you linked. But I am not sure that I can implement it directly to a led blink application because in documents it gives the requirements and the thing that I need to do. I don't know how to make it. Could you give some coding example if there is a chance? 

Associate II
Mar 6, 2024 8:19 AM UTC

Thanks @Imen.D , I found the solution in BLE_p2psever_ota project in readme.txt file that how can I make my project as OTA,

 

I have another problem. I made it as an OTA application and when I upload BLE_OTA application on my board, I am able to flash my firmware once. However, I don't understand how can I reboot my system and turn back to BLE_OTA partition from my application partition. I need unlimited firmware update continuously.

Aurentiaco_0-1709712994193.png

In here you can see the reboot characteristics. I create one but what should I add to my code to activate it in document it is not explained well and detailed. Could you help me with it?

 

STTwo-32
ST Technical Moderator
Apr 8, 2024 4:20 PM UTC

Hello @Aurentiaco 

I suggest you close this topic since the original question is answered (select the answer as best answer). Then, Start a new topic for your new request.

Best Regards.

STTwo-32

 

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.