Learn how to enable Over-The-Air (OTA) uploads for your GIGA R1 WiFi board.
Follow these steps if you experience any of these errors when attempting an OTA upload:
Error while mounting the filesystem. Err = -5
Arduino_Portenta_OTA::begin() failed with error code -3
1. Connect your GIGA R1 WiFi board to Arduino IDE
Important
The required sketch examples are currently not available in the Web Editor.
-
Open Arduino IDE.
-
Connect your GIGA R1 WiFi to your computer with a USB-C cable.
-
Open the board selector and Arduino Giga R1 or use the Tools > Port and Tools > Board menus.
2. Format the flash memory
First, you need to format the board’s Quad Serial Peripheral Interface (QSPI) flash memory.
Follow these steps:
-
Connect your GIGA R1 WiFi to your computer using a USB-C cable.
-
Select your GIGA R1 WiFi in the board selector, or use the Tools > Port and Tools > Board menus.
-
In the top menu bar, open File > Examples list. Under the Examples for Arduino Giga R1 group, select STM32H747_System > QSPIFormat.
-
Click Upload and wait for the sketch upload to complete.
3. Flash the Wi-Fi firmware
Flash the latest Wi-Fi firmware version to the board.
Follow these steps:
-
In the top menu bar, open File > Examples > STM32H747_System > WiFiFirmwareUpdater.
-
Click Upload to upload the sketch.
-
Open the Serial Monitor using one of these methods:
-
Click the button in the top-right corner.
-
Select Tools > Serial Monitor in the menu bar.
-
-
If the Serial Monitor is empty, run the sketch again by pressing the RST button on the board.
-
If you get this message:
A WiFi firmware is already installed. Do you want to install the firmware anyway? Y/[n]
If you do, type
Y
into the text field and press Enter to send. -
Wait until
Firmware and certificates updated!
appears in the Serial Monitor output.