Search found 2 matches

by _ac88_
Fri Jun 17, 2022 2:05 pm
Forum: ESP32 Arduino
Topic: Saving data to flash memory in wrong address
Replies: 4
Views: 3247

Re: Saving data to flash memory in wrong address

The quote above is incorrect. The EEPROM is limited only by the size of your nvs partition, so you can easily store 2KB in there if you choose. You set the size when you call EEPROM.begin(size). AFAICT, all the write methods have bounds checking, so I suspect the issue is in your code, which you ha...
by _ac88_
Thu Jun 16, 2022 6:14 pm
Forum: ESP32 Arduino
Topic: Saving data to flash memory in wrong address
Replies: 4
Views: 3247

Saving data to flash memory in wrong address

Hello. I'm saving some data (strings and integers) in flash memory of my ESP32 (and it works well) and I have the following addresse's to the respective data: #define MAX_EEPROM_LEN 100 #define EEPROM_LOC1 100 #define EEPROM_LOC2 200 #define EEPROM_LOC3 300 #define EEPROM_LOC4 400 #define EEPROM_LOC...