David wrote: > On 01/07/2011 02:10, Kerry Wentworth wrote: > =20 >> If you use the MCLR as an input, you will need to turn VCC on and off at >> the right time to get into programming mode. (VCC off, MCLR to VPP, VCC >> on) From your schematic, it does not appear that the programmer >> controls VCC. >> =20 > > Actually it could, provided the battery was not present. The programmer= =20 > is just a PK2 clone. > > =20 Will an MCP1640 allow you to apply power to Vout while Vin is=20 unpowered? Some regulators don't like that. Kerry >> Also, a 1K resistor between ground and the switch common should allow >> programming in any switch position. >> =20 > > Like Dave said, this is a very good suggestion. Thank you. > > David > =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .