Morgan Olsson wrote: > Doh, we are tracking the problem; seems the routine never before handled more than 16 bytes, byt do now, and EEprom block size is 16 bytes. > > Anyway, analyzing I2C in general would be nice. > > /Morgan > > If I were you, I would obtain the ORIGINAL I2C spec from NV Phillips. It explains in greater detail what is going on, and once you digest that, you'll never be confused again. --Bob A > Den 2007-12-14 01:05:26 skrev Morgan Olsson : > > >> My collegue starts tearing his hair about why his program can no longer write to EEprom. >> The old verson of his program did, and now he have changed some non related parts (obviously not..) in the code and it do not work. >> >> The read routine worksand we can see on conventional oscilloscope that both SDA and SCL are doing something also during write, but the EEprom do not store the new data...?! Update: last revision stores data, but wrong... >> >> The old program version works OK when we load it back. >> >> Hair pulling. >> >> A while ago i bought the PicKit Serial Analyzer. >> Now it is a goot time to use it i thougt, but from what i can find it can NOT as the name implies analyse very much as it can not listen - only act as a master. Or have i got it wrong? >> >> >> > > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist