-->
Page 1 of 1

I can't put new codes on Esp8266

PostPosted: Wed Apr 01, 2020 12:02 pm
by EricEdu
My board (NodeMcu v3) is recognized by windows and by the Arduino ide, however when I compile and send the codes I get these errors:
Code: Select all File "C:/Users/erics/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/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
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header


I already used this board to put other codes, but when I switched to the protoboard I can't send any more codes.
Note: the built in led is always on, it does not turn off or when pressing the reset button

Re: I can't put new codes on Esp8266

PostPosted: Fri Apr 03, 2020 3:18 am
by QuickFix
EricEdu wrote: Note: the built in led is always on, it does not turn off or when pressing the reset button

There are two (blue) LEDs on a NodeMCU: one on the NodeMCU board and one on the ESP-12 module.

The one on the board is connected to GPIO16, on the module it's connected to GPIO2, which is its TX-line; if either one is LOW the LED will light.
If the module's LED is always lit, it's either held low by something externally connected or the USB - UART convertor is defective.