1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

Merge pull request #1190 from Links2004/master

update ota docs
This commit is contained in:
Markus 2015-12-10 17:37:46 +01:00
commit ba4b42529c
2 changed files with 11 additions and 2 deletions

View File

@ -405,6 +405,15 @@ The Stream Interface is the base for all other update modes like OTA, http Serve
## Updater class
TODO describe Updater class
Updater is in the Core and deals with writing the firmware to the flash,
checking its integrity and telling the bootloader to load the new firmware on the next boot.
### Update process - memory view
- The new sketch will be stored in the space between the old sketch and the spiff.
- on the next reboot the "eboot" bootloader check for commands.
- the new sketch is now copied "over" the old one.
- the new sketch is started.
![Memory Copy](update_memory_copy.png)
Updater is in the Core and deals with writing the firmware to the flash, checking its integrity and telling the bootloader to load the new firmware on the next boot.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB