Which PGCx/PGDx pin pair for ICSP programming?
Can anyone tell me if, and where, any data sheet provides a description of which PGCx/PGDx pin pair to use for ICSP programming when using PIC24FJ128GA010?
I have successfully used the Explorer 16 board for some time, which has PGC2/PGD2 connected to the ICD programmer (e.g., ICD3 or ICD4). The pin pair PGC1/PGD1 is not used. The Explorer 16 board was designed by Microchip personnel.
The PIC24FJ128GA010 data sheet (DS39747F) states in section 5.0 "Flash Program Memory" states the following:
ICSP allows a PIC24FJ128GA010 family device to be
serially programmed while in the end application circuit.
This is simply done with two lines for Programming
Clock and Programming Data (which are named PGCx
and PGDx, respectively), and three other lines for
power (VDD), ground (VSS) and Master Clear (MCLR).
This allows customers to manufacture boards with
unprogrammed devices and then program the microcontroller
just before shipping the product.
I can find no discussion of which PGCx/PGDx pair to use, or if there is a default pair. How would a typical customer know which pair of pins to use?