# Can't upload code to Arduino

**URL:** <https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254>\
**Category:** Arduino\
**Created:** [29 August 2019 05:00 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254 "2019-08-29T05:00:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maria96295](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@Maria96295](https://forum.core-electronics.com.au/u/Maria96295)\
**Post date:** [29 August 2019 05:00 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/1 "2019-08-29T05:00:50Z")

</div>

Hey, I recently purchased an Arduino Uno Wifi Rev2 and I’m having problems trying to upload code.

The port I am using is COM6.  
My Arduino is simply connected to the laptop with a USB cable with nothing attached.  
I’m also using Windows 10.

I have downloaded Arduino IDE and followed the directions from Arduino’s website to update the drivers but it says they were already updated.  
I then went to download the package needed to start coding with it (From the Arduino software) and when it searched for packages for my board, it came up with an Atmel atmega328p Xplained mini-board, instead of an Arduino Uno Wifi Rev2. I downloaded this package.  
I have been trying to upload the simple Blink code.  
When I try to upload code using the Arduino IDE, it comes up with:

avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 1 of 10: not in sync: resp=0xd8  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 2 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 3 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 4 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 5 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 6 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 7 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 8 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 9 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 10 of 10: not in sync: resp=0x0b  
avrdude: stk500\_recv(): programmer is not responding  
Problem uploading to board. See [http://www.arduino.cc/en/Guide/Troubleshooting#upload](http://www.arduino.cc/en/Guide/Troubleshooting#upload) for suggestions.

I have tried uploading while selecting both the Atmel atmega328p Xplained mini-board and Arduino Uno Wifi Rev2 in the Tools \> Board menu.

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Clinton](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/clinton/32/1515_2.png) [@Clinton](https://forum.core-electronics.com.au/u/Clinton)\
**Post date:** [29 August 2019 05:16 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/2 "2019-08-29T05:16:24Z")

</div>

Hi Maria,

Do you have anything connected to the pins of the arduino, apparently being connected to the RX/TX pins while uploading can cause this issue.

---

<div class="post-metadata">

**Author:** ![Maria96295](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@Maria96295](https://forum.core-electronics.com.au/u/Maria96295)\
**Post date:** [29 August 2019 07:01 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/3 "2019-08-29T07:01:31Z")

</div>

I have not connected anything to the pins, the arduino is only connected to computer via USB cable.

---

<div class="post-metadata">

**Author:** ![Robin57159](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@Robin57159](https://forum.core-electronics.com.au/u/Robin57159)\
**Post date:** [29 August 2019 08:00 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/4 "2019-08-29T08:00:12Z")

</div>

Use Windows Device Manager to show the ports on the PC. Make sure that the port is the correct one.

---

<div class="post-metadata">

**Author:** ![Maria96295](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@Maria96295](https://forum.core-electronics.com.au/u/Maria96295)\
**Post date:** [29 August 2019 22:12 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/5 "2019-08-29T22:12:53Z")

</div>

I have had device manager up while the arduino was connected and it was in COM6 and i unplugged it and COM6 disappeared so i am 100% sure it is the correct port.

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [30 August 2019 02:02 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/6 "2019-08-30T02:02:00Z")

</div>

> [@Maria96295](#):
>
> Arduino Uno Wifi Rev2

I recall an issue during the Arduino.cc and [Arduino.org](http://Arduino.org) split where each of them had their own IDE and some boards would only work for the respective vendor.

I can’t see an order associated to your account, but depending on when the WiFi Rev2 it might require an [Arduino.org](http://Arduino.org) version of the IDE to function. If it does, I’m not sure how to get that download now that Arduino.cc have won the trademark dispute (and the other site has been shutdown).

It does sound like a fairly recent purchase though, so maybe the above advice is of no use if you have an Arduino.cc licensed board.

If you do have that board, you should be able to select “Arduino Uno WiFi” along with the COM Port number and get-at-it.

If it doesn’t work, then perhaps try another PC to see if there are issues with the drivers / config. If it still doesn’t work, then it would be best to reply to your order confirmation email with a link to this topic.

Good luck!

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/f/f24500ca7ea419b4a491ec3644ef1fcf81dcf789.png)

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/d/d2e6504f130c055121492f09359e35650deba3fd.png)

---

<div class="post-metadata">

**Author:** ![Robin57159](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@Robin57159](https://forum.core-electronics.com.au/u/Robin57159)\
**Post date:** [30 August 2019 10:48 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/7 "2019-08-30T10:48:47Z")

</div>

@Maria96295

It looks like a Windows driver issue to me. Follow the steps in the following link and see if that gets things working.

[https://forum.arduino.cc/index.php?topic=598876.0](https://forum.arduino.cc/index.php?topic=598876.0)

---

<div class="post-metadata">

**Author:** ![Maria96295](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@Maria96295](https://forum.core-electronics.com.au/u/Maria96295)\
**Post date:** [31 August 2019 01:19 UTC](https://forum.core-electronics.com.au/t/cant-upload-code-to-arduino/6254/8 "2019-08-31T01:19:23Z")

</div>

The steps in that link fixed it! Thanks, Robin
