On 15 Aug 2006 at 13:17, Brooke Clarke wrote: > I would like to be able to use ICD2 for both programming and debugging > in the 16F88 clock I'm working on without sacrificing 3 pins to ICD2. > (1) Can I set Vpp/MCLR to internal MCLR and put a N.O. pushbutton > switch on that I/O pin to gnd and still use ICD2 or must I give up > this pin for I/O? (i.e. are the configuration bits related to only uC > operation or do they have programming and debugging meaning? (3) If > internal MCLR is selected can ICD2 be used in debugging only mode > (i.e. Vpp will no longer be available)? (3) On the two (PGC & PCD) > communications pins can I put a 100 K resistor to +5v and N.O. > pushbutton switches to ground and still use ICD2? Probably no for all of the above. Pull-ups on PGC or PGD stop the ICD2 (tried that recently!) as ICD2 apparently has internal pull downs. Perhaps you may be able to use pull downs and switches to +5V. -- Brent Brown, Electronic Design Solutions 16 English Street, St Andrews, Hamilton 3200, New Zealand Ph: +64 7 849 0069 Fax: +64 7 849 0071 Cell: 027 433 4069 eMail: brent.brown@clear.net.nz -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist