Projekt-Anfragen: Tel: 07022/9319004 info@CodeDocu.de Software Entwicklung in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Fehler ESP32: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

 

 

Ursache:

Wenn der PIN EN auf GRD verbunden ist oder GPIO0 G0 auf 3,3 Verbunden ist

 

Verhalten:

Beim Upload eines neuen Programms Sketch bleibt der Upload-Vorgang hängen mit der Meldung

Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch

 

 

 

Lösung:

Entweder mit einem kleinen Kondensator oder einem Pullup Widerstand auf das andere Level ziehen

 

Im Serial Monitor

Sketch uses 211501 bytes (16%) of program storage space. Maximum is 1310720 bytes.

Global variables use 15428 bytes (4%) of dynamic memory, leaving 312252 bytes for local variables. Maximum is 327680 bytes.

esptool.py v2.6

Serial port COM3

Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch

_

 

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

 

 

 

 

 

 

Nach dem Lösen der Verbindungen wird das Programm normal hochgeladen zu ESP32 node MCU (ESP32 WROOM32 )

Sketch uses 211501 bytes (16%) of program storage space. Maximum is 1310720 bytes.

Global variables use 15428 bytes (4%) of dynamic memory, leaving 312252 bytes for local variables. Maximum is 327680 bytes.

esptool.py v2.6

Serial port COM3

Connecting........_____....._____....._____.....__

Chip is ESP32D0WDQ6 (revision 1)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

MAC: 24:6f:28:b0:a9:38

Uploading stub...

Running stub...

Stub running...

Changing baud rate to 512000

Changed.

Configuring flash size...

Auto-detected Flash size: 4MB

Compressed 8192 bytes to 47...

 

Writing at 0x0000e000... (100 %)

Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5957.7 kbit/s)...

Hash of data verified.

Compressed 17392 bytes to 11186...

 

Writing at 0x00001000... (100 %)

Wrote 17392 bytes (11186 compressed) at 0x00001000 in 0.2 seconds (effective 565.6 kbit/s)...

Hash of data verified.

Compressed 211616 bytes to 107094...

 

Writing at 0x00010000... (14 %)

Writing at 0x00014000... (28 %)

Writing at 0x00018000... (42 %)

Writing at 0x0001c000... (57 %)

Writing at 0x00020000... (71 %)

Writing at 0x00024000... (85 %)

Writing at 0x00028000... (100 %)

Wrote 211616 bytes (107094 compressed) at 0x00010000 in 2.3 seconds (effective 724.4 kbit/s)...

Hash of data verified.

Compressed 3072 bytes to 128...

 

Writing at 0x00008000... (100 %)

Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1638.4 kbit/s)...

Hash of data verified.

 

Leaving...

Hard resetting via RTS pin...

 

Mobile
»
OK: A fatal error occurred: Timed out waiting for packet content
»
Lösung: ESP32 Pin GPIO0
»
A fatal error occurred: Failed to connect to ESP32
»
Problem: ESP32 startet nicht mehr

.

Jobs, Projekte, Angebote für Freiberufler, Selbstständig an Info@CodeDocu.de