the problem is that if i write in an address that is beyond 65535, it goes back to the zero address and overwrites the data starting at the beginning. i already changed the parameters to int32 in my read_ext_eeprom and write_ext_eeprom but it still doesnt solve it.. can anybody here tell me whats wrong with my code? thanks in advance and god bless
[/quote]
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Sep 23, 2009 1:21 am
CCS has a driver for this eeprom. You should use it:
Quote:
c:\program files\picc\drivers\241025.c
It does the addressing correctly.
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
Posted: Wed Sep 23, 2009 1:49 am
In addition, you may want to read about the block select bit in 24LC1025 data sheet.
X!nDy Guest
Posted: Wed Sep 23, 2009 2:20 am
thanks you for all your answers.. i really appreciate it. :D
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum