Eskulaap Hotel wrote: > I get an error message when trying to program the 16F628A via the > ICD2 as well as my PicAll programmer. (Error when verifying the > program memory) > > LVP is disabled and other C/Bits set according to datasheet. Disabling LVP in your code is not sufficient. It get re-enabled when the programmer does a bulk erase, and cause trouble during programming until it eventually gets disabled again when the config bits get written. You need to make sure the PGM pin is low during programming. 100Kohms to ground is often a sufficient fix, depending on the external circuit of course. There is more about this and other programming issues at http://www.embedinc.com/picprg/icsp.htm. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist