Look at this: http://ww1.microchip.com/downloads/en/DeviceDoc/70071E.pdf Page 9 - Register 24-7: FICD: In-Circuit Debugger Configuration Register Chetan Bhargava On Fri, Aug 3, 2012 at 4:55 PM, Chetan Bhargava wrote= : > There are multiple emud and emuc on that device so you can use the > alternate ones. > > > Chetan Bhargava > > > On Fri, Aug 3, 2012 at 2:39 PM, Herbert Graf wrote: >> Hello all, >> >> stupid question, but how do I use the EMUD/EMUC pins for debug? >> >> I have a dsPIC30F3013 on a board. I've connected a Pickit3 to it and can >> successfully program it and debug it using PGD/PGC. >> >> I'm using MPLABX. Unfortunately, for my application I can't use the >> PGC/PGD pins for debug since I need to use the I2C block on this part. >> >> So, I've enabled EMUD2/EMUC2 in the config settings. I can't seem to >> figure out how to get MPLABX to seperate the build/program/debug stages. >> I need to since to program I have the Pickit3 plugged into the PGD/PGC >> pins, and then for debug I have to plug into the other pins. >> >> I've done some searching and I'm going over the Pickit3 and MPLABX >> manuals, but so far nothing is catching my eye. >> >> I hope someone here can point me to how to do this? >> >> Thanks, TTYL >> >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .