On Wed, 14 Dec 2005 20:45:17 -0200, you wrote: >Mike Harrison wrote: > >> ..or it could be that you had prioviosly been using ICD2 on a 5V design >> and not noticed the CP state, as it wouldn't matter. Then you start a 3V >> design and programming fails the second time you program the chip. > >Don't you put the fuse settings in the project files? Yes. I also often use old source files as templates for new ones, and old files may well have had the CP set in the __config directive to generate a production file. For 5V ICD2 projects this didn't matter. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist