I cannot upload a sketch to ESP8266 Thing Dev boards (https://www.sparkfun.com/products/13711) using the Arduino IDE. I have tried three different Things, two computers, and two different FTDI to USB- 5V VCC-3.3V I/O cables. I can upload to other ESP8266 through the same setup but those require pushing a button to enter the bootloader mode. After reading the hookup guide, I was under the impression that bootloader mode is automatically entered when uploading the sketch but is this correct?
I receive the following error when uploading:
Arduino: 1.8.13 (Windows 7), Board: “SparkFun ESP8266 Thing Dev, 80 MHz, Flash, 512K (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200”
Sketch uses 247944 bytes (49%) of program storage space. Maximum is 499696 bytes.
Global variables use 28032 bytes (34%) of dynamic memory, leaving 53888 bytes for local variables. Maximum is 81920 bytes.
C:\Users\WS–L7\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13/esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\WS–L7\AppData\Local\Temp\arduino_build_36698/Sparkfun_Blink.ino.bin
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM3
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
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
trying to connect
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
trying to connect
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
resetting board
trying to connect
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
trying to connect
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
trying to connect
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
resetting board
trying to connect
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
trying to connect
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
trying to connect
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: espcomm_upload_mem failed
I tried to upload a sketch to a Thing board that has been is use for several years with the same error. Since it failed to upload, I was able to put the board back in its circuit and it still functions with the several year old program.
I have tried the generic ESP8266 board as well as the Sparkfun ESP8266 Thing and Sparkfun ESP8266 Thing Dev. I’ve also tried different upload speed combinations in the IDE and in the COM port settings.
Any idea what I may be doing wrong with the upload?