cancel
Showing results for 
Search instead for 
Did you mean: 

FOTA on STM32F0

daniel239955_st
Associate II
Posted on March 18, 2015 at 08:49

Hello,

I am trying to achieve FOTA (Firmware-over-the-Air upgrade) on an STM32F091. I've made some headway in regards to downloading a binary file and checking its data integrity.

I am at the stage where I need to design how to handle newly downloaded FW in ROM/Flash. I do not wish to throw away the old FW in case something is wrong with the new one (I want to be able to rollback to it).

I had the following in mind, but I'm not sure it can work:

- Two flash regions to swap between with old FW in one and new in the other

- When creating a .bin file (I use IAR EWARM) I do not want to concern myself where in ROM it is executed when creating it. Is this even possible? I've tried to just modify the vector table part of it after downloading to suit its ROM location, but to no avail...

Any thoughts or advice on this would be greatly appreciated! Perhaps I'm better off with a different approach?

#stm32f0 #iap #fota
0 REPLIES 0