Manjaro linux.
Arduino 1.8.12
Example Sketch is Blink
It works if I use a Nodemcu board but I get this error when I use a Feather Huzzah.
I tried adjusting the rwx, properties on the ttyUSB0, port but it didn't help.
I tried going back to ver 2.5 of the board but still no love.
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "/home/hexdump/.arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "/home/hexdump/.arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool/esptool.py", line 2890, in main
esp.connect(args.before)
File "/home/hexdump/.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
_
the selected serial port _
does not exist or your board is not connected
Yes, IDE shows the port to be connected. It's when the compile is finished and it begins to do the upload that the error occurs.
Something else I found and maybe you can pass it along is this.
The blink example will work when I remove the tx and rx connections to it.
They really weren't needed, I just happened to leave them in for another sketch.
Take them out and blink works, put them in and it errors.
I have only tried this twice so I will need to verify it once again.
hextejas:
The blink example will work when I remove the tx and rx connections to it.
Are you saying you have something connected to the RX and TX pins on the Adafruit Feather Huzzah board? Those pins are used for uploading sketched to the board, so connecting anything to them can cause uploads to fail.
You'll either need to disconnect the GPS module every time you want to upload, or else use a software serial library to create a serial port on some other pins on the Adafruit Feather Huzzah, and connect the GPS module to those pins instead.
pert:
You'll either need to disconnect the GPS module every time you want to upload, or else use a software serial library to create a serial port on some other pins on the Adafruit Feather Huzzah, and connect the GPS module to those pins instead.
Thank you again Pert, this was the answer. Upon further reading of the sketch I found some comments re connecting the rx and tx of the GPS. And as you said it was not to the Feather.