Skip to content

Commit 6e51061

Browse files
Merge pull request #457 from arduino/OTA-enhancements
Ota enhancements [HC-1616]
2 parents aae0c5f + 0bf264b commit 6e51061

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

content/Arduino Cloud/Cloud Editor/If-you-see-an-error-when-performing-an-Over-the-Air-OTA-upload.md

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,7 @@ In this section:
4848

4949
This error indicates that the device's memory partition table is improperly formatted.
5050

51-
* If you're using **Arduino GIGA R1 WiFi** or **Portenta H7**:
52-
1. Reinitialize the storage with this Sketch: [QSPIFormat.ino](https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/STM32H747_System/examples/QSPIFormat/QSPIFormat.ino)
53-
1. Reinstall the SSL certificates with this Sketch: [WiFiFirmwareUpdater](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries/STM32H747_System/examples/WiFiFirmwareUpdater)
54-
55-
* If you're using **Arduino Opta**: Follow [these instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-an-opta).
56-
* If you're using **Portenta Machine Control**: Follow these [instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-a-portenta-machine-control).
57-
58-
> [!TIP]
59-
> If you're using GIGA R1 WiFi, see [Configure GIGA R1 WiFi for Over-The-Air (OTA) uploads](https://support.arduino.cc/hc/en-us/articles/12370721200540-Configure-GIGA-R1-WiFi-for-Over-The-Air-OTA-uploads).
51+
To resolve this issue, see [Reset the flash memory on STM32H747-based devices](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices).
6052

6153
### Board error - httpresponsefail {#httpresponsefail}
6254

@@ -80,39 +72,29 @@ Follow these steps:
8072

8173
The header of the downloaded file does not match the expected one, likely indicating that the file was corrupted during the download.
8274

83-
Follow these steps:
84-
85-
1. Try to upload the sketch again.
75+
To resolve this issue, upload the sketch again.
8676

8777
### Board error - otastorageinitfail {#otastorageinitfail}
8878

8979
This error indicates that the device's memory partition table is improperly formatted.
9080

91-
* If you're using **Arduino GIGA R1 WiFi** or **Portenta H7**:
92-
1. Reinitialize the storage with this Sketch: [QSPIFormat.ino](https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/STM32H747_System/examples/QSPIFormat/QSPIFormat.ino)
93-
1. Reinstall the SSL certificates with this Sketch: [WiFiFirmwareUpdater](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries/STM32H747_System/examples/WiFiFirmwareUpdater)
94-
95-
* If you're using **Arduino Opta**: Follow [these instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-an-opta).
96-
* If you're using **Portenta Machine Control**: Follow these [instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-a-portenta-machine-control).
97-
98-
> [!TIP]
99-
> If you're using GIGA R1 WiFi, see [Configure GIGA R1 WiFi for Over-The-Air (OTA) uploads](https://support.arduino.cc/hc/en-us/articles/12370721200540-Configure-GIGA-R1-WiFi-for-Over-The-Air-OTA-uploads).
81+
To resolve this issue, see [Reset the flash memory on STM32H747-based devices](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices).
10082

10183
### Board error - serverconnecterrorfail {#serverconnecterrorfail}
10284

10385
This error occurs when the device fails to connect to the firmware download endpoint.
10486

105-
Follow these steps:
106-
107-
1. Ensure that the board has a stable connection to Arduino Cloud.
87+
To resolve this issue, ensure that the board has a stable connection to Arduino Cloud.
10888

10989
### SHA256 mismatch - Unable to apply the new firmware. Previous firmware detected after restart {#sha256mismatch}
11090

11191
This error means that the device restarted with a SHA (fw identifier) that is different from the target one and the SHA is equal to the one installed when the OTA process is started. This usually happens when the device restarts during the OTA process.
11292

11393
Follow these steps:
11494

115-
1. Check if the sketch running on the device is unstable and causes frequent restarts.
95+
1. Ensure the device is connected to a stable and uninterrupted power source.
96+
1. Upload a simple example sketch (such as BareMinimum) to prevent any resets caused by faulty code.
97+
1. If you're unable to program the device, try putting it in bootloader mode.
11698

11799
### SHA256 Unknown - Unknown Firmware detected after restart. {#sha256unknown}
118100

0 commit comments

Comments
 (0)