This is the error message i received
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Arduino: 1.8.15 (Windows 10), Board: "Generic ESP8266 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, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Executable segment sizes:
ICACHE : 32768 - flash instruction cache
IROM : 238704 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26733 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1504 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 1004 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25664 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 267945 bytes (27%) of program storage space. Maximum is 958448 bytes.
Global variables use 28172 bytes (34%) of dynamic memory, leaving 53748 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port COM3
Connecting......................................____Traceback (most recent call last):
File "C:\Users\wweih\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0/tools/upload.py", line 66, in
esptool.main(cmdline)
File "C:/Users/wweih/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/wweih/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.0/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: Invalid head of packet (0xF0)
esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0xF0)
_
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Thanks.