Add more doc about the bootloader (sequence diagrams and degraded cases).

This commit is contained in:
JF
2020-08-10 16:36:29 +02:00
parent 3b20c29ab9
commit d8c2c9ad01
4 changed files with 95 additions and 2 deletions

19
doc/bootloader/boot.puml Normal file
View File

@@ -0,0 +1,19 @@
@startuml
MCU -> Bootloader: reset
activate Bootloader
Bootloader -> Bootloader: Recover? (no)
Bootloader -> Bootloader: New version? (no)
Bootloader -> Application: Jump to primary slot
deactivate Bootloader
activate Application
note right: This is the current version of the firmware
Application -> Application: OTA procedure
note right: Download a new firmware version and\n store it in secondary slot
Application -> MCU: Reset
deactivate Application
@enduml