From d8c2c9ad0170c2bbdd3b3272a6b2ef67b3e7f4a1 Mon Sep 17 00:00:00 2001 From: JF Date: Mon, 10 Aug 2020 16:36:29 +0200 Subject: Add more doc about the bootloader (sequence diagrams and degraded cases). --- doc/bootloader/boot.puml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/bootloader/boot.puml (limited to 'doc/bootloader/boot.puml') diff --git a/doc/bootloader/boot.puml b/doc/bootloader/boot.puml new file mode 100644 index 00000000..00790d75 --- /dev/null +++ b/doc/bootloader/boot.puml @@ -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 \ No newline at end of file -- cgit v1.2.3-70-g09d2