Opta OTA does not work

Unfortunately, despite numerous attempts, I have not been able to get the OTA feature on my new Opta Lite to work. The Opta is connected to the Internet via Ethernet and is also shown as online in the Arduino Cloud.

However, when trying the OTA functionality I always get the following error message: "Unable to verify OTA: the board didn't answer after reboot".

Based on other threads I tried the sketches "QSPIFormat" and "WiFiFirmwareUpdater". However, I get either the error message "Error formatting WiFi partition" or the program hangs and the Opta flashes red in a regular pattern (3 times long, 5 times short).

The sketch linked at https://docs.arduino.cc/tutorials/opta/memory-partitioning does not work either and also shows the error "Error formatting WiFi partition".

Hello @smw23 ,

Please follow the steps below:

  1. Update the Bootloader of your Arduino Opta: Run the sketch 'STM32H747_System_manage_Bootloader'
  2. Format the QSPI flash memory: Run the sketch 'QSPIFormat'
  3. Retry an OTA update.

The sketches mentioned above are available in Arduino IDE via this path: File > Examples > STM32H747_System.

You can also take a look at this interesting discussion in our forum.

Best,

Hello @Hm_pro ,

thank you very much for your help. Updating / rewriting the bootloader was successful for me:

STM32H747_System_manage_Bootloader_Output.txt (1,8 KB)

Unfortunately, the second step does not work for me: the program returns the error "Error formatting WiFi partition" (line 76). The error code is -3101:

QSPIFormat_Output.txt (390 Bytes)

The sketch "WiFiFirmwareUpdater" then also hangs after more than 30 minutes at "Flashed 0%" and the Opta Lite flashes red in a regular pattern.

WiFiFirmwareUpdater_Output.txt (284 Bytes)

Hello @smw23 ,

Thank you for your reply.

Please check if the core of your Arduino Opta is updated following the steps in order:

  1. Download and install the latest version of Arduino IDE.
  2. Install/Update the latest core version of Arduino Mbed OS Opta Boards: In Arduino IDE go to Tools > Board > Boards Manager and search Opta. Install/Update Arduino Mbed OS Opta Board, it must be version 4.0.4.

Then try to upload the QSPIFormat sketch again.

Best,