pratik wrote:
I can summarize the FOTA process for you.
The FOTA flash map specifies 2 copies of the firmware that can be executed. The boot.bin is responsible for deciding, at the time of booting, which copy of firmware will run. The info on which copy of firmware, user1.bin or user2.bin is latest and good is stored in system flash param area.
Now if you need to update the firmware, say when you are running user1.bin, you just need to download and write the area where user2.bin is stored. Then after verifying that the firmware is good, you can change the system param area to point to the updated bin file.
When the ESP8266 boots next the boot.bin will jump to the updated BIN!
user1.bin and user2.bin are the same thing. Just that you can modify user2.bin when running user1.bin and vice versa.
Hope this helps! How you download the new BIN does not matter. Could be over UART, or from a memory card or from a server - anywhere.
Yes sir, I am tottally aware of that process. Thank you Kindly for responding. The Part I cant see ANY documentation on is how to make the FOTA firmware with the Blinky.C example.. I think I need an updated make file. Again, I've gone through document after document and google search after google search for this information and I can not locate anything solid. I am referring to the NONSDK Blinky.c example.
Thanks again for chiming in!
Post Script: I think there is a Version=2 argument that needs to be passed to the makefile?Statistics: Posted by AgentSmithers — Mon May 15, 2017 5:30 am
]]>