Using the ESP8266HTTPUpdateServer to replace the entire code
Posted: Tue Sep 19, 2017 4:54 pm
I have a situation where I have some in field ESP8266's running an Arduino sketch and they have the ESP8266HTTPUpdateServer in them to enable updating the "firmware" over WiFi.
Unfortunately we need to add some time critical features for which our timing test have shown the Arduino code is executed too slowly.
The ESP is deeply embedded in the hardware and it is not possible to upgrade except using the code already inside it, being ESP8266HTTPUpdateServer.
So, is it possible to use ESP8266HTTPUpdateServer to completely upgrade the ESP much like using ESPTOOL to upload the boot_loader+user1.bin+user2.bin+blank.bin.
Note: If it is not possible to do this, can it simply load user1.bin and user2.bin and blank.bin or what are the options here?
Would really value some thoughts and feedback.
Cheers
Douglas
Unfortunately we need to add some time critical features for which our timing test have shown the Arduino code is executed too slowly.
The ESP is deeply embedded in the hardware and it is not possible to upgrade except using the code already inside it, being ESP8266HTTPUpdateServer.
So, is it possible to use ESP8266HTTPUpdateServer to completely upgrade the ESP much like using ESPTOOL to upload the boot_loader+user1.bin+user2.bin+blank.bin.
Note: If it is not possible to do this, can it simply load user1.bin and user2.bin and blank.bin or what are the options here?
Would really value some thoughts and feedback.
Cheers
Douglas