> Carey Fisher - NCS wrote: > > Let me restate the question: > > > > Why can't the ICD2 program a 16F627A when both > > the internal oscillator and internal MCLR are selected? > > > > Thanks, > > Carey > It depends on what you do with your code vis-a-vis the port lines used > for programming. > > If you have room and it doesn't adversely affect your project, you can > put a delay in the beginning of your code that puts the pins in the > preferred state then goes into a delay routine. This is to give Vpp > time to get established without interference from your code. Then you > should be able to program the device. This is from a topic on the > Microchip forum on this very same business. > Marcel, Thanks for the info and the pointer to the MChip forum. I guess what I'm still having trouble understanding is how you add the delay code to the beginning of the code if you can't program the device in the first place??? I'll go the the MChip forum right away. Thanks!!! Carey -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist