Search found 5 matches

by hennesf
Tue Feb 18, 2025 2:35 pm
Forum: ESP32 Arduino
Topic: ESP32 using NVS does not work
Replies: 8
Views: 3133

Re: ESP32 using NVS does not work

Does that mean that the NVS Contents get overwritten? Flash will be erased from 0x00001000 to 0x00007fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Flash will be erased from 0x00010000 to 0x000f7fff... This is what my Arduino IDE an...
by hennesf
Wed Feb 12, 2025 10:25 am
Forum: ESP32 Arduino
Topic: ESP32 using NVS does not work
Replies: 8
Views: 3133

Re: ESP32 using NVS does not work

Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000f7fff...

It seems, that is what happens?
by hennesf
Tue Feb 11, 2025 3:40 pm
Forum: ESP32 Arduino
Topic: ESP32 using NVS does not work
Replies: 8
Views: 3133

Re: ESP32 using NVS does not work

It seems when flashing the esp with a new sketch (Arduino), the NVS gets overwritten. So the code in my first post could not work. Right now i combined writing and reading in one sketch and, hurray, it works. Here it is: ```cpp //ESP32_permanent_Speicher_schreiben_und_lesen.ino #include <Preferences...
by hennesf
Tue Feb 11, 2025 9:13 am
Forum: ESP32 Arduino
Topic: ESP32 using NVS does not work
Replies: 8
Views: 3133

Re: ESP32 using NVS does not work

Hi there,
yes, it does.
I assume that my "writing-code; schreiben" works, but when flashing the "Read-code; lesen", the NVS Area gets erased by the flashing.
Could that be the possible reason?

Regards
by hennesf
Mon Feb 10, 2025 4:27 pm
Forum: ESP32 Arduino
Topic: ESP32 using NVS does not work
Replies: 8
Views: 3133

ESP32 using NVS does not work

//ESP32_permanent_Speicher_schreiben.ino #include <Preferences.h> Preferences tab; // Namensraum festlegen int a; int min12 = 555; int min9 = 183; int min6 = 520; int min3 = 920; int min1 = 720; // Beispielwerte void setup() { tab.begin("wert1", false); //Ordner "wertX" für Luftdruckwerte anlegen, ...