Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to write data to eeprom 24c02 after 256 bytes?

Status
Not open for further replies.

manoharn

Junior Member level 2
Joined
Jun 5, 2012
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore,India
Activity points
1,429
I am using pic18f458 to write data to eeprom 24c02 & am correctly writing and reading data upto 256 bytes , once i write data after 256 bytes its overwriting from begining .plz help how to write data to eeprom after 256bytes memory location.
 

You need to be more specific: What language you use and I am guessing you are using SPI to communicate. Few notes: you use address of particular area in the device to write/read data. Meaning that you must send address to the unit in order to write data and depending on where you write it, that is where it will stay. Can you be more specific when you are saying that data is overwritten?
 
manoharn said:
once i write data after 256 bytes its overwriting from begining
24C02 is a 2Kbit = 256 bytes EEPROM. This is all you have, 256 bytes. For more bytes you need a larger memory.
 
Hi,
I think you are saying the I2C interface for writing the data to eeprom.... So in the EPROM with I2C interface it is address sub-address philosophy.....meaning first write the chip address I think chip that you are taking is 0X0A then write the location address like 0x10 and then value from the write operation ....refer the link -

First search on the this web for EEPROM -
https://www.microchipc.com/sourcecode/

this is for your reference -

https://electronics.stackexchange.com/questions/37272/eeprom-read-write-errors-on-dspic
**broken link removed**

Good Luck
 
24C02 is a 2Kbit = 256 bytes EEPROM. This is all you have, 256 bytes. For more bytes you need a larger memory.

thank u ....i think that it has 2k bytes of memory....plz suggest eeprom that contain "65k bytes" of memory.
How about AT24c512 eeprom?
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top