Questions tagged [eeprom]

Anything related to Electrically-Erasable Programmable Read Only Memory (EEPROM), a kind of non-volatile electronic memory technology. EEPROMs can be programmed and erased using only electrical signals and maintain their content also in absence of power supply. The now ubiquitous Flash memory is a specialized form of EEPROM. QUESTIONS ON STACK OVERFLOW MUST BE PROGRAMMING-RELATED, for other types of questions, post on another Stack Exchange site.

Anything related to Electrically-Erasable Programmable Read Only Memory (EEPROM), a kind of non-volatile electronic memory technology. EEPROMs can be programmed and erased using only electrical signals and maintain their content also in absence of power supply. The now ubiquitous is a specialized form of EEPROM.

See Wikipedia page on EEPROMs.

329 questions
0
votes
1 answer

ESP32 writeStringEEPROM adds unwanted nembers when I use the letter '&'

I am trying to use this code: https://github.com/jatocode/WifiConnect/blob/master/WifiConnect/WifiConnect.ino with my ESP32. The problem is that my wifi network name is "y&t" and when I am trying to use it the progrem saves to the EEPROM "y&26t"…
yaron k
  • 51
  • 6
0
votes
1 answer

Is using structs with virtual inheritance a bad idea when reading from EEPROM? (Arduino)

I've run into a strange problem where if I load my data structure from EEPROM it casts it incorrectly. But, if I have both my function calls to the function responsible for saving the data structure and the function responsible for reading the data…
0
votes
2 answers

ESP32 writing string to EEPROM

I need to save some data to EEPROM because I want to retain that value even when the device is switched OFF. When the device is powered again, I need to remember what was the last value. I have no problems saving integer value to EEPROM as…
Lukas
  • 29
  • 8
0
votes
1 answer

ESP8266 EEPROM READ/WRITE - Write seems to happen before read of old value

I'm trying to write some code for the the ESP8266-12E that detects initial program load of a new version of the code. For this simplified version of my code (that still exhibits the behavior I'm seeing) there is no code in the loop() section. I…
Jim
  • 33
  • 10
0
votes
2 answers

EEPROM not writing data properly Atmega32 C

I have a program that reads temperature and pressure sensors and does internal ADC conversion on them, then save data to the EEPROM, then convert back to original value and display it on the LCD. The issue is that when I debug the program in Atmel,…
SegFaulter
  • 61
  • 7
0
votes
0 answers

STM32 EEPROM Emulation vs HAL_FLASH and HAL_FLASH_EX driver

Looking to confirm options to persistently save values on an STM32H7 device. My understanding of the high level options are: EEPROM Emulation with eepropm.h/c (which uses the HAL_FLASH/EX drivers) HAL_FLASH and HAL_FLASH_EX drivers,…
plane
  • 31
  • 1
  • 5
0
votes
2 answers

Save to EEPROM at power down using STM32

I am using STM32F030R8. I have enabled a counter that counts value at fixed interval. I was wondering whether i can save this counter value to eeprom as soon as i switch off the power to the uController. I am using 24C08 i2c eeprom. I can use large…
0
votes
0 answers

Writing to EEPROM could not be completed as it resets the board

I am writing this program to write byte of data to each memeory location and then read and compare the stored bytes. However, when i am writing the data through FOR loop, the loop ends after 749 Writes and reset the Micro. i am resetting the WDT so…
Jamal2189
  • 21
  • 2
0
votes
1 answer

NodeMCU EEPROM how to detemine there was no value set earlier

i am trying to save IP address and password in NODE MCU EEPROM. Here is the code snippet. The problem is the first time i am reading, i am getting garbage values because there were no values set earlier, so how do i determine if there were values…
0
votes
0 answers

EPS8266 writing number to EEPROM fails to write, returns 0

I am using an ESP8266 and trying to write to the EEPROM. My goal is to save an array of 4 digit numbers (2 byte ints), but here I made a test for one number. The serial monitor output is "0" for number2. can anyone tell me why? #include…
0
votes
1 answer

Saving WiFi credentials to EEPROM on ESP8266

I am using the following code to save and load credentials to and from EEPROM: void loadCredentials() { EEPROM.begin(512); EEPROM.get(0, ssid); EEPROM.get(0+sizeof(ssid), password); char ok[2+1]; EEPROM.get(0+sizeof(ssid)+sizeof(password),…
Aguilaair
  • 118
  • 1
  • 6
0
votes
2 answers

stm8flash .bin file for EEPROM write

I am attempting to write values directly to the eeprom space on a stm8 micro controller. I don't want to write a program that does this that I flash onto the chip. But i want to write directly to it. The command to do this is in unix is…
cameroony
  • 67
  • 1
  • 10
0
votes
1 answer

How can I learn the size of the EEPROM on a chip if documentation is unavailable?

If I have an EEPROM integrated circuit but documentation is not available for it, how can I find out how much memory is available to me? My first thought was to write some distinct bytes to the first several sequential addresses and then loop…
Dillon
  • 1
  • 3
0
votes
0 answers

How to use Wire.find And Wire.findUntil on arduino?

I would like to retrieve some objects from a Json document store in an EEPROM 24LC32 memory without being forced to read and insert the content of the EEPROM memory into the small RAM of my arduino using Wire.find and Wire.findUntil. Thank you for…
0
votes
1 answer

I2C failure with stm32

I have a problem about I2C and I saw some topics about my problem on the internet but there was no solution, I hope you help me by sheding light on this. Problem : After sending adress by I2C, the ADDR flag in SR1 register is not set but at the…
hasan bucak
  • 75
  • 1
  • 1
  • 8