Microchip CURIOSITY :What should I do if the PKOB fails to program the MCU?

Microchip CURIOSITY LPC development board DM164137 :What should I do if the PKOB fails to program the MCU?

The on-board PICkit (PKOB) of the Curiosity LPC development board uses Low-Voltage Programming (LVP). MPLAB X IDE and MPLAB Xpress automatically set the LVP bit in the configuration word to “1” to support low-voltage programming.

Key Issues and Solutions:

Requirements for Using Custom Firmware

The LVP bit in the configuration word must be set to ‘1’. If this bit is not correctly configured, MPLAB X IDE cannot program via PKOB.

Handling PIC Microcontrollers Programmed via High Voltage

If a PIC microcontroller (not standard with the development board) has been programmed via high voltage and the LVP bit is cleared (LVP = OFF or ‘0’), PKOB will fail to recognize the device, leading to programming errors. In this case, reprogramming can be achieved through two methods:

a) Using a PICkit™ 3 Programmer

  • Connect the PICkit 3 to the PIC device’s dual-row expansion header, ensuring correct connections for ICSP™, GND, and VDD.
  • Configure MPLAB IDE to use the PICkit 3 as the programming tool, ensure the LVP bit in the configuration word is set to ‘1’, then reprogram the device.

b) Using an Unprogrammed (Blank) Device

  • Use an unprogrammed (blank) device and ensure the LVP bit in the configuration word is set to ‘1’.

More content:

More information related to Microchip CURIOSITY development boards: