esp32 rebooting and nvs wifi writes

jmb4274
Posts: 1
Joined: Fri Jan 06, 2023 1:51 pm

esp32 rebooting and nvs wifi writes

Postby jmb4274 » Fri Jan 06, 2023 2:32 pm

Dear forum,

I have one question about the reliability of components of esp32 components, for maintenance purpose and flash when rebooting, and setting, the default wifi configuration (We don't have any bluetooth configuration).

Can we let the esp32 reboots, after a crash for example, every 10 seconds, or every minute, during 1 week, or 1 month, before a local service maintenance, or any other intervention to restore the correct working of equipments ?

My question is about the writing in flash. At startup, our equipment set the wifi to APSTA, to come back to a customer default configuration. It don't change again theses values and reboot, and try to set theses values ... the wifi is the default configuration (NVS Enabled)

Do you know, if the wifi set mode, set transmit power function, or any others wifi set functions checks the previous value before writing the configuration to the NVS partition ?

Is there any others internal process (wifi calibration ?) of the ESP-IDF platform itself that would write into the flash and limit the reliability of this one (for all nvs variables, SPIFFS or specific additionnal partitions handle by the application, there is no writing at the startup of the program).

Theses questions/answers are in the plan to know how to plan maintenance if this kind of issue arrives with equipments.

Thank you in advanced for your answers and I'm available for more details if needed,

esp-idf platform : 4.4.2 & 4.4.3
esp32 components used : ESP32-WROOM-32D-N8 / ESP32-WROOM-32E-N8

Who is online

Users browsing this forum: Bing [Bot] and 127 guests