esptool.FatalError: Failed to connect to ESP8266

hi, I am new to Arduino and programming, I’m using a Mac version 11.1 big sur, I am having problems uploading my code onto my component, ESP8266, below is my error messages. I have tried to find solutions, checked on other forums and stuff, I’ve tried holding down the flash/boot button which was a popular solution and seemed to work for most people. if anyone could help that would be brilliant :slight_smile:

Arduino: 1.8.13 (Mac OS X), Board: “Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Serial, None, Only Sketch, 115200”

Executable segment sizes:
IROM : 250212 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 28760 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs…)
DATA : 1320 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 2428 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25560 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 282720 bytes (27%) of program storage space. Maximum is 1044464 bytes.
Global variables use 29308 bytes (35%) of dynamic memory, leaving 52612 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port /dev/cu.usbserial-01E5DA9D
Connecting……____Traceback (most recent call last):
File “/Users/tilly/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/upload.py”, line 65, in
esptool.main(cmdline)
File “/Users/tilly.turnbull/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 3552, in main
esp.connect(args.before, args.connect_attempts)
File “/Users/tilly.turnbull/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py”, line 529, 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

_

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

1 Like

Are you sure your Huzzah is connected to this serial interface: /dev/cu.usbserial-01E5DA9D?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Did you follow this instruction?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.