-->
Page 1 of 1

ESP8266 Arduino IDE issue

PostPosted: Sun Nov 01, 2020 5:49 am
by obiezboncak
Hello everyone,
I recently got an nodemcu ESP8266 CP2102 and am trying to make a real-time grapher based on a tutorial on this site.

However when I try to upload sketch data, it displays the address and other thing for the module and says upload failed. omegle app

The sketch to be uploaded gives error 'esptool.FatalError: failed to connect : invalid head of packet (0x00)

I have tried googling the issue but cannot find a descriptive and easy to understand answer. (I'm newbie to esp8266). Can you guys please give me some tips on how to resolve this issue? (My Arduino IDE shows 2 random ports without connecting any devices, so perhaps this is the IDE's issue?) Thanks in advance!

Re: ESP8266 Arduino IDE issue

PostPosted: Mon Nov 02, 2020 7:03 am
by QuickFix
This message is shown when the incorrect COM-port is selected (or the COM-port driver isn't correctly installed).
  • Close the Arduino IDE
  • Remove NodeMCU from computer
  • Download and install the correct driver for the CP2102 and your OS
  • Go to device manager
  • Watch what COM-ports are installed now (probably none)
  • Plug in your NodeMCU (you're probably seeing a dialog and/or device attached sound)
  • Now look again at the device manager, you should see a (new) COM-port
  • Make a note of the COM-port number
  • Start Arduino IDE
  • Select the port number you've just made a note of