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
2
votes
2 answers

Why is the EEPROM of my ESP8266 not working?

I need to get some values saved into eeprom on my esp 8266, but it's not working. I get the Error "ERROR! EEPROM commit failed" when i try to EEPROM.commit() some writes. I tested it with my own code, but it also doesn't even work with the examples…
Bastibrot
  • 45
  • 6
2
votes
0 answers

How to checkif an EEPROM exists at I²C?

I'm trying to detect if a removable EEPROM exists in a given system, but I ran into some problems. With configuration STM_enableRCCAPB1PeriphClock( RCC_APB1Periph_I2C1, ENABLE ); STM_resetRCCAPB1PeriphCmd( RCC_APB1Periph_I2C1, DISABLE ); I2C_Cmd(…
Knut S.
  • 21
  • 1
2
votes
0 answers

STM32 Nucleo EEPROM Emulator ee_init issue

I am working on trying to get the EEPROM Emulator from stm32 working. I have followed the example given for a stm32 l47x board however I am still running into issues. When I call EE_init I end up running into a stack overflow. I am not too familiar…
malhin
  • 21
  • 1
2
votes
1 answer

error: invalid operands to binary >> (have 'float' and 'int')

I am trying to cast float to bitwise int in C. Here's my code snippet: write_eeprom(INDEX_CONFIG_TEMPERATURE_OFFSET_HIGH_INT, (unsigned int) (temperature_offset>>16)); write_eeprom(INDEX_CONFIG_TEMPERATURE_OFFSET_LOW_INT, (unsigned int)…
Holebas
  • 21
  • 2
2
votes
1 answer

Using an AT28C256 as non-volatile SRAM for a Z80

I've been using an AT28C256 as EEPROM 'ROM' for a Z80 project quite successfully. As the AT28C256 can be programmed at 5V using the /WE pin, I was thinking about also using it as a form of non-volatile SRAM, rather than adding another chip. Yes, the…
newtovaux
  • 151
  • 1
  • 7
2
votes
1 answer

What is real difference between Firmware and Embedded Software

I am searching real difference between firmware and embedded software. On the internet it is written for firmware is firmware is a type of embedded software but not vice versa. In addition to that a classic BIOS example it is very old. They both…
Nazim
  • 406
  • 1
  • 6
  • 20
2
votes
2 answers

Writing 9-bit values to byte array (or EEPROM) without wasting remaining bit in the following byte

I could not found an answer with google so i went for it and programmed quite a few hours. I want to save 9-bit values to eeprom without wasting the other 7 bits. I save values that would be up to 500 and i have not much EEPROM left. The same…
Tobey66
  • 73
  • 9
2
votes
2 answers

Is it possible to write a program in EEPROM of PIC?

Is it possible to write a sub program in EEPROM or flash that even if you program/burn your PIC, the subprogram stays? For example, if I want to do a bluetooth connection, or turn on a LED every 2 s, and I want that subprogram to always stay in the…
esencia
  • 23
  • 2
2
votes
1 answer

Issue with I2C EEPROM page writes using ESP32

I'm having trouble writing multiple bytes to a 24LC256 EEPROM using an ESP32. The following functions are what is responsible for reading and writing to the EEPROM. (I understand that page writing is limited to increments of 64 bytes using this…
Zachary Vincze
  • 427
  • 7
  • 24
2
votes
1 answer

Interface M24512 EEPROM with Raspberry Pi on I2C: converting Python to C++

I have to intergace M24512 EEPROM IC with Raspberry pi on I2C bus.. It shows i2cdetect -y 1 at address 0x50 I got it working on python-smbus: import smbus import time bus=smbus.SMBus(1) bus.write_i2c_block_data(0x50, 0x00, [0x00, 50, 51, 52, 53,…
Superman
  • 21
  • 4
2
votes
1 answer

Saving two values into arduino uno EEPROM

I am looking to save pulse and SPO2 readings from the cooking hacks e-health sensor platform (link below) onto my Arduino Uno's EEPROM then remove the health shield and use an Ethernet shield to move the data. A piece of my code is as…
topping25
  • 31
  • 1
2
votes
2 answers

STM32F4 : EEPROM 25LC256 management through SPI

I am trying to drive a EEPROM Chip 25LC256 with a STM32F469I-DISCO but can't achieve it. I have tried to make my own function with HAL API bases but apparently something is wrong : I don't know if I write datas on the chip since I can't read it.…
vionyst
  • 487
  • 2
  • 6
  • 14
2
votes
1 answer

What is the correct way to format data to send by HAL SPI in STM32?

I am trying to read/write data from ST EEPROM M95640-W Acording to datasheet, for read operations data command must be formated like: First is 8-bit instruction "Read from Memory Array": 0x03 (B00000011) Second is 16-bit address. But when I send…
Bulkin
  • 1,020
  • 12
  • 27
2
votes
3 answers

How to orginize data in eeprom

In my project I need to keep various records in eeprom, but also I need to search (by address), delete and edit these records. The records look like this: [n bytes address1][data1][data2][data3] [n bytes address2][data1][data2] [n bytes…
2
votes
1 answer

Erase/Write block size of EEPROM of PIC chips

First of all, sorry for bad English since my English skill is not that good... Before the question, I want to explain my situation to help understanding. I want to use EEPROM as a kind of counter. The value of that counter would be increased very…
1 2
3
21 22