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 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