r-downing / wifi-sous-vide

WiFi-controlled Sous Vide on ESP8266 (arduino)
19 stars 8 forks source link

Requires a complete erase of ESP8266 flash memory before fully boots... #4

Closed cymen closed 6 years ago

cymen commented 6 years ago

I couldn't get this to work until I completely erased the flash memory on my ESP8266 using esptool. Without doing that, it would boot up and log "setup complete" on the console but the wifi part would not load. I suspect before loading this project, something had already written to the memory in the chip and when the network code in this project attempted to read persisted data, it failed in some way that prevented it from fully loading. Perhaps there is a way to fix that?

But in the meantime, if anyone else is stuck, just clear the firmware memory completely using esptool before flashing this project.

Thanks!

cymen commented 6 years ago

This is probably due to not realizing SPIFFS needed to be populated separately from flashing (explained that https://github.com/r-downing/wifi-sous-vide/issues/5).