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.

Eeprom page write problem

Status
Not open for further replies.

tom12sg

Member level 2
Member level 2
Joined
Feb 1, 2004
Messages
45
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Activity points
422
Hi all,

Need your advice:

I'm using Atmel eeprom AT24C16A.
I write 15bytes into the eeprom page 0 at word adress of 0x0000, no problem, verify by read-back.
Next, after 10ms delay, I write only 5 bytes into page 0 but at word adress of 0x0003. This time I read back and found that it has overwritten my first 5 bytes instead of over-write the five bytes after the first 3 bytes.
Is it that page write must always start from its begin? Can't I just write from a offset?
Anyone has any experience to share and advice?

Regards,
Tom
 

hi,

sounds strange... can you post your code? Maybe there is a mistake in it.

regards revolt
 

Hi Revolt,

I've pm you the code, please see if you can see anything wrong. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top