I am attempting to upload from my Arduino 1.8.13 on my Debian desktop to an Arduino Uno WiFi and I get the following error messages.
Arduino: 1.8.13 (Linux), Board: "Arduino Uno WiFi"
`Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated compiler.path={runtime.tools.avr-gcc.path}/bin/, automatically converted to compiler.path=/usr/bin/. Consider upgrading this core.
Sketch uses 1906 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 93 bytes (4%) of dynamic memory, leaving 1955 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch
I manage to get the correct board as well the correct USB setup for when I ask Tools reports Arduino Uno Wifi which I believe is correct
Hi @straygrey. Please post a link to where you bought your "Arduino Uno WiFi" board. The reason I am requesting this information is because there are several different boards that are sold under a name resembling "Arduino Uno WiFi" and, despite the similarities in their names, they are very different hardware which each require a different configuration of Arduino IDE in order to upload successfully.
The error you are experiencing is probably caused by you not having Arduino IDE configured correctly for the board you are using. Once we know which specific board you have we will be able to provide you with the appropriate instructions for configuring Arduino IDE.
I bought it from a local, South African, electronics shop. I do not
believe that that helps as to where it was originally made. Is there
anything on the board that may help identify it?
On the back of the board it says ARDUINO.CC designed and assembled in
Italy, but I suppose grey market would say the same.
In Tools I get
BN: Arduino Uno WiFi Rev2
VID: 03eb
PID: 2145
SN: DEBEA10BB9E125D6851B
when I ask for board info
OK, that tells me what I needed to know. You have Arduino IDE configured for use with the original Arduino Uno WiFi board. The configuration is different for Arduino Uno WiFi Rev2. I'll provide instructions you can follow to configure it:
- Select Tools > Board > Boards Manager from the Arduino IDE menus.
The "Boards Manager" dialog will open. - Wait for the updates to finish, as shown by the messages printed at the bottom of the "Boards Manager" dialog.
- Scroll down through the list of boards platforms until you find the "Arduino megaAVR Boards" entry. Click on it.
Some buttons will appear on the entry. - Click the Install button on the "Arduino megaAVR Boards" entry.
- Wait for the installation to finish.
- Click the Close button on the "Boards Manager" dialog.
- Select Tools > Board > Arduino megaAVR Boards > Arduino Uno WiFi Rev2 from the Arduino IDE menus.
Now try uploading again. Hopefully this time it will be successful.
Thank you. I did that and now I get
Arduino: 1.8.13 (Linux), Board: "Arduino Uno WiFi Rev2, ATMEGA328"
Warning: platform.txt from core 'Arduino megaAVR Boards' contains deprecated compiler.path={runtime.tools.avr-gcc.path}/bin/, automatically converted to compiler.path=/usr/bin/. Consider upgrading this core.
avr-g++: error: device-specs/specs-atmega4809: No such file or directory
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have upgraded both Arduino AVR boards and Arduino MegaAVR but that did not help.
Based on what I have told you about my board is it a genuine Arduino.
This warning tells me that you are using a 3rd party version of Arduino IDE installed using a package manager (e.g., apt install arduino
). The package maintainers make modifications to Arduino IDE in order to make it compliant with the dependency management requirements for inclusion in the package repository. My hypothesis is that this error is caused by the modification made to Arduino IDE by the package maintainer to cause it to use a single global installation of the avr-gcc compiler. The official Arduino IDE makes a dedicated installation of the exact version of avr-gcc the "Arduino megaAVR Boards" was intended to be used with.
So please try the official build of Arduino IDE. The download links are listed on the "Software" page:
I recommend using the latest version of Arduino IDE (currently 2.1.0). I see you are currently using a very outdated version 1.8.13. If the reason for that is simply that the package manager installed that version (the package managers tend to have outdated versions of Arduino IDE), then go ahead and use 2.1.0. If there is a specific reason you are using 1.8.13, then you can download then official build of Arduino IDE 1.8.13 from this page:
https://www.arduino.cc/en/software/OldSoftwareReleases#arduino-18x
Thank you. I will be working on that later today and will let you know.
Upgrading to 2.1.0 and updating boards and libraries did the trick. Thank you very much, appreciate the patience you showed with my lack of knowledge.
You are welcome. I'm glad it is working now.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.