Chat freely about anything...

User avatar
By samtal
#88834 Hi,
I use the combined ESP8266+ATMega board in my attempt to learn and control the ESP8266.
The board is set to USB+esp (only, no ATMega used)
The esp is flashed and active, AT commands are OK.

I now wish to load to the esp the Arduino IDE prepared esp control program by Yavnik (https://cdn.instructables.com/ORIG/FCX/SCY8/IR85H83Y/FCXSCY8IR85H83Y.ino), but not sure what the correct procedure is.
ESP8266WiFi.h is included in the Arduino IDE, the generic esp8266 is selected.
When loading the program, the serial R/T Leds blik, but after several attempts I get the error:
esptool.py v2.8
Serial port COM12
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "C:\Users\sam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "C:/Users/sam/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/sam/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header