I too have been having problems programming 10F22X chips with the ICD2 with a target power supply. I think that I might have found the problem. MCLR is set to external. I believe that the programming spec for the 10F22X has some information. Reference Microchip document DS41266B page 3 figure 3-2. Note that the figure reverences program/verify mode EXIT. Not the "typical" high voltage/low voltage programming figure as in a lot of other specs. This is NEW and DIFFERENT from the other pics. Usually there is NO EXIT condition requirements for the relationship between Vdd and VPP. I found this information late yesterday afternoon. Since I am using target supply (mine is at 5V), there is no way for the ICD2 to turn off the Vdd prior to Vpp. I think that we are out of luck. Hope this helps. Cheers, Rich S. >From: Mike Hord gmail.com> >Subject: [PIC] ICD2 + 10F PICs >Newsgroups: gmane.comp.hardware.microcontrollers.pic >Date: 2006-12-06 15:58:54 GMT (2 days, 2 hours and 36 minutes ago) > >A search of the archive and datasheets was not helpful. > >Is there a non-obvious trap when using the ICD2 to >program (not debug) a 10F PIC? My circuit is VERY >simple- two AA batteries feeding the circuit (no >regulation), a NO switch from one pin to Vss, and >an LED on the one pin which is not involved in ICSP. > >Did I neglect something here? The chip seems to >program once, then not again. I can't get it to erase >or blank check, even. > >Mike H. >-- -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist