>> One change. The LVP pin is RB5 on 18F chips whereas it's RB4 on 16F. >> A good idea is to ground both pins through a 10k resistor to ensure that >> the pin stays grounded during the programming operation. > > >Very good point - but I think you meant RB3 on the 16F parts ;-) Well it is on the 16F87x, but I think it is RB4 on the 16F62x series. It certainly varies among the chip families. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.