-->
Page 1 of 1

ESP-01 - Arduino IDE - EL Capital - warning: espcomm_sync

PostPosted: Sun Jan 03, 2016 6:42 am
by PieGa
Hi Guys,
I have a problem, I installed the ESP-01 and i will programming with arduino IDE on my new iMac (El Capital). The Problem is that i can "read" the ESP with the serial monitor:
" Ai-Thinker Technology Co.,Ltd.

ready
"

but if I send a a program like this one:

Code: Select allint ledState = LOW;     

unsigned long previousMillis = 0;
const long interval = 1000;

void setup() {
  pinMode(BUILTIN_LED, OUTPUT);
}

void loop()
{
  unsigned long currentMillis = millis();
  if(currentMillis - previousMillis >= interval) {
    previousMillis = currentMillis;   
    if (ledState == LOW)
      ledState = HIGH;  // Note that this switches the LED *off*
    else
      ledState = LOW;   // Note that this switches the LED *on*
    digitalWrite(BUILTIN_LED, ledState);
  }
}


I have this error:

error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
warning: espcomm_sync failed
error: espcomm_open failed


On internet I find this: http://hpclab.blogspot.mx/2015/06/esp82 ... -os-x.html
but I don't understand how install the esptool. Can you help me?
Thanks

Re: ESP-01 - Arduino IDE - EL Capital - warning: espcomm_sy

PostPosted: Tue Jan 05, 2016 9:29 pm
by ima747
Check my thread at viewtopic.php?f=26&t=7366&start=4. I had trouble verifying the wiring, getting the correct mode, and getting the arduino IDE and esptool.py up and running but sorted it all out in the end. Details in the last post there, hopefully it will provide a bit of guidance.