Hello Chetan, I have done that. The problem is when I click "debug project" in MPLABX it automatically does= a build, programs the device and starts the debug session. Since my progra= m pins are different from my debug pins (I've set them that way) it always = fails. If I have the programmer plugged into the program pins the build happens, t= he program happens, and then it errors out saying it can't find the debug t= arget. If I have the programmer plugged into the debug pins, the build happens, th= e program fails, and it errors out there. How, in MPLABX, can you separate the program and debug stages? I can't find= a button that JUST starts the debug session? Thanks, TTYL On 2012-08-03, at 8:16 PM, Chetan Bhargava wrote: > Look at this: > http://ww1.microchip.com/downloads/en/DeviceDoc/70071E.pdf >=20 > Page 9 - Register 24-7: FICD: In-Circuit Debugger Configuration Register >=20 > Chetan Bhargava --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .