Solving espcomm_sync failed / esptool board selection
Posted: Sun Nov 01, 2015 8:14 am
Using Arduino IDE 1.6.5
esp8266 1.6.5-1160-gef26c5f set to Generic ESP8266 Module
on xubuntu 15.10
with ESP-01
and some obscure serial to TTL cable bought to use with Siemens C55 cellphone a deceade ago - it only has RX/TX/GND pins.
I've been dealing with the sync and open issues for almost two days, pulling all possible pins high and low to no avail, the only possibility to flash was using the ESP FLASH DOWNLOAD TOOL 1.2 under wine, which surprisingly worked very well.
Now I stumbled upon something I passed by a dozen times since yesterday.
When uploading the firmware from Arduino IDE, the esptool command always uses
But when using this simple cable, the only(?) option is to enter the bootloader manually by pulling the GPIO0 low. I tried running the esptool with
So my question - is the -cd option user selectable from a menu/config file or is it hardcoded? If it is hardcoded, I'd consider it a bug of sorts...
Thanks!
esp8266 1.6.5-1160-gef26c5f set to Generic ESP8266 Module
on xubuntu 15.10
with ESP-01
and some obscure serial to TTL cable bought to use with Siemens C55 cellphone a deceade ago - it only has RX/TX/GND pins.
I've been dealing with the sync and open issues for almost two days, pulling all possible pins high and low to no avail, the only possibility to flash was using the ESP FLASH DOWNLOAD TOOL 1.2 under wine, which surprisingly worked very well.
Now I stumbled upon something I passed by a dozen times since yesterday.
When uploading the firmware from Arduino IDE, the esptool command always uses
Code: Select all
command line switch:-cd ck
Code: Select all
esptool -vv -cd ck -cb 115200 -cp /dev/ttyUSB0 -ca 0x00000 -cf /tmp/build1360514603800965995.tmp/WiFiClient.cpp.bin
But when using this simple cable, the only(?) option is to enter the bootloader manually by pulling the GPIO0 low. I tried running the esptool with
Code: Select all
manually and it flashed successfully!-ck none
Code: Select all
esptool -vv -cd none -cb 115200 -cp /dev/ttyUSB0 -ca 0x00000 -cf /tmp/build1360514603800965995.tmp/WiFiClient.cpp.bin
So my question - is the -cd option user selectable from a menu/config file or is it hardcoded? If it is hardcoded, I'd consider it a bug of sorts...
Thanks!