While trying to set up my MKR Wifi 1010 in the IoT cloud, I get the below error message.
Can't update Firmware: Executing command: exit status 1
Trying to get this resolved, i restarted the Create plugin, plugged the MKR wifi 1010 in a number of times.
But this didn't solve the problem.
After looking around i tried to update the Nina firmware with Arduino IDE 1.8.14.
Loaded the update sketch on the MKR wifi 1010 and testing the connection in the WifiNina update mentions that " The programmer is working".
When updating the firmware to Nina firmware 1.4.1 i get an "Error while writing flash memory"
Updating to previous Nina firmware gives the same error.
IF possible I'd like to start from scratch , and hopefully succesfully setup the device in Iot Cloud.
Any help or suggestion would be greatly appreciated to set up the device in the Iot Cloud.
And there is some more information needed to try to get this resolved. I'd be more then happy to provide it.
matthiasm9:
After looking around i tried to update the Nina firmware with Arduino IDE 1.8.14.
Loaded the update sketch on the MKR wifi 1010 and testing the connection in the WifiNina update mentions that " The programmer is working".
When updating the firmware to Nina firmware 1.4.1 i get an "Error while writing flash memory"
Updating to previous Nina firmware gives the same error.
I believe there is a bug in the new release of Arduino SAMD Boards that causes this:
Arduino's developers are already working on a fix. Until the next release comes out wiith that fix, the workaround is to install Arduino SAMD Boards 1.8.9:
Tools > Board > Boards Manager
Wait for the updates to finish.
From the list of boards platforms, click on "Arduino SAMD Boards"
From the "Select version" dropdown menu, click on "1.8.9".
Click the "Install" button.
Wait for the installation to finish.
Click the "Close" button.
Now you should be able to update your firmware without getting the error.
Since you likely only need to update the firmware once, after doing so, you can upgrade back to 1.8.10 by repeating the instructions above, but this time updating to Arduino SAMD Boards 1.8.10 again.