Well, if Vss is hardwired to +5V then it will be a real pain for that chip... I guess you wanted to say Vdd is hardwired to +5V and Vss to gnd... Look at the low voltage programming for low voltage programming otherwise you need the Vpp/MCLR to be like at 12-13V -- but this is generated by the programmer. Also sometimes 'PGD' is also known as ICSPDAT and 'PGC' as ICSPCLK. You can also look at your chip's programmer's guide and pickit2 user manual - so from the 6 pin of the pickit2 you can connect 5, Vpp, Vdd, Vss, pgc and pgd.. The sixth one, pgm is for low voltage programming, you can wire that one as well (to lvp pin, but not necessary). If your circuit does not withraw too much power you can even let pickit2 to supply the voltage to the circuit to either run or debug. Tamas On Wed, Jun 18, 2008 at 12:54 AM, Tom=E1s =D3 h=C9ilidhe = wrote: > > I'll have a 40-pin Dual In-line Package PIC16F887 on my board, and I > want to be able to both program and debug it while it's in its circuit. > > On my board, the Vss pin of the 887 will be hardwired to 5 V... but will > I need this to be a higher voltage for programming it? > > I'm reading through the datasheet right now, but could someone please > help me out? Basically I want to know which pins I should connect to a > header so that I can hook up my Pickit2 to the board to program and > debug it. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- = Rudonix DoubleSaver http://www.rudonix.com -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist