esptool.FatalError: Timed out waiting for packet header inNode MCU ESP8266

Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:

ICACHE : 32768 - flash instruction cache

IROM : 426128 - code in flash (default or ICACHE_FLASH_ATTR)

IRAM : 29829 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)

DATA : 1688 ) - initialized variables (global, static) in RAM/HEAP

RODATA : 7304 ) / 81920 - constants (global, static) in RAM/HEAP

BSS : 28752 ) - zeroed variables (global, static) in RAM/HEAP

Sketch uses 464949 bytes (44%) of program storage space. Maximum is 1044464 bytes.

Global variables use 37744 bytes (46%) of dynamic memory, leaving 44176 bytes for local variables. Maximum is 81920 bytes.

esptool.py v3.0

Serial port COM4

Connecting....

Chip is ESP8266EX

Features: WiFi

Crystal is 26MHz

MAC: c8:c9:a3:64:a1:cd

Uploading stub...

Running stub...

Stub running...

Configuring flash size...

Traceback (most recent call last):

File "C:\Users\jaazi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in

esptool.main(cmdline)

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3599, in main

detect_flash_size(esp, args)

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 2848, in detect_flash_size

flash_id = esp.flash_id()

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 688, in flash_id

return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 948, in run_spiflash_command

old_spi_usr = self.read_reg(SPI_USR_REG)

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 562, in read_reg

val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 386, in command

p = self.read()

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 331, in read

return next(self._slip_reader)

File "C:/Users/jaazi/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 2636, in slip_reader

raise FatalError("Timed out waiting for packet %s" % waiting_for)

esptool.FatalError: Timed out waiting for packet header

esptool.FatalError: Timed out waiting for packet header

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I have an error message like this. Is anyone can able to help me....plz. Because it's very urgent. Thank you.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.