Can't load the first program

При загрузке первую программу (урок 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 и работает .
Поможете?

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.