I am unable to connect to the ESP8684 module for flashing using esptool.py. When attempting to run the flash_id command,

Accound
Posts: 18
Joined: Thu Oct 31, 2024 9:05 am

I am unable to connect to the ESP8684 module for flashing using esptool.py. When attempting to run the flash_id command,

Postby Accound » Thu Oct 31, 2024 9:19 am

A fatal error occurred: Failed to connect to ESP32-C2: Invalid head of packet (0xE3): Possible serial noise or corruption.
Additionally, I have tried using idf.py for flashing as well as Espressif IDE, but I encounter similar issues in both cases, preventing successful code flashing.
System Setup:
Chip Model: ESP8684-WROOM-01C
Development Environment: ESP-IDF v5.2.2
USB-to-Serial Adapter: USB-Enhanced-SERIAL CH9102
Power Supply: 3.3V regulated supply
Troubleshooting Steps Taken:
Verified the connections of TX, RX, 3.3V, GND, GPIO0, and EN pins.
Confirmed GPIO0 is held low during reset to enter bootloader mode.
Tried flashing at multiple baud rates (115200, 74880, etc.).
Tested with a different USB-to-serial adapter and COM port.
Updated esptool.py to the latest version (v4.8.1).
Attempted on an alternate computer to rule out local configuration issues.
Despite these steps, I continue to encounter the "Invalid head of packet" error. I would greatly appreciate any additional guidance or troubleshooting recommendations for resolving this issue.

aliarifat794
Posts: 200
Joined: Sun Jun 23, 2024 6:18 pm

Re: I am unable to connect to the ESP8684 module for flashing using esptool.py. When attempting to run the flash_id comm

Postby aliarifat794 » Thu Oct 31, 2024 2:06 pm

Add a small capacitor (typically 10 μF) between the EN pin and GND. This can stabilize the signal and sometimes helps with communication issues during flashing, especially on ESP8684-based setups.

Accound
Posts: 18
Joined: Thu Oct 31, 2024 9:05 am

Re: I am unable to connect to the ESP8684 module for flashing using esptool.py. When attempting to run the flash_id comm

Postby Accound » Fri Nov 01, 2024 7:06 am

Their connection is wrong

Accound
Posts: 18
Joined: Thu Oct 31, 2024 9:05 am

Re: I am unable to connect to the ESP8684 module for flashing using esptool.py. When attempting to run the flash_id comm

Postby Accound » Fri Nov 01, 2024 7:45 am

we try this way too. but nothing has changed, we have the same problem

Who is online

Users browsing this forum: ESP_Roland and 70 guests