-->
Page 1 of 1

Feather Huzzah won't program - "Invalid head of packet"

PostPosted: Fri Aug 19, 2016 7:22 am
by craigfoo
I've been running the Adafruit Feather Huzzah in my project for about 6 months now. I have a power management circuit that powers the ESP8266 at a given interval. On a daily average, EEPROM is being read from 24 times and written to 12 times. I also read 2 files on every wakeup using SPIFFS 12 times a day for each file. Am I killing the flash? I have 10 Huzzahs doing this and one just crapped out on me. I'm hoping it's just this one but I'm a concerned.

I try to program it now using esptool.py and I get this message:

Code: Select allR:\DOWNLOADS\ESP8266>esptool.py -p COM25 --baud 115200 write_flash --flash_size=4m 0 01.01.040.bin
Connecting...
Erasing flash...

A fatal error occurred: Invalid head of packet


I feel like I've killed it. Any chance of reviving?

Re: Feather Huzzah won't program - "Invalid head of packet"

PostPosted: Fri Aug 19, 2016 7:27 am
by martinayotte
Most Flash chip have an endurance of 100,000 erase/write cycles.
So, I doubt it is the reason.