Hello everyone, I was wondering if anyone has taken a look at the debug code that gets programmed into a 16F877 when using the ICD. I've disassembled the hex file - the DE16F877.hex file which seems to be the correct one - and have started to analyze it but there are some 'interesting' tricks that seem to be used. I was thinking of using a similar system to be put into some prototypes so that if something happens during testing I could hook it up (perhaps using a serial port instead of the ICD) able to do some debugging. Looking forward to your comments! Greg Maki -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.