Even though there is an on-board debugger, external debuggers can be
connected directly to the PIC18F47K42 Curiosity Nano to program/debug the PIC18F47K42. The on-board debugger keeps all the pins
connected to the PIC18F47K42 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 PIC18F47K42 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 PIC18F47K42, 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.