What should I do if the MPLAB PICkit 4 On-Board Tool (PKOB4) is not working properly?

Microchip CURIOSITY LPC development board DM164137

If your on-board PICkit is giving you guff, use the hardware tool emergency boot firmware recovery utility to restore the hardware tool’s boot firmware to the factory state. In MPLAB X IDE, click Debug > Hardware Tool Emergency Boot Firmware Recovery Utility to open the recovery utility window.

The on-board PICkit (PKOB) of the Curiosity LPC development board uses low-voltage programming. Both MPLAB X IDE and MPLAB Xpress set the low-voltage programming (LVP) bit to “1” to enable low-voltage programming.

More content:

More information related to Microchip CURIOSITY development boards: