Solder programming connector and cable
JP4 is intended for the in system programming of the MCU. The pinheads need to be soldered. The result should look something like this:
The ISP connector on the PCB has not the default pin sequence of a standard programmer like the PICkit 2. To use a standard programmer you have to build a adapter cable using the table below.
|JP4 pin||MCU pin||PICkit 2 pin|
Example ISP cable: