0

I am getting this error while uploading a simple LCD program on NodeMCU can anyone guide me??........

esptool.py v2.8
Serial port COM9
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
  File "C:\Users\HP-DeViL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "C:/Users/HP-DeViL/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2890, in main
    esp.connect(args.before)
  File "C:/Users/HP-DeViL/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
  • how is the LCD wired to the NodeMCU? – Juraj 2 days ago
  • without i2c connector..... LiquidCrystal lcd(D1, D0, D5, D6, D7, D8); // Creates an LC object. Parameters: (rs, enable, d4, d5, d6, d7) – Muhammad Awais 2 days ago
  • 3
    use some other pin instead of D8. it is io 15 a boot config pin and must be LOW at boot. or try to swap it to other pin of the LCD – Juraj 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.