Skip to content

Commit

Permalink
update ota docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Links2004 committed Dec 10, 2015
1 parent 9a096f8 commit 3842733
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/ota_updates/ota_updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 added doc/ota_updates/update_memory_copy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3842733

Please sign in to comment.