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

Trouble reading/writing internal EEPROM PIC24F16KA101

I am trying to get interact with the internal memory of the PIC24F16KA101 MCU. After reading the data-sheet and the discussion on this site (which offer a pretty helpful sample code)used in the project Now if I put the code below the program work…
0
votes
1 answer

PIC30F Data EEPROM reads 0xFFFF first time around

The first time my PIC30F code reads a word from Data EEPROM, it reads 0xFFFF instead of the data actually in EEPROM. It reads fine afterward. After a bad read, I checked W1 and it does have the correct address There are no words in data EEPROM with…
Davide Andrea
  • 1,357
  • 2
  • 15
  • 39
0
votes
0 answers

eeprom_write/read functions cause compilation error (PIC microcontroller)

I am using MPLABX and C8 compiler for the PIC 16f690 microcontroller. From reading C8 datasheet, it seems that the eeprom_write/read functions are included in the xc.h header. However, MPLAB does not recognize the functions (unable to resolve…
0
votes
1 answer

I2C EEPROM Read/Write Cubieboard 2 Arch Linux

I am trying to read and write to the AT24MAC402 EEPROM over i2c on the Cubieboard 2 using Arch Linux. I am using the i2c-dev library and i2c-tools. Datasheet: http://www.atmel.com/images/atmel-8807-seeprom-at24mac402-602-datasheet.pdf I can…
StuartKerr
  • 77
  • 3
  • 9
0
votes
0 answers

RAM vs EEPROM performance

Currently I'm developing a project for an AVR ATMEGA8 board with IAR which has 1kb of RAM memory. I'm storing some values in the EEPROM as well. My question is if it's a bad practice to read the values from EEPROM directly. I know I can save these…
Aldridge1991
  • 1,326
  • 6
  • 24
  • 51
0
votes
0 answers

Storing a look up table that can be varied, on flash memory, in C

I hope this is not a recurring question, but i don't seem to find anything on what i am trying to do. I am to store a small data structure (about 40 bytes in size) on a flash memory of the microprocessor as a look up table. The device can be…
0
votes
1 answer

reading back a float number

I am using microchip c18 and i have this function which splits the float in to 4 respective bytes.And C18 follow little endianess a[0]=*(fptr); address 0 a[1]=*(fptr+1); 1 a[2]=*(fptr+2); 2 a[3]=*(fptr+3); …
Rookie91
  • 257
  • 3
  • 13
0
votes
1 answer

Using DMA to read EEPROM on SPI (SSP) Bus

I'm using an NXP LH79525, ARM7TDMI based processor. There is an EEPROM connected via SPI bus to the SSP port. The objective is to read the EEPROM into SRAM for faster accessing. The present working code sends a read command to the EEPROM, the…
Thomas Matthews
  • 56,849
  • 17
  • 98
  • 154
0
votes
1 answer

Reading EEPROM entry from sysfs

I am trying to read an eeprom entry from inside sysfs on beagleboard .Below Entry I am trying to read using simple cat/vi . sys/bus/i2c/drivers/at24/1-0050/eeprom But getting this error : cat: read error: Connection timed out Can anyone let me know…
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
0
votes
1 answer

Why does EEPROM have different contents between programs

I am using a PIC18F26K80, MPLABX, Windows 7. When I single step through one program, viewing the EEPROM, and there are no instructions to read from or write to the EEPROM, the EEPROM is filled with '*' (FF). Then when I single step through a second…
Mikkel Bang
  • 574
  • 2
  • 13
  • 27
0
votes
0 answers

Arduino EEPROM crashes when writing a large block

I'm trying to write a uint32_t array to EEPROM with EEPROM_writeAnything, but when I call it, it seems to just crash out of where it's running. Hard to tell since the Serial debug I'm outputting never gets output. Code is like this: uint32_t…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
0
votes
3 answers

Arduino Mega vs Uno

We're programming a doorbell recognition system and have decided to use the Arduino to handle most of the circuitry. The one thing I'm unsure of is the program capacity of the Arduino Uno vs the Arduino Mega. I know the Uno has only about 32 KB of…
Buten
  • 3
  • 1
  • 3
0
votes
1 answer

PIC16F877 + 24LC64 via i2c

My task is to copy first 255 bytes from external EEPROM (24LC64) to internal (PIC16F877) via i2c bus. I've read AN1488, all datasheets, MikroC gide (oh, yes, I'm using MikroC), but hopeless.. Meaning that my code trys to read smtng but then, reading…
Nacky
  • 31
  • 1
  • 9
0
votes
1 answer

Writing Data to Arduino EEPROM

This is a follow-up to the post here - Writting data to the Arduino's onboard EEPROM I just tried using the snippets in the URL but wouldn't work. Please help me fix the below error. write_to_eeprom.cpp:8:5: error: expected unqualified-id before '['…
0
votes
1 answer

Can I compile any high level language for use with eeprom?

I need to know if it is possible to compile any high level programming language for use with an eeprom. I know it is possible to strip a header from a compiled binary, but I am unsure how addresses will be effected. Please do not mark this as "not a…
motoku
  • 1,571
  • 1
  • 21
  • 49