# Xod wont upload to arduino mega?

**URL:** <https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735>\
**Category:** Uncategorized\
**Created:** [May 3, 2018, 9:59am UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735 "2018-05-03T09:59:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![heathmill](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@heathmill](https://forum.xod.io/u/heathmill)\
**Post date:** [May 3, 2018, 9:59am UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735/1 "2018-05-03T09:59:16Z")

</div>

I’ve just installed xod on windows 10 and it seems to have installed correctly, however when I try to upload a sketch it freezes up and wont go any further, please help

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [May 3, 2018, 3:41pm UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735/2 "2018-05-03T15:41:47Z")

</div>

There are lots of past discussions on this topic. The 1st time you do an upload, XOD has to stop and download/install the appropriate AVR code. There is no indication in the status that this is happening, so people will often interrupt the process thinking something has gone wrong. Now they are left with a corrupt download or partial install of AVR and XOD does not catch the problem and cannot auto-recover from this state.

The easiest solution is probably just to re-install XOD, make sure you have an internet connection and try uploading a very simple program (like a single led node that turns on the built-in led) and let it run to completion. Future uploads will be much faster once AVR code has been downloaded/installed.

Note that this download/install will happen again the 1st upload after you switch to a different Arduino board.

---

<div class="post-metadata">

**Author:** ![heathmill](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@heathmill](https://forum.xod.io/u/heathmill)\
**Post date:** [May 3, 2018, 8:35pm UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735/3 "2018-05-03T20:35:31Z")

</div>

thanks for that, i’ll persevere. new to all this micro controller stuff

---

<div class="post-metadata">

**Author:** ![heathmill](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@heathmill](https://forum.xod.io/u/heathmill)\
**Post date:** [May 3, 2018, 8:40pm UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735/4 "2018-05-03T20:40:11Z")

</div>

roughly how long should I leave it to upload the first time?

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [May 4, 2018, 2:17pm UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735/5 "2018-05-04T14:17:01Z")

</div>

A time enough to download ~100 MB. It could happen you’re stuck after the first interrupt, so you’ll have to clean the incomplete download manually or install the toolchain by hand. See [Can I manualy install the toolchain?](https://forum.xod.io/t/can-i-manualy-install-the-toolchain/319/2?u=nkrkv) for more details.

---

<div class="post-metadata">

**Author:** ![naz](https://avatars.discourse-cdn.com/v4/letter/n/e99b99/32.png) [@naz](https://forum.xod.io/u/naz)\
**Post date:** [May 31, 2018, 9:01pm UTC](https://forum.xod.io/t/xod-wont-upload-to-arduino-mega/735/6 "2018-05-31T21:01:51Z")

</div>

HI  
just download the required file from [https://storage.googleapis.com/releases.xod.io/packages/win32-avr-tools.tar.gz](https://storage.googleapis.com/releases.xod.io/packages/win32-avr-tools.tar.gz)  
after the download is finish  
extract the file in tool subfolder

then its solved
