saving . . . saved Error While Uploading has been deleted. Error While Uploading has been hidden .
Error While Uploading
Title
Question
I am using Windows 10 and i am not able to upload the code, i have followed all the steps properly.
This is the error i am getting
Arduino: 1.8.13 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 1, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:

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

IRAM   : 26816   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...) 

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

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

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

Sketch uses 271620 bytes (28%) of program storage space. Maximum is 958448 bytes.

Global variables use 27312 bytes (33%) of dynamic memory, leaving 54608 bytes for local variables. Maximum is 81920 bytes.

esptool.py v2.8

Serial port COM3

Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):

  File "C:\Users\SHLOK\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>

    esptool.main(cmdline)

  File "C:/Users/SHLOK/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main

    esp.connect(args.before)

  File "C:/Users/SHLOK/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, 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

_

the selected serial port _

 does not exist or your board is not connected



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




Arduino Wireless-Connectivity-to-Arduino 10-11 min 0-10 sec 11-10-20, 1 p.m. shlok0108

Answers:

Make sure your Arduino port is selected properly as the error message shows port does not exit.
Also, make sure that while the small window showing connecting..... message, the pin needs to be grounded
11-10-20, 1:36 p.m. Pratikjb11
Yes all the connections are proper 
11-10-20, 4:09 p.m. shlok0108

Login to add comment


Log-in to answer to this question.