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

What does EEMEM stand for?

I'm looking for the definition of EEMEM... I'm guessing it's electronically erasable memory, but not sure. Is this different than EEPROM? The reason behind this -- I'm looking at an entry of a digital potentiometer that has the acronym next to it,…
0
votes
1 answer

EEPROM ESP8266 - Inverted Question Mark

Im stuck here. I am trying to SAVE/LOAD board configuration to EEPROM in ESP8266 using my modified version of this example. Here is my actual code: char ssid[32] = ""; char password[32] = ""; char device_type[1] = ""; char device_name[32] = ""; /**…
dwaksman
  • 119
  • 2
  • 8
0
votes
0 answers

How to set char* from EEPROM as html input field default value

I'm working on administration for my ESP8266 based IoT thing. I can edit some settings via web server and store them to EEPROM. But I'm stuck at setting default input form value that I read from EEPROM. I saved SSID to EEPROM, I can read it back and…
0
votes
2 answers

Writing Char to Arduino EEPROM

I'm having a problem passing data to EEPROM. It seemed to be not accepting a char variable. I'm doing exactly what is told here: https://www.arduino.cc/en/Reference/EEPROMPut So my this is my Object Structure struct DeviceDataObject { bool flag; …
0
votes
3 answers

STM32 SPI data is sent the reverse way

I've been experimenting with writing to an external EEPROM using SPI and I've had mixed success. The data does get shifted out but in an opposite manner. The EEPROM requires a start bit and then an opcode which is essentially a 2-bit code for read,…
electrophile
  • 285
  • 1
  • 5
  • 16
0
votes
1 answer

How can I ckeck if EEPROM is written in Arduino?

I want to code an if statement in the setup of my arduino uno project, the pseudocode would be something like this: If the nth slot of EEPROM memory is not empty, then do something. So what I did is: if((EEPROM.read(n) != 0) Thinking that the 8 bit…
zurg
  • 13
  • 4
0
votes
0 answers

Where is the callback function for read/write in at24 eeprom driver?

I'm trying to understand how the read/write on "eeprom" device node in linux works ? I'm using at24 (drivers/misc/eeprom/at24.c) i2c driver to access my eeprom. From userspace, I'm able to do open/read/write/close on the created device node and I…
ch2301
  • 3
  • 1
0
votes
1 answer

"#include " in Arduino-IDE?

After a long time I tried to get back in Arduino Programming. But with my old code I get the following error: fatal error: avr/eeprom.h: No such file or directory #include ^ compilation terminated. exit status 1 So why…
flash2over
  • 13
  • 3
0
votes
0 answers

m24512 eeprom IC raspberry pi python

The IC is not working as suggested on official GitHub page Here is my code: i2cdetect -y 1 Shows eeprom IC M24512 at 0x50 Python code: import smbus import time bus = smbus.SMBus(1) time.sleep(0.5) print 'write 1…
Superman
  • 21
  • 4
0
votes
0 answers

Writing and reading data to EEPROM 24LC32A

I have been trying to write a byte to the EEPROM 23LC32A through I2C protocol. I am using uvision 5 Keil to code my program. When I run my code in the Termite.exe terminal window, the output seems to indicate that read function is executing. It…
Ahmed
  • 1
  • 1
0
votes
2 answers

Saving graphic to EEPROM, compressing graphic by filter repeating 0x00 and 0xFF to save space

As part of firmware, I want to save a graphic or graphics into the EEPROM of a MCU. The space is not much, 1K, however it can save some program space. And yes you can seperate the glyphs of the graphic to save space however it is not easy to manage…
Codebeat
  • 6,501
  • 6
  • 57
  • 99
0
votes
1 answer

PIC24F eeprom and XC16 MPLAB

Can say me anyone why I get error when use this code in XC16 MPLAB? PIC24FJ64GA004 unsigned int __attribute__ ((space(eedata))) eeData[] = {100, 1, 22, 33, 44, 156, 3, 10, 1}; error: space(eedata) not supported on this target Sorry for beginner…
Krik99
  • 3
  • 3
0
votes
1 answer

ATMEGA8A + SPI memory strange behavior

I've bought SPI memory MX25L8006EPI and now I try to connect it to ATMEGA8A to test it. The schematic is very simple and doesn't change from others over the internet: ATMEGA8A works at 8Mz internal oscillator, 3.3V. The fuses are HIGH: 0xD1, LOW:…
folibis
  • 12,048
  • 6
  • 54
  • 97
0
votes
2 answers

Data not getting stored in EEPROM

I have used the following code for accessing eeprom : void EEPROM_write(unsigned int uiAddress,unsigned char ucData) {   while(EECR & (1<
nalostta
  • 43
  • 1
  • 9
0
votes
0 answers

Connecting four axis digital readout encoder serial to usb in linux

For a milling machine I need to connect magnetic linear sensors which output a quadrature signal in order to read the position of 4 axes. The professional digital readouts are rather expensive. After some searching I tried to use an Arduino board…