Updating the WIFININA firmware to 1.4.7 with the Arduino IDE (1.8.15)

I am using the latest Arduino IDE (1.8.15).
I have the latest update for the WIFININA library (1.8.12).
I checked the firmware on a MKR WiFi 1010 using the CheckFirmwareVersion sketch with this result:

WiFiNINA firmware check.

Firmware version installed: 1.4.5
Latest firmware version available : 1.4.7

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.

But when I try to update the firmware (Tools > WiFi101 / WiFiNINA Firmware), I see this as the latest version:

NINA firmware (1.4.5)

How can I go to update the firmware to 1.4.7?

I need this in order to use the Arduino IoT Cloud as that is the latest version for the library in the cloud.

If you use Arduino Cloud to upload your Thing sketch to your Device, it will automatically update the firmware.

If you are not using Arduino Cloud, your only option for getting NINA firmware version 1.4.7 is currently to use the command line tool named arduino-fwuploader:

1 Like

Thank you. That solved it.

I was using the Arduino Cloud full editor (Arduino Web Editor) as well, and it did not update the firmware from there either.

The simplified editor did it, but I have to leave the full editor and go back to the Arduino IoT Cloud Sketch tab.

It is somehow inconsistent, I would expect the same behaviour from the IDE, the Arduino Cloud editor and the full web editor.

You're welcome. I'm glad to hear it!

Thanks for bringing that up. I didn't think to mention it but I'll try to remember to specify this in the future when I'm talking about the firmware updates.

I think that's a reasonable expectation.

It is maybe a little tricky though because, although the firmware updates are often very important for Arduino IoT Cloud users, they might not be so much for someone who only wants to upload a sketch that doesn't use the Wi-Fi module at all. So they might be annoyed to have to go through the firmware update just so they can get their Blink on.

1 Like

Does that work on the rev2 wifi board?

It depends what you mean by "that".

If you mean Arduino IoT Cloud, then the answer is "no" because Uno WiFi Rev2 is not compatible with Arduino IoT Cloud.

If you mean arduino-fwuploader, then the answer is "yes".

arduino-fwuploader will work on rev2? I've updated the firmware many times on this device and if this one doesn't work I give up with this thing. The wifi loves to break after a few hours or maybe a day.

Yes. I just confirmed it is working fine with the latest release version 0.1.10.

Because it recently was the source of confusion, please note that the information in the readme is for the development version of firmwareuploader, which has had a significant change to the command line interface. You should get the current help for the version you are using by running this command:

FirmwareUploader --help

Someone recently shared their experience using the tool successfully with the Uno WiFi Rev2. You might find it useful:

not looking good:
2021/06/30 06:49:01 Connecting to programmer

2021/06/30 06:49:01 Opened the serial port with baud rate 115200

2021/06/30 06:49:03 Sync with programmer

2021/06/30 06:49:03 Sending ATE0

2021/06/30 06:49:33

2021/06/30 06:49:33 Sending ATE0

2021/06/30 06:50:03

2021/06/30 06:50:03 Sending ATE0

2021/06/30 06:50:33

2021/06/30 06:50:33 Sending AT

2021/06/30 06:51:03

2021/06/30 06:51:03 Error: Expected OK, got

2021/06/30 06:51:03 Waiting 1 second before retrying...

You're getting all that from FirmwareUploader --help?

Lol, no, when i run the updater with the port name.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.