Olin Lathrop wrote: >> 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. Did you try the Release MCLR command (or something like that)? > 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. This is not correct. You can release the MCLR from within MPLAB, and don't have to disconnect the ICD2 (even when running the ICD2 as programmer). Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist