Paul van der Linden wrote: > I think I've found the problem, but not the solution: > When I program it with the icd2(without debug executive), it only runs > if I disconnect the icd2. > I've found out that if the icd2 is connected, mclr is always low. I > think there is a fault in my circuit, but I can't find it. That's the way it's supposed to work. It only runs with the ICD2 if in debug mode, and then the ICD2 is required. If the ICD2 is being used as a programmer, then it must be disconnected for the target to run. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist