2018-02-24 04:03 AM
Hello,
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.
Regards,
#clive #clive1 #clive-one #andrew-neilSolved! Go to Solution.
2018-04-20 07:27 AM
The conversion has been forked to this thread
https://community.st.com/0D50X00009XkfgXSAR
This seems to describe more RAM than is physically available in the F103C8, ie 20KB 0x20000000..0x20004FFF
2018-04-21 01:37 AM
Thanks Sir
Turvey.Clive.002
. Now I am using STM32F103RE that has 64k ram. But when I configure its clock, debugger gets struct in while loop atif (HAL_RCC_OscConfig(&oscinitstruct)!= HAL_OK)
{ /* Initialization Error */ while(1); }Please check the following modification for 8 MHz HSE. Am I doing it wrong?
I am using following IAP example
.\AN4657-STM32Cube_IAP_using_UART\Projects\STM3210C_EVAL\IAP_Main\EWARM\STM3210C_EVAL\
2018-04-21 03:46 AM
Even it is getting struct with following configuration as well