Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Ovaltineo
#51579 Yes, it happened to me too. Using Arduino IDE, I updated a brand new ESP-12E via serial several times with no problems. Then I tried to use Arduino OTA. I've been using this on my other ESP-07s without a problem. But on the ESP-12E, it failed towards the end. No problem, I thought. I switched back to serial update, but it wouldn't work. I tried all using CK or manual method of going into program mode -- none of them worked. I've replaced the flash chip but still no luck. Something must have fried on the ESP chip itself.

Using command-line, I get "A fatal error occurred: Invalid head of packet". I tried erasing the flash but also get the same error: (note that the blue light flashes only once at the beginning)

C:\Users\me>python C:\projects\esptool\esptool.py --port COM8 --baud 115200 erase_flash
Connecting...
Erasing flash (this may take a while)...

A fatal error occurred: Invalid head of packet