> Just to add to the above, when ever I enable debug mode, the MSSP on the > target no longer works. Is this a known issue? I have an I2C slave that > works (almost) perfectly when I am not using the debugger, but refuses to > acknowedge when the debugger is used. Looking at the SSPBUF register via > the debugger shows all zero's so it looks as if even the slave address isn't > being clocked in. > > Mike It is known that care should be taken when doing the above, and reading SSPBUF clears SSPBUF (and a few bits like BF and SSPOV). Therefore, use the watch windows to view the file registers you wish to see, and avoid reading SSPBUF. Instead, break after a command like MOVF SSPBUF,W and read W. regards, Kevin -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST