#

OK: A fatal error occurred: Timed out waiting for packet content
 
Beim Laden eines Programms zum ESP32 DevBoard wird der Flash abgebrochen mit der Fehlermeldung:

Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47...
 
A fatal error occurred: Timed out waiting for packet content
A fatal error occurred: Timed out waiting for packet content
 

 
 
Betrifft: ESP32 , AZ-Delivery
ESP32-WROOM-32 NodeMCU
 
Screenshot Arduino IDE beim Laden

 
Log Meldung mit Fehler

Sketch uses 209361 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15356 bytes (4%) of dynamic memory, leaving 312324 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:62:ab:f3:9d:80
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 512000
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47...
 
A fatal error occurred: Timed out waiting for packet content
A fatal error occurred: Timed out waiting for packet content
 

 
 
ESP32 NodeMCU
 
 
 
Problem:
Mit der Anschluss-Schaltung und Verdrahtung beim ESP32 wird das Pin GPIO2 verwendet. Dieser Anschluss ist beim Load nicht auf Null GND gezogen.
Für das Übernehmen des FLASH Speichers muss während des Upload das Pin auf GND gezogen werden.

 
Lösung:
Man muss das GPIO2 Pin zum Booten auf GND ziehen

 
Dann wird beim Download zum ESP32 das Programm richtig übertragen

 
Download ok:

Sketch uses 209361 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15356 bytes (4%) of dynamic memory, leaving 312324 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:62:ab:f3:9d:80
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.9 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 563.3 kbit/s)...
Hash of data verified.
Compressed 209472 bytes to 106105...
 
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 209472 bytes (106105 compressed) at 0x00010000 in 2.3 seconds (effective 730.2 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 1890.5 kbit/s)...
Hash of data verified.
 
Leaving...
Hard resetting via RTS pin...

 
 
Mobile

.

123movies