You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this tutorial, you will learn how to use and allow firmware updates via **OTA (Over-The-Air)** with the **Arduino Portenta H7**. With this tutorial, you will be able to create a binary file to be used with the OTA feature and use the internal **QSPI** or an external **SD card** to accomplish the OTA (Over-The-Air) process.
28
32
29
33
***To proceed with OTA using an SD Card, you will need to use a carrier or shield with an SD card slot, e.g., Portenta Breakout, Portenta Max Carrier, or Portenta Vision Shield.***
@@ -276,6 +280,8 @@ The complete script is as follows.
276
280
277
281
### QSPI Storage Mode
278
282
283
+
You can open this sketch from the Arduino IDE by going to **File > Examples > Arduino_Portenta_OTA > OTA_Qspi_Flash**.
284
+
279
285
```cpp
280
286
/*
281
287
* This example demonstrates how to update the firmware of the Arduino Portenta H7 using
@@ -418,6 +424,8 @@ void loop()
418
424
419
425
### SD Card Storage Mode
420
426
427
+
You can open this sketch from the Arduino IDE by going to **File > Examples > Arduino_Portenta_OTA > OTA_SD_Portenta**.
428
+
421
429
```cpp
422
430
/*
423
431
* This example demonstrates how to update the firmware of the Arduino Portenta H7 using
@@ -560,7 +568,7 @@ The standard OTA examples use a two-step process:
560
568
561
569
However, the `Arduino_Portenta_OTA` library also supports **on-the-fly decompression**, where the file is decompressed as it's being downloaded, which can be more efficient for certain use cases.
562
570
563
-
The following example shows both methods and allows you to compare their performance:
571
+
You can open this sketch from the Arduino IDE by going to **File > Examples > Arduino_Portenta_OTA > LZSS**. The following example shows both methods and allows you to compare their performance:
In this tutorial, you learned how to set up and perform Over-The-Air (OTA) firmware updates on the Arduino Portenta H7 and compatible boards. You explored how to create OTA files from compiled binaries, configure both QSPI and SD card storage options, and successfully deploy wireless firmware updates. Additionally, you gained insight into LZSS compression methods and their performance characteristics for different use cases.
765
+
766
+
Thanks to the `Arduino_Portenta_OTA` library and its flexibility, you can remotely update your devices without physical access, choose between storage methods based on your hardware configuration, and select the decompression approach that best fits your performance requirements. It makes OTA updates a good capability for maintaining deployed IoT systems, prototyping advanced applications, and building production-ready solutions that can be updated over the network.
0 commit comments