espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.49k stars 7.39k forks source link

A fatal error occurred: Failed to connect to ESP32-S3: Invalid head of packet (0x80) #10178

Open asgar-ayla opened 2 months ago

asgar-ayla commented 2 months ago

Board

ESP32-S3

Device Description

ESP32-S3

Hardware Configuration

ESP32-S3 DevKit and USB cable.

Version

latest master (checkout manually)

IDE Name

ESP-IDF

Operating System

Linux

Flash frequency

40MHz

PSRAM enabled

yes

Upload speed

921600

Description

Unable to complete flashing. A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x80).

Sketch

esptool.py

Debug Message

INFO: output: Writing at 0x0015dc00... (26 %)
INFO: output: Writing at 0x0015e000... (26 %)
INFO: output: Writing at 0x0015e400... (26 %)
INFO: output: 
INFO: output: A fatal error occurred: Invalid head of packet (0x80): Possible serial noise or corruption.
INFO: -------- failure logs end --------
WARNING: failures: 1, good: 0

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

lbernstone commented 2 months ago

https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html#why-is-my-board-not-flashing-uploading-when-i-try-to-upload-my-sketch