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

write float to EEPROM convert float to uint8_t

Hello I have two simple function to write value to EEPROM, but this don't work correctly. What am i doing wrong something with the conversion? HAL_StatusTypeDef writeEEPROMByte(uint32_t address, uint8_t data) { HAL_StatusTypeDef status; address…
dmvs
  • 1
  • 2
0
votes
0 answers

Optimizing Flash Memory Single Address Lifespan with Boolean value on ESP8266 when using Arduino EEPROM-library

I'm trying to implement more memory writing lifespan when storing a single Boolean Value using ESP8266 integrated (flash) memory with Arduino EEPROM library. A single hardware memory location cannot be changed infinitely and I'm trying to find out…
sam_v
  • 494
  • 1
  • 5
  • 12
0
votes
2 answers

Using SMBUS_EEPROM in qemu

I am trying to emulate and use a smbus_eeprom device in QEMU. The smbus_eeprom implementation is already part of the open source QEMU code base. And I am giving the following parameter in the launch command to use the same: -device…
nerd
  • 339
  • 1
  • 5
  • 16
0
votes
0 answers

Stm32 emulated EEPROM size increase

I am using Arduino IDE to program my stm32f103c8t6 on a bluepill development board. Using the library in stm32duino package I have utilized the Emulated EEPROM for storing data. However, the default size for this EEPROM is only 1kb and I need more…
Hamid Rajabi
  • 59
  • 1
  • 8
0
votes
0 answers

Return value has unwanted values out of defined array size after parsing

I am trying to do some manual paging for a small EEPROM with 8-Byte Page Write Buffer. The code I created works as I wanted in an online tool. But, when I implemented it within my programming environment, it gives me hard time particularly getting…
Sener
  • 335
  • 4
  • 17
0
votes
1 answer

How can I reintroduce the saved number from Arduino's memory to the program, using EEPROM?

I'm trying to make a slideshow using Arduino Uno + TFT LCD. In which three steps happen: a shape is shown user touches a specified area of the screen it shows the next slide. The device may turn off during the slides and I want to make Arduino…
0
votes
0 answers

I2C on RPi4 with 24LC512

$ i2cdetect -r -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- --…
0
votes
1 answer

How can I create a tool to write to the BIOS chip?

I've wondered about how to make a software to write to BIOS chip. I've seen some examples like flashrom, but I don't know exactly how it works. How can I address the chip? How can I write to that addresses?
Antonio Sanchez
  • 381
  • 1
  • 3
  • 11
0
votes
0 answers

How can I write the from buffer to EEPROM ( as per the following code )?

struct devices *address - Address of the register. number_bytes - number of byte of data to be written. int8_t wdata - data to be written to the register address. unsigned char *result_buffer - pointer to a buffer of 256 bytes. var is defined as…
code_debug
  • 25
  • 4
0
votes
1 answer

How can I push buffer into the stack provided the buffer contains a function value stored to it as per the following code?

struct dev *address - It reads the addresses from a structure of registers. unsigned int bytes- number of bytes of data being read from the register address. For example - (0x2, 1). 0x2 - register address and 1 - number of bytes. i2c_read(struct…
code_debug
  • 25
  • 4
0
votes
1 answer

Linux: writing to the i2c/SMBus

I have a problem with the i2c/SMBus on a Linux System with an Intel Apollo Lake processor. I am trying to read/write from/to an EEPROM but I face some issues. My EEPROM is located at the address 0x56, and I am able to watch the Bus with my Logic…
mates868
  • 31
  • 1
  • 7
0
votes
0 answers

PIC18F4520 internal EEprom data is gone after power off and on

I have some difficulty with EEprom. Any help is highly appreciated. I am using MPLABX ide with XC8 v2.10 compiler. I wrote a simple code that gets some text message content (Up to 50 characters) via UART and write them to EEprom for later use. I am…
0
votes
1 answer

MSP430F4250: EEPROM Reading Wrong Data

We've been using MSP430f4250 in a product for Temperature data logging which is successful in market for last 15 years. It's been working with STM 24C64RP_K very well. Recently we have changed the STM24C64RP_K(old) to STM24C64RP_T(new) and observed…
Siva
  • 37
  • 4
0
votes
0 answers

Is there a possibility of infinie loop when writing EEPROM on Atmega64

I'm programming the Atmega64M1. The access on the EEPROM is described in the datasheet, and I have no issues writing it or reading it. In the datasheet it is said to wait for completing of previous write before reading or writing the eeprom : { /*…
Lucas
  • 65
  • 9
0
votes
0 answers

Read eeprom have difference result in multiple times

I'm trying read eeprom each time my device bootup, but something ware happened Sometime data received not fully. Half are good, the rest are 0x00 I think when reading eeprom have drop voltage occured. did you meet that before? Thanks
Hai
  • 73
  • 1
  • 10