SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

I lose the wi-fi data on restart #714

Open oremic opened 5 years ago

oremic commented 5 years ago

I entered http-client-ota @AndreaGreco in the example sonoff basic. flash size 8m set. On reboot after ota update. "wifi_config: No configuration found" loses some data. how can i solve. thanks

ourairquality commented 5 years ago

Might want to double check the rboot config, and that rboot can work with a 8m flash.

Can you try reading back the flash using esptool and checking if the sysparam area has become corrupted? Might the OTA update have been too long and written over the sysparam area?

oremic commented 5 years ago

ok I try lareadi sys parameter which address has.