I’m trying to upload a sketch to ESP8266 Thing using FTDI Basic board with Arduino IDE. I have FTDI Basic board connected to usb port on macbook, 2nd usb cable plugged to wall wart for power. Using Arduino 1.8.13 with updated boards and libraries. It compiles then gets error uploading:
Arduino: 1.8.13 (Mac OS X), Board: “SparkFun ESP8266 Thing, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 512KB (FS:32KB OTA:~230KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200”
Executable segment sizes:
IROM : 228624 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26752 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs…)
DATA : 1248 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 688 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 24880 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 257312 bytes (55%) of program storage space. Maximum is 466928 bytes.
Global variables use 26816 bytes (32%) of dynamic memory, leaving 55104 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port /dev/cu.usbserial-AB0JPWG2
Connecting…
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: c8:2b:96:09:27:79
Uploading stub…
Traceback (most recent call last):
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/upload.py”, line 65, in
esptool.main(cmdline)
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 2909, in main
esp = esp.run_stub()
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 633, in run_stub
self.mem_block(stub[field][from_offs], seq)
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 536, in mem_block
return self.check_command(“write to target RAM”, self.ESP_MEM_DATA,
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 369, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 347, in command
p = self.read()
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 292, in read
return next(self._slip_reader)
File “/Users/davidblythe/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 2045, in slip_reader
raise FatalError(“Timed out waiting for packet %s” % waiting_for)
esptool.FatalError: Timed out waiting for packet header
esptool.FatalError: Timed out waiting for packet header
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
I tried the troubleshooting tips in the hookup guide but didn’t get anywhere. I’ve read all the ESP 8266 posts in the forum but can’t find an answer. Can you suggest anything? Otherwise I’ll have to find a different solution for IOT project.
Thanks