> While downloading new code onto both the boards using the ICD 2 debugger in > both debug and program mode, the outputs seem to be highly unstable - LEDs > connected to the outputs seem to flash while the program downloads. > In section 4.0, specifically 4.7 of the datasheet for your PIC, has the state of registers during a reset. The TRIS registers go high, tristating all the I/O pins and the PORT latches either remain unchanged or go unknown (during brownouts and poweron). You may need pull up/down resistors to keep outputs held during reset. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist