# Servo-potentiometer code upload is slow

**URL:** <https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602>\
**Category:** Uncategorized\
**Created:** [March 28, 2018, 3:44am UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602 "2018-03-28T03:44:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ritzyboy](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ritzyboy](https://forum.xod.io/u/ritzyboy)\
**Post date:** [March 28, 2018, 3:44am UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/1 "2018-03-28T03:44:35Z")

</div>

Hello everyone, when i hit upload for my simple servo-potentiometer project, it reads:  
· Transpiling…  
· Project was successfully transpiled. Searching for device…  
· Port with connected Arduino was found. Installing toolchains…  
but then it just stays like that and seems as though it isnt making any progress.  
Did i do something wrong? Should I keep waiting?  
Any help with this would be great.

---

<div class="post-metadata">

**Author:** ![faberge](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/faberge/32/264_2.png) [@faberge](https://forum.xod.io/u/faberge)\
**Post date:** [March 28, 2018, 8:49am UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/2 "2018-03-28T08:49:13Z")

</div>

Hi hi! When you hit the “Deploy \> Upload for Arduino” button a new window will appear. Make sure you have chosen the appropriate Serial port there.

---

<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:** [March 28, 2018, 9:54am UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/3 "2018-03-28T09:54:02Z")

</div>

Yep, you should keep waiting. The very first time you upload to a new board architecture (e.g., AVR) XOD downloads a compiler toolchain. It can be up to 200 MB, the size depends on your OS and the architecture. So on a slow Internet, it could take up to few minutes.

We should really make a progress bar for it…

---

<div class="post-metadata">

**Author:** ![ritzyboy](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ritzyboy](https://forum.xod.io/u/ritzyboy)\
**Post date:** [March 28, 2018, 4:52pm UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/4 "2018-03-28T16:52:07Z")

</div>

Thank you! But how can I tell which one is the right port (macOS)

---

<div class="post-metadata">

**Author:** ![ritzyboy](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ritzyboy](https://forum.xod.io/u/ritzyboy)\
**Post date:** [March 28, 2018, 4:54pm UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/5 "2018-03-28T16:54:59Z")

</div>

I have A macOS and I’m using the Arduino mega 2560. I will try it again in a better location with faster internet. Thank you, I appreciate your support.

---

<div class="post-metadata">

**Author:** ![ritzyboy](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ritzyboy](https://forum.xod.io/u/ritzyboy)\
**Post date:** [March 28, 2018, 6:38pm UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/6 "2018-03-28T18:38:04Z")

</div>

Alright so I tried it again, and it has been an hour now and it’s still in the same place. Is this normal for a macOS? Should I still keep on waiting?

---

<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:** [March 28, 2018, 7:13pm UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/7 "2018-03-28T19:13:38Z")

</div>

It could be that you have a corrupted file downloaded (if you interrupted process on 1st download). I think the \*.tgz file gets downloaded to `<user>/AppData/Roaming/xod-client-electron/packages/arduino` on Windows (maybe under tools sub-folder). If you can find the .tgz file, delete it (& probably restart XOD for good measure) and try again with decent internet connection. If you can’t find the tgz file, uninstall/reinstall of XOD should clear it.

The good news is XOD only needs to do this download the 1st time it tries to download to Arduino after installing XOD

---

<div class="post-metadata">

**Author:** ![ritzyboy](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ritzyboy](https://forum.xod.io/u/ritzyboy)\
**Post date:** [March 28, 2018, 7:56pm UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/8 "2018-03-28T19:56:35Z")

</div>

Ok, thank you! I will uninstall, then reinstall XOD because I think that I may have interrupted the process on the first download (I left for a break and when I came back there was a connection error and the XOD downloading stopped and I had to hit resume). I really Appreciate this information. Thank you!!

---

<div class="post-metadata">

**Author:** ![maxhart85](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@maxhart85](https://forum.xod.io/u/maxhart85)\
**Post date:** [May 26, 2018, 4:23pm UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/9 "2018-05-26T16:23:50Z")

</div>

hi I’m brand new to all this, and the same thing with “installing toolchains” is happening to me. what did you have to do to make it work?

---

<div class="post-metadata">

**Author:** ![ritzyboy](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ritzyboy](https://forum.xod.io/u/ritzyboy)\
**Post date:** [May 27, 2018, 1:58am UTC](https://forum.xod.io/t/servo-potentiometer-code-upload-is-slow/602/10 "2018-05-27T01:58:29Z")

</div>

Jahi Raed

[jahi.raed@aol.com](mailto:jahi.raed@aol.com)
