I am trying to flash the AT firmware in esp8266
but I am always getting the error of timed out waiting for packet header.
Note : I am using esptool.py
to flash the the chip and I already have some code uploaded to it, which I uploaded using Arduino IDE
Here is the error which i am getting while writing flash:
root@mayank-HP-Notebook:/home/mayank/Desktop# esptool.py -b 115200 -p /dev/ttyACM0
write_flash 0x000000 "ESP_8266_BIN0.92.bin" esptool.py v1.2-dev
Connecting... Running Cesanta flasher stub...
A fatal error occurred: Timed out waiting for packet header
Had the same issue while connected via USB to my desktop. Tried everything: changed even the cable but eventually I've put the USB cable in another USB slot and it worked !! Seems that the non-working USB slot in front of my desktop is an extension of the USB on motherboard, only the native slots in the back of my desktop are working for ESP-flash. Never experienced other issues with it.