I have strange problem with eeprom 24lc1024, i'm using pic18f67k22. Eeprom is sharing i2c line with ds1307. I was using smaller ones 128 512 etc on this board ealier for many years, but i've needed more space so i tried 24lc1025. I'm using generic eeprom driver attached to pcw v4.128. I can write to first and second half of memory and read from both using single write byte or page write. But when i'm writing to first half some artifacts and strange "copies" of data are self writing in second half. Anyone have problem like this?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sat Jan 18, 2014 3:06 pm
Quote:
I have strange problem with eeprom 24lc1024
so i tried 24lc1025
Which one are you currently using ?
Quote:
I'm using generic eeprom driver attached to pcw v4.128.
Post the filename of the driver.
Quote:
Eeprom is sharing i2c line with ds1307.
What happens if you remove the ds1307 from the bus ? Do you still
get the same problem with the eeprom ?
Quote:
I can write to first and second half of memory and read from both using single write byte or page write.
Are you using interrupts ? What happens if you disable Global interrupts
when making calls to the eeprom routines ? Do you still get the problem ?
Quote:
i'm using pic18f67k22
What is the Vdd voltage of the PIC, the ds1307 and the eeprom ?
Are you writing to the eeprom very soon after power-up, or possibly
during power-down ? Are you using the BROWNOUT fuse ?
Quote:
But when i'm writing to first half some artifacts and strange "copies" of
data are self writing in second half.
If possible, construct a short test program that shows this problem
and post it.
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