# Can't load the first program

**URL:** <https://forum.xod.io/t/cant-load-the-first-program/4075>\
**Category:** Install/Upload Problems\
**Created:** [June 6, 2020, 8:30am UTC](https://forum.xod.io/t/cant-load-the-first-program/4075 "2020-06-06T08:30:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yur](https://avatars.discourse-cdn.com/v4/letter/y/bc79bd/32.png) [@yur](https://forum.xod.io/u/yur)\
**Post date:** [June 6, 2020, 8:30am UTC](https://forum.xod.io/t/cant-load-the-first-program/4075/1 "2020-06-06T08:30:34Z")

</div>

При загрузке первую программу (урок 101 upload ) возникает ошибка в конце:

```
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1

```

warning: espcomm\_sync failed  
error: espcomm\_open failed  
error: espcomm\_upload\_mem failed

Error: exit status 2  
Error during upload.  
Upload failed  
Command Process exited with code 1  
Make sure the board is connected, the cable is working, the board model set correctly, the upload port belongs to the board, the board drivers are installed, the upload options (if any) match your board specs.

Но подобная программа грузится из ArduinoIDE и работает .  
Поможете?

---

<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:** [June 6, 2020, 2:15pm UTC](https://forum.xod.io/t/cant-load-the-first-program/4075/2 "2020-06-06T14:15:21Z")

</div>

XOD is not able to find your Arduino board. Since it works with IDE, I would assume your cabling and board are good. After selecting upload, a screen pops up and you have to select the type of Arduino and the port it is connected to. I would have to assume one of these is not being set correctly.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [July 6, 2020, 2:15pm UTC](https://forum.xod.io/t/cant-load-the-first-program/4075/3 "2020-07-06T14:15:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
