mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
commit
ba4b42529c
@ -405,6 +405,15 @@ The Stream Interface is the base for all other update modes like OTA, http Serve
|
|||||||
|
|
||||||
## Updater class
|
## 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
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.
|
|
||||||
|
BIN
doc/ota_updates/update_memory_copy.png
Normal file
BIN
doc/ota_updates/update_memory_copy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
Loading…
x
Reference in New Issue
Block a user