All Questions
10 questions
1
vote
1
answer
73
views
External EEPROM Read and Write Issues: Junk Values in I2C Communication
I have an ESP32 controller and am using AT24C1024 for communication. In my code, I am trying to access an external EEPROM at positions writing data from 0 to 10000 position data is = '1'. However, ...
0
votes
1
answer
167
views
Problem saving "char" variable to EEPROM on ESP32
I am making a project, in which I need to store the WiFi credentials to the EEPROM. For now, I am able to store a bool array in the EEPROM, but I am not able to store the char variables as the ESP32 ...
-1
votes
3
answers
844
views
Arduino IDE EEPROM put() then read() returns different data on ESP32
I'm trying to understand how to read/write a UID struct from miguelbalboa to EEPROM to persist a card ID across system restarts on my ESP32-S3 through the Arduino IDE. I expected Put/Get/Read to be ...
2
votes
1
answer
434
views
What is wrong with the way I write and or read the EEPROM adresses?
Consider:
#include <EEPROM.h>
byte guifactor1 = 1;
byte guifactor2 = 2;
byte guifactor3 = 3;
byte guifactor4 = 4;
byte guifactorgas = 5;
byte guifactorwater = 6;
volatile unsigned long ...
1
vote
1
answer
2k
views
How to set the eeprom initial value when flashing an ESP32
As I use the EEPROM to persist data such as for provisioning the WiFi (SSID and password), I'd like to make sure that the very first time the ESP32 runs, it finds the initial '\0' for the SSID so that ...
1
vote
1
answer
2k
views
ESP32: best way to embed certificates
I'm using the Arduino framework on an ESP32 based board. The board has an SD card slot, but I'm not going to use it.
Anyway, I need to store somewhere the certificates. To the the firmware I've just ...
1
vote
0
answers
246
views
ESP8266 EEPROM Reading extra character
I am very very new to ESP Programming.
I am trying to store Strings into EEPROM of ESP8266.
I am storing the string into eeprom successfully but while reading it from EEPROM extra character 'd' is ...
0
votes
1
answer
1k
views
make EEPROM.h use custom eeprom partition
I created the below partition table for an esp32 and replaced the 'default_8MB.csv' with it.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ...
0
votes
1
answer
414
views
Esp32: upload eeprom file
I'd like to flash the eeprom sector with content so that the eeprom already holds data when it boots the first time.
How do I upload such an eeprom file like I would do with avrdude on an atmega? Is ...
1
vote
1
answer
346
views
EEPROM: managing address mapping between firmware versions
Is there a common way to handle changes in the mapping between eeprom addresses and variables between firmware versions? It's not about the eeprom memory to survive the update, but to be(come) ...