Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
965 stars 227 forks source link

Issue saving configuration on first start #428

Closed UdenVH closed 3 years ago

UdenVH commented 3 years ago

at first start, i tried to update the configuration through the web-interface and added my wifi ssid & pwd.

when saving, i get the following message in the log:

23:12:18.273 -> D: Get command is: saveprefs
23:12:18.307 -> D: Send reply for saveprefs
23:12:18.307 -> D: **nvs_open failed!**
23:12:18.307 -> D: writeprefs setstr gpio_00 = uppreset = 1
23:12:18.307 -> D: nvs_open failed!
23:12:18.307 -> D: nvssetstr failed!
23:12:18.307 -> D: writeprefs setstr gpio_12 = upvolume = 2

NB Using a WRoom ESP32 (Arduino board set to FireBeetle ESP32 (also tried other ESP boards).

Any help is much appreciated. thanks!

UdenVH commented 3 years ago

resolved after running the following command: esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash

ESP now is connected to my wifi and seems to be running fine. NB after i commented all pheriperals, like

and uncommented