I am designing an embedded system with these parts:
- A Low-Power STM32L152RCT6 microcontroller
- SIM800 GPRS module
- A 16 Mbit serial flash (AT45DB161D)
After each reset, the microcontroller should check if a new version of firmware is available. If so, the new firmware must be downloaded from server to SPI flash and then programmed to microcontrollers internal flash.
Is it any documentation about this kind of programming?
Thanks in advance.