Connecting External Debuggers

Even though there is an on-board debugger, external debuggers can be connected directly to the PIC16F15376 Curiosity Nano to program/debug the PIC16F15376. The on-board debugger keeps all the pins connected to the PIC16F15376 and board edge in tri-state when not actively used. Therefore, the on-board debugger will not interfere with any external debug tools.

Figure 1. Connecting the MPLAB PICkit 4 In-Circuit Debugger/Programmer to PIC16F15376 Curiosity Nano
CAUTION: The MPLAB PICkit 4 In-circuit Debugger/Programmer is capable of delivering high voltage on the MCLR pin. R110 can be permanently damaged by the high voltage. If R110 is broken, the on-board debugger can not enter programming mode of the PIC16F15376, and will typically fail at reading the device ID.
CAUTION: To avoid contention between the external debugger and the on-board debugger, do not start any programming/debug operation with the on-board debugger through Microchip MPLAB® X or mass storage programming while the external tool is active.