Because eboot first erases the space required for the new sketch, and
if the new sketch is larger then the old one, with the old way, part of
the beginning of new sketch will be deleted. Therefore for now I opted
to keep the max update size either half the available space for
sketches or what's left from the first one, whichever is smaller.
To be able to create a simple post mechanism for updates, I needed to
have a way to write the new binary, without knowing it's final size, so
I added an option to the end() method. Example in the WebServer
examples.
Proper error handling in the uploading python script
Much faster OTA example sketch with better results
New Update class that simplifies updating the firmware from any source
Updated Esp.updateSketch() to use the new class
-------------------------------------------
Here is a patch based on SDK_v1.1.2 solved problem of abnormal current during modem-sleep.
Please replace the lib in \esp_iot_sdk_v1.1.2\lib
Sorry for the inconvenience.
esp_iot_sdk_v1.1.2_15_06_24_p1.1 Release Note
-------------------------------------------
Here is a patch for AT firmware based on SDK_v1.1.2 resolved issue that AT user parameter area was located in wrong address,it may cause WiFi configuration goes wrong.
Please update to this new AT bin files and call "AT+RESTORE" to factory reset. If you call “AT+CIPUPDATE” to upgrade,please also call "AT+RESTORE" to factory reset once.
“AT_bin_v0.25_1024+KB_flash_can_upgrade.zip”
- normal AT bin,runs with boot.bin,can FOTA upgrade,need to use 1024KB flash
“AT_bin_v0.25_for_512KB_flash_cannot_upgrade.zip”
- for old version module which flash size is 512KB
eagle.flash.bin downloads to flash 0x00000
eagle.irom0text.bin downloads to flash 0x40000
can not FOTA upgrade,please don‘t call “AT+CIPUPDATE”
"SDK_v1.1.2_AT_patch_01.zip"
- libs for users who need to compile their own AT firmware,replace libs in \esp_iot_sdk_v1.1.2\lib
So sorry for the inconvenience.