ESPHome - Unexpected error: ESP Chip Auto-Detection failed

I’ve flashed a few devices in the past with no problems but today I am getting this error when using
esphomeflasher.

Using 'COM8' as serial port.
Connecting........_____....._____....._____....._____....._____....._____....._____
Unexpected error: ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Timed out waiting for packet header

It’s a simple config, just to get it on-line.

Can anyone help please?

substitutions:
  board: mhetesp32devkit
  device_name: esp32_01
  friendly_name: Garden Irrigation Controller

esphome:
  name: ${device_name}
  platform: ESP32
  board: ${board}

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect: True

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Garden Irrigation Controller"
    password: "xxxxxxxxxxxx"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

# Sensors
text_sensor:
  # ESPHome Version
  - platform: version
    name: ${friendly_name} ESPHome Version

sensor:
  # Uptime
  - platform: uptime
    name: ${friendly_name} Uptime

  # WiFi Signal
  - platform: wifi_signal
    name: ${friendly_name} WiFi Signal
    update_interval: 60s

# Switches
switch:
  # Reboot
  - platform: restart
    name: ${friendly_name} Reboot
    id: reboot

2 Likes

I found it.
Sometimes you need to hold down the Boot button on the ESP32 until it starts flashing.

1 Like

i have same problem but i am using ESP8266 12-E so I didn’t find any answer cancan someone help to me ??? :(:(:(:frowning:

2 Likes

Nice one thanks!

me too… been going crazy trying to flash some esphome code on it. I’m using a nodemcu esp-12e chip. Either it’s busted or I’m surely not doing something right.