Firmware update issue with MKRWIFI1010

Hi,
I have tried to use Arduino Iot Cloud, but when I want to upload a sketch, a Firmware update window pops up, I click Update and after that updating takes too long at "Uploading firmware..." stage. At the end I just get this message "The process is taking too long". I tried updating WifiNINA Firmware at Arduino IDE but it doesn't help. When I check firmware version on IDE I get that it is 1.4.5 but on Arduino Iot Cloud it's 1.2.3.
Am I missing on something, or this also happens to other people?

This is unexpected. The latest firmware version is 1.4.7. Where are you seeing the "1.2.3"?

I found that information when I went to device info on my IoT Cloud.

OK, thanks for the clarification. I thought you meant that Arduino IoT Cloud was telling you that the latest available firmware version was 1.2.3. I now understand that it's telling you the version of firmware installed on your MKR WiFi 1010 is 1.2.3.

And this is what I am getting when checking firmware version on IDE:

I am having issues updating my MKRWiFi1010. Here is the error I get when attempting to upload of the iot cloud.

Hi @esotericeng. There was a report about the same "file does not exist" class of problem a little while ago. In the end, it turned out that their antivirus software had quarantined the FirmwareUpdater program that must be installed on your computer to allow Arduino IoT Cloud to update the firmware on the NINA-W102 Wi-Fi module on the MKR WiFi 1010 when it is found to be outdated:

If you want to check that, you can try TEMPORARILY disabling your antivirus just long enough to do an upload to the MKR WiFi 1010 via the Arduino IoT Cloud to see if the problem goes away. Immediately turning the antivirus back on as soon as that is concluded.

If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.

Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.

This did not solve the issue. I can only suspect that this is due to having a domain computer. I have had some strange issues due to this, but seem to have solved them so far.

Is there way way to do this through the IDE itself? I only have this issue trying to run the first example from the IOT Cloud with my Opla kit that I purchased.

Unfortunately, the Arduino IDE's firmware updater does not have the latest version of the firmware for the NINA module. The reason is that the latest version of the NINA firmware was released after the time of the latest Arduino IDE release. The latest firmware at the time of the IDE's release is included, but there is not currently any mechanism for the IDE to pull in firmware releases that come after that time. Work is in progress now to allow the IDE to be able to pull in all the available firmware versions, but that is not yet released.

So for now there are only two options for installing the latest firmware on the MKR WiFi 1010:

If you are unable to use the Arduino IoT Cloud's automatic update mechanism, that leaves us with Arduino Firmware Uploader. I'll provide you with instructions:

  1. Connect the MKR WiFi 1010 to your computer with the USB cable
  2. Open the "Sketch tab of your Arduino IoT Cloud Thing.
  3. You should see the port number at the top bar of the sketch pane. Take note of this as you will need to use it in the Arduino Firware Uploader command.
  4. Open the releases page in your browser:
    https://github.com/arduino/arduino-fwuploader/releases/latest
  5. From the "Assets section of that page, click on the version for your operating system. From the screenshot you shared, I'm assuming you need the Windows 64 bit version, which, for the current latest 2.0.1 release is named "arduino-fwuploader_2.0.1_Windows_64bit.zip"
  6. Wait for the download to finish.
  7. Unzip the downloaded file.
  8. Open the folder it was unzipped to in a command line terminal (e.g., Windows cmd, PowerShell, Bash).
  9. Start the Arduino IDE.
  10. Run the following command, replacing the "<port>" part at the end of the command with the port of your MKR WiFi 1010 you saw in the Arduino IoT Cloud sketch tab.
    arduino-fwuploader firmware flash --fqbn arduino:samd:mkrwifi1010 --address <port>
    
  11. Wait for the flashing process to finish. This will take a couple minutes. You should see some output in the terminal indicating the progress.

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