summaryrefslogtreecommitdiff
path: root/doc/bootloader/boot.puml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bootloader/boot.puml')
-rw-r--r--doc/bootloader/boot.puml19
1 files changed, 19 insertions, 0 deletions
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