esptool flash error on D1 mini v.2.2.0
Posted: Mon Mar 16, 2020 6:36 pm
Im trying to flash the chip using arduino IDE but there appears to be a problem with the esptool. there is a picture of the settings im currently using attached. This is the error message i get:
//////////////////////////////////
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM11
Connecting....
Chip is ESP8266EX
Features: WiFi
MAC: 38:2b:78:04:61:db
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Traceback (most recent call last):
File "C:\Users\Asus\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/upload.py", line 25, in <module>
esptool.main(fakeargs)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2694, in main
detect_flash_size(esp, args)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2073, in detect_flash_size
flash_id = esp.flash_id()
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 567, in flash_id
return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 812, in run_spiflash_command
old_spi_usr = self.read_reg(SPI_USR_REG)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 475, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 332, in command
p = self.read()
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 277, in read
return next(self._slip_reader)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 1877, 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
//////////////////////////////////////
//////////////////////////////////
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM11
Connecting....
Chip is ESP8266EX
Features: WiFi
MAC: 38:2b:78:04:61:db
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Traceback (most recent call last):
File "C:\Users\Asus\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/upload.py", line 25, in <module>
esptool.main(fakeargs)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2694, in main
detect_flash_size(esp, args)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2073, in detect_flash_size
flash_id = esp.flash_id()
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 567, in flash_id
return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 812, in run_spiflash_command
old_spi_usr = self.read_reg(SPI_USR_REG)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 475, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 332, in command
p = self.read()
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 277, in read
return next(self._slip_reader)
File "C:/Users/Asus/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 1877, 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
//////////////////////////////////////