Help Me, I can not connect with my NodeMCU

Hope you are doing good!

I am having trouble having connecting to my board NodeMCU.
The problem have come up after I "accidentatly" installed CH340 drivers on my Mac. Now I can not find a way to uninstall these.

I have tried changing the cable and USB port on my computer and still there is same problem.
I can confirm that the board is connected to my computer and can be seen by Arduino IDE since it flashes the LED when Arduino IDE tries to connect it.

Here is what I have:
Arduino IDE ver: 1.8.13
ESP8266 ver: 2.7.4
MacOS ver: 11.2.2

Here is what I get

Sketch uses 280424 bytes (26%) of program storage space. Maximum is 1044464 bytes.
Global variables use 29388 bytes (35%) of dynamic memory, leaving 52532 bytes for local variables. Maximum is 81920 bytes.
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

_java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:127)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:112)
at java.io.InputStreamReader.read(InputStreamReader.java:168)
at processing.app.debug.MessageSiphon.run(MessageSiphon.java:81)
at java.lang.Thread.run(Thread.java:748)
esptool.py v2.8
Serial port /dev/cu.usbserial-0001
Connecting......................................____Traceback (most recent call last):
File "/Users/muhammadazeem/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/upload.py", line 65, in
esptool.main(cmdline)
File "/Users/muhammadazeem/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2890, in main
esp.connect(args.before)
File "/Users/muhammadazeem/Library/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 topic was automatically closed 120 days after the last reply. New replies are no longer allowed.