Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By obiezboncak
#89280 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!
User avatar
By QuickFix
#89286 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