This shows you the differences between two versions of the page.
|
iothings:laboratoare:2025:lab10 [2025/12/06 21:35] dan.tudose |
iothings:laboratoare:2025:lab10 [2026/05/21 11:04] (current) cosmin.chenaru [Platformio Setup] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Designing OTA for embedded systems also introduces engineering trade-offs that are less visible in traditional software. Devices must update safely despite limited flash, intermittent connectivity, and the risk of power loss mid-installation. A robust OTA approach typically uses separate firmware slots so a known-good image remains available if an update fails. Just as importantly, OTA is part of a security boundary: update mechanisms must ensure that only authentic, intact firmware can be installed, or they can become a high-impact attack path in an IoT fleet. | Designing OTA for embedded systems also introduces engineering trade-offs that are less visible in traditional software. Devices must update safely despite limited flash, intermittent connectivity, and the risk of power loss mid-installation. A robust OTA approach typically uses separate firmware slots so a known-good image remains available if an update fails. Just as importantly, OTA is part of a security boundary: update mechanisms must ensure that only authentic, intact firmware can be installed, or they can become a high-impact attack path in an IoT fleet. | ||
| + | {{ :iothings:laboratoare:2025:ota1.jpg?800 |}} | ||
| ====== Simple OTA ====== | ====== Simple OTA ====== | ||
| Line 17: | Line 18: | ||
| * document basic threat-model thinking. | * document basic threat-model thinking. | ||
| - | {{ :iothings:laboratoare:2025:ota1.jpg?800 |}} | ||
| ===== Learning outcomes ===== | ===== Learning outcomes ===== | ||
| Line 47: | Line 47: | ||
| <code ini platformio.ini> | <code ini platformio.ini> | ||
| [env:sparrow_c6] | [env:sparrow_c6] | ||
| - | platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip | + | platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip |
| board = esp32-c6-devkitm-1 | board = esp32-c6-devkitm-1 | ||
| framework = arduino | framework = arduino | ||
| Line 172: | Line 172: | ||
| <code ini platformio.ini> | <code ini platformio.ini> | ||
| [env:sparrow_c6] | [env:sparrow_c6] | ||
| - | platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip | + | platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip |
| board = esp32-c6-devkitm-1 | board = esp32-c6-devkitm-1 | ||
| framework = arduino | framework = arduino | ||