4.6 Connecting External Debuggers

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

Figure 4-11. Connecting the MPLAB® PICkit 4 In-Circuit Debugger/Programmer to PIC16F17146 Curiosity Nano
CAUTION: The MPLAB® PICkit 4 In-circuit Debugger/Programmer can deliver high voltage on the MCLR pin. High voltage can permanently damage R110. If R110 is broken, the on-board debugger cannot enter the programming mode of the PIC16F17146 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 MPLAB® X IDE or mass storage programming while the external tool is active.