Tomas, I suggest you check the pin-out in the beginning of the databook (it should list all packages) and compare to see which ones are missing. As for the original question, the Vcc voltage (Vss would be ground, probably) can be tied to 5V - the higher voltage for programming is called Vpp and will be connected to the VPP pin (also /MCLR) during programming. This and other issues are addressed, for example, on this website: http://www.best-microcontroller-projects.com/pic-programming.html A more thorough and informative guide is found here, courtesy of Olin: http://www.embedinc.com/picprg/icsp.htm Regards, - Marcel On Tue, Jun 17, 2008 at 5:07 PM, Tom=E1s =D3 h=C9ilidhe w= rote: > > > 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. > > You can get the 887 as a 40-pin chip or as a 44-pin chip. > > I'm looking over the datasheet here and it isn't blatantly obvious which > 4 pins the 40-pin chip is missing. > > Anyone know? > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist