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