Hello,
I just bought my first Arduino (UNO WIFI R2) and I have two problems.
I can´t update the firmware. I go to Tools > WiFi101 / WiFiNINA Firmware Updater, it opens a window where I select the port (this is OK), and then on "2. Update Firmware" I select "NINA firmware (1.4.5) (Arduino Uno WiFi R2)"
But when I click on "Update Firmware" it says "Programmer not responding. Make sure that FirmwareUpdater sketch is loaded on the board".
I followed the steps on Arduino Uno WiFI Rev2 Connection error and when I go to Tools, it does show "Board: Arduino Uno WiFi Rev2"
But I can´t update the firmware (described above).
I started with a very simple tutorial.
At first, when I first connected the Arduino, the LED was blinking and showed different colors (Red, Green, Blue).
Then I created this:
void setup() {
// put your setup code here, to run once:
pinMode(13,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13,HIGH);
}
But when I Upload it, while it says "Done uploading", it says in orange, below:
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).
File > Examples > WiFiNINA > Tools > FirmwareUpdater: Yes, this is where I get:
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).
Tools > Board > Arduino Uno WiFi Rev2: When I click on Tools, the menu already shows "Board: Arduino Uno WiFi Rev2".
Tools > Port: It shows COM5, where I have the Arduino, but no name.
In fact I can use the online editor, and it works, but the Windows10 IDE doesn´t, which is the one I´d like to use.
I see it works Great! So I ignore the message since it´s normal? If so, I think everything else is workig, I just can´t upgrade firmware but it works.
Just a quick question, now that you´re here: I made a LED blink, which is great! But... how do I stop the program? I don´t see a way of stopping the current code, so it remains blinking.
Yes. you'll see the same message in Arduino Web Editor as well. It's just not colored orange so you probably didn't notice it:
avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).
"deprecated" only means that its use is discouraged because a future version of the AVRDUDE uploader tool will drop support for this usage. But Arduino is in control of which AVRDUDE version is in use and is aware that they need to test when updating to a new version. At that time, the board definition will be adjusted to be compatible with the new version of AVRDUDE. So it's nothing the users need to be concerned about and everyone sees this warning.
OK, well we can try to help you out with that, but the firmware is only used when you are doing WiFi communication and as long as you are not having any problems with your current WiFi communications, it's not necessary to update. Updating the firmware will have absolutely no effect on that deprecation warning that got you worried.
If you upload a new sketch to the board, it clears the old one. You can simply open a new sketch (File > New in the Arduino IDE or open the Sketchbook menu in the Arduino Web Editor and then click the NEW SKETCH button) and then upload it.
You could also write a sketch that accepts input to control whether the blink happens or not. That input could be from reading a pin (e.g., having a button or switch attached to the Uno WiFi Rev2), a message sent by the user from Serial Monitor, a message sent over WiFi, and any other form of input you could possibly imagine.
You're welcome. I'm glad if I am able to be of assistance.
@dbford please read the entire thread carefully. It's my understanding that we were able to resolve all of imprevia's issues to their satisfaction.
After that, if you still have a problem, then you'll need to provide a detailed description because there were multiple issues discussed here and it's not clear which of them you are also having.