Problem while uploading code to esp8266

I have esp8266 and i wanted to upload blink code just to make sure everything workin fine
and then this happend.
Executable segment sizes:
ICACHE : 32768 - flash instruction cache
IROM : 231724 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26793 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1496 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 876 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25608 ) - zeroed variables (global, static) in RAM/HEAP
Szkic używa 260889 bajtów (24%) pamięci programu. Maksimum to 1044464 bajtów.
Zmienne globalne używają 27980 bajtów (34%) pamięci dynamicznej, pozostawiając 53940 bajtów dla zmiennych lokalnych. Maksimum to 81920 bajtów.
C:\Users\48782\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3 -I C:\Users\48782\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py --chip esp8266 --port COM8 --baud 921600 --before default_reset --after hard_reset write_flash 0x0 C:\Users\48782\AppData\Local\Temp\arduino_build_319084/Blink.ino.bin
esptool.py v3.0
Serial port COM8
Connecting......................................____Traceback (most recent call last):
File "C:\Users\48782\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in
esptool.main(cmdline)
File "C:/Users/48782/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/48782/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

_

I use esp8266 wemos mini and yes i have it scelected.

what board is it? is it just esp or is it esp and mega. if its a chinese mega with esp you need to hold down the button near the esp chip while it is programming.

I think is d1 mini it has reset text but dosent have d1 mini text so it can by chinise clone
and i tried this and still didint work :confused:

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