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. Programming details are in the "programming specification", not in the = datasaheet. Check whether the part (might) need a Vpp-before-Vdd = sequence. If so, the programmer must be able to switch the Vdd. If not, = Vdd hardwired to 5V is OK. And take care that - PGM is pulled low on startup - the programmer must be able to pull RB6/RB7 low with its build-in = resistors (so no heavy loads towards Vdd on those pins) -- = Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist