Hi, Piclisters I am developing a project where I want to communicate a 16F877 with an external computer and to be able to read/write an i2c serial eeprom (24C64) and all these tasks interrupt driven. I have ended with a huge assembly program with lots of interrupts (serial in, serial out, tmr0, i2c ...) where everything works except the reading from the serial eeprom. I am trying to debug the program but I only have a dual trace scope and the data that I get from the serial line to try to ascertain what is going wrong. It seems that the eeprom writing is OK (?) : the signals in the clock/data lines seem to look like what they should but I cannot recover the data I wrote. Has somebody a piece of code with an interrupt driven piece of code to read and write serial eeproms ? It would be a big help for me to try such a program and then to add to it the other features I have already developed and tested. Thanks a lot for your help Joan Ilari Barcelona (Spain) Tel. +34 93 431 96 39 joan@ilari.org ================================================================ ... I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near Tannhauser Gate. All those moments will be lost in time, like tears in rain ... Time to die ... -Blade Runner - ================================================================ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.