Is there any template or example program for implementing OTA? I have 2MB SPI EEPROM, SIM808 for GPRS communication and STM32F070 on board.
I am using CoIDE and have little understanding about how to do it, such as
- Receive binary file to the board form GPRS module
- Save it in external flash memory then use IAP to flash the new firmware
- Then finally use DFU mode for changing the start address of the MCU
But except receiving the binary file and storing it in EEPROM, I have no idea about how to proceed further. Please provide assistance.