When programming, you have to click the release from reset button to allow the program to run - the PIC stays in reset for programming untill you tell the ICD2 to take !MCLR high. Or, something in your circuit could be stopping the ICD2 controlling !MCLR. On 5/23/05, 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. > Paul > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Dave All us base are belong to you. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist