esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Upgraded Ubuntu to 22.04 - someone reported a bug in the linux kernel that would prevent the ESP8266 connection, and the latest (2022, April) Ubuntu had the new kernel.
Reinstalled latest arduino 1.8.18
Added the additional Board Manager link in Preferences
Restarted Aduino so it would find the Board
Gave myself access permission to /dev/ttyUSB0 which shows up properly on the Tools menu, and in Linux:
QinHeng Electronics CH340 serial converter
Selected the Lolin (Wemos) D1 Mini board (there are 3, all give same connect error)
I clicked Get Board Info from Tools and see:
BN: Unknown board
SN: Upload any sketch to obtain it
Is this normal, and if not what should I try next?
Trying the flash on a Windows machine is not a real option for me
Before the upgrade of Ubuntu (with the supposed kernel fix), I got the same error.
The ESP8266 is brand new, nothing yet soldered. LED flashes as arduino tries the connection 12 times, so something in the chip is connected. I’m assuming that tells me the USB cable is good, right?