title | id |
---|---|
Check and update the firmware for WiFiNINA and WiFi101 |
360013896579 |
Learn how to check the firmware for WiFiNINA and WiFi101 modules, and update it using the Firmware Updater tool.
Boards with the WiFiNINA module:
Boards with the WiFi101 module:
We can check the current firmware version by uploading a sketch to the board that will report the version via the serial monitor.
-
Connect the board to your computer and start Arduino IDE.
-
The WiFiNINA or WiFi101 library needs to be installed, depending on the module. Open the Library Manager (Tools > Manage Libraries...) and make sure it's installed. For help with library installation, see this guide.
-
With the library installed, open the firmware checking sketch:
- WiFiNINA:: File > Examples > WiFiNINA > Tools > Select ‘CheckFirmwareVersion.
- WiFi101: File > Examples > WiFi101 > CheckWifi101FirmwareVersion.
-
Choose the port with your board in Tools > Port.
-
Open the Serial Monitor (Tools > Serial Monitor) and observe the output.
If the latest firmware is installed the output will include this line:
Check result: PASSED
But if a newer firmware version is available the output will look something like this:
WiFiNINA firmware check.
Firmware version installed: 1.4.7
Latest firmware version available : 1.4.8
Check result: NOT PASSED
- The firmware version on the module does not match the
version required by the library, you may experience
issues or failures.
To update the firmware, follow the instructions below.
Updating the firmware can be done using the Firmware Updater tool.
-
Connect the board to your computer and make sure the Serial Monitor is not open.
-
Open the Firmware Updater (
Tools > WiFi101 / WiFiNINA Firmware Updater
). -
Select port of the WiFi module. Select your board in the list. If it is not listed, make sure it is connected, and click 'Refresh list'. Finally, click 'Open Updater sketch'.
-
Upload the sketch by clicking
Upload. Then, go back to the Firmware Updater window from before.
-
Update firmware. Select a firmware version in the dropdown. Typically, you will want the latest version (the one with the highest version number, at the top of the list). Finally, click 'Update Firmware'.
-
Wait for the firmware update to complete, which may take a minute to complete. A successful update will be confirmed by a pop-up.
The firmware can also be managed in Arduino IoT Cloud.
-
Open the Device tab.
-
Click the row with your device.
-
See the firmware for NINA or WIFI 101.
If a new firmware is released for a device added to IoT Cloud:
-
Open the Device tab.
-
Click the row with your device.
-
Click the firmware UPDATE button.
Alternatively, you can remove and add the device again. When adding the device the firmware is automatically updated with the latest firmware version.
-
Connect the board to your computer and make sure the Serial Monitor is not open.
-
Open the Device tab in Arduino IoT Cloud.
-
Remove the device if it's been previously added by clicking the three dots, then Remove.
-
Click 'Add Device' and follow the instructions for adding your device.
Your device should be updated with the latest firmware version.