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

Error while writing/retrieving String in EEPROM

I'm facing an issue while trying to write and retrieve a String in EEPROM of an ESP32 NodeMCU board. I followed this tutorial : https://roboticsbackend.com/arduino-write-string-in-eeprom/ Here is my code : #include void…
Cyril Bvt
  • 611
  • 6
  • 9
0
votes
1 answer

Linker script modifications - EFR32 Emulated EEPROM - NVM driver

I am trying to implement NVM3 driver into project based on EFR32BG22 Silabs microcontroller. As I noticed in the documentation, I need to add new section into SECTIONS command in linker script so I made one, and it seems to work. But I am not sure,…
Bratw
  • 141
  • 8
0
votes
0 answers

EEPROM emulator on STM32L053

I known that isn't normal to use EEPROM emulator on a STM32L053, because it has is own EEPROM, but nowadays with the chip shortage, i was forcedto use an alternative MCU (STM32L053R8T6) instead of the "original design" (STM32F030C8T6), so i want to…
0
votes
1 answer

Serial EEPROM - Reading Manufacturer, SN and PN?

Is it possible to get any device + manufacturer's information read off a serial EEPROM itself via I2C? Specifically, I'm looking for the device type (i.e. '24C256') but could not find any linux references on how to capture that information (if it…
Eebigdog
  • 5
  • 2
0
votes
0 answers

HAL_FLASHEx_DATAEEPROM_Program hard fault

I use my function to write a string to the eeprom bank of the stm32l073. Directly after the function HAL_FLASHEx_DATAEEPROM_Program will be called, the sytem goes into HardFault: Debug Stack The address i want to write is in the correct space…
Dr_Smu
  • 3
  • 5
0
votes
1 answer

How to pick address in STM32 flash, where I want to store a variable that will remain after power shutdown?

I want to store some variables in "flash" using function HAL_FLASH_Program(TypeProgram, Address, Data), so that they will retain after power shutdown. I am using STM32G071KB. What should I set the Address to? Maybe start of SRAM…
0
votes
1 answer

STM32F0x8 SPI with 25LC256 recieve problem [Peripheral Lib]

I use an STM32F0 discovery board. I am trying to program an EEPROM to save an QR-code and display it on an LCD. Right now I am working on getting the STM32 to receive the data from the EEPROM, my code works if I short MISO and MOSI (I changed it a…
0
votes
1 answer

Issue in Internal EEPROM Writing of PIC 16F887

Are there any PIC microcontroller programmers here? I'm learning some PIC microcontroller programming using a pickit2 and the 16F887 chip I'm working through trying out the various facilities at the moment. I can't able to read right byte from…
0
votes
0 answers

Why is my eeprom loop device spitting kernel errors?

I'm working on an embedded linux project using PetaLinux and running on kernel 5.4.0-xilinx-v2020.1. We have multiple apps that needs to write their ~200 bytes config in a file every second for years at a time so we chose to include an 8kB FRAM on…
Tzig
  • 726
  • 5
  • 20
0
votes
1 answer

ESP32 - Preferences.h not writing to EEPROM

I have the following code: (i know that i can create a for loop, i removed it just for debugging..) #include Preferences preferences; String highscoreNames[10]; double highscoreScores[10]; bool savescore; void setup(void)…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
0 answers

Python - mapping byte array to different python variables

I'm working with a block of data dumped form a EEPROM chip. I'm doing some reverse engineering. I have it read into python as an array (this is an example fragment): my_array = [63, 67, 62, 127, 106, 241, 65, 219, 249, 02, 03, 05, 03, 255, 255, 01,…
Wojciech
  • 1
  • 2
0
votes
1 answer

M93C46 cant write but can read

I encountered some problems when using M93C46. I can read data in 93C46 through spi communication, but I cannot write data to 93C46. I checked the timing of my spi, but no problem was found. Here are the sequences pictures: Here is the code table…
0
votes
2 answers

Using EEPROM in STM32f10x

I'm using STM32f103 and in my program, I need to save some bytes in the internal flash memory. But as far as I know, I have to erase a whole page to write in it, which will take time. This delay causes my display to blink. Can anybody help me to…
M.Navidi
  • 113
  • 1
  • 10
0
votes
0 answers

Arduino NANO and external eemprom issue

I'm trying to connect EEPROM chip 24LC01B to Arduino Nano 328P, write data to it, read and display it in Serial Monitor. Serial Monitor shows only Writing... Reading... I can't figure out what the problem is. #include #define memoryAddr…
Andrii
  • 19
  • 2
  • 9
0
votes
2 answers

Differences for EEPROM.read() and EEPROM.get()

I've searched online and saw this link " https://www.best-microcontroller-projects.com/arduino-eeprom.html#:~:text=Arduino%20EEPROM%20get%20vs%20read,bytes%20starting%20from%20an%20address. " but I'm still not understanding how EEPROM.read(address)…
Xvx
  • 67
  • 1
  • 11