Hi all,
I’m getting the following error trying to flash my AJ-SR04M sensor
- Unexpected error: ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Invalid head of packet (0x00)
The AJ-SR04M is a water proof version of the HC-SR04 sensor that I’ve been able to successfully flash, see Ultrasonic Distance Sensor (also referenced here)
I have reversed RX/TX
Here’s my .yaml
- I want to flash it first and code for it later so it’s pretty blank
- I created my “oil-gauge.bin” with it when using esphome-flasher where it was recognized using COM4
I tried not reversing RX/T but got the following:
- Unexpected error: ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Timed out waiting for packet header
Nothing seemed to jump out to me in the “I can’t get flashing over USB to work” section of the ESPHome Frequently Asked Questions
For reference, here’s a short video of my failing flash attempt: