cancel
Showing results for 
Search instead for 
Did you mean: 

OTA Update - What is the boot sequence?

Exeu
Associate III

Hi, 

i am currently trying to wrap my head around the OTA Application Update Procedure which STM32 recommends to do.

So what i understand is:

There is the BLE_Ota example (which basically should take another application binary and write it to some memory)

This BLE_Ota app is located at 0x08000000 -> So the device should first enter the BLE_Ota app.

The "real" application is then located at 0x08007000.

I hope this is correct so far.

Now i would have the question: Who is deciding now that we need a "jump" to address 0x08007000?

I can not really find this in the BLE_Ota app somehow, but from my understanding the BLE_Ota app at some point in time should decide if it should go to 0x08007000 and let the real application run?

Maybe this is also handled by some internals (or even the coprocessor?).

I know that after a "upload" in the OTA_App is triggering a reset. But interesting for me would be: What is the flow after exactly this reset? Now the controller should end up in 0x08007000 somehow.

Any advise / help is appreciated.

Thank you

1 REPLY 1
STTwo-32
ST Employee

Hello @Exeu 

I think you should have a look at this Video together with the AN5247 to understand how OTA for an STM32WB works exactly. 

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.