Pin out of PIC24FJ64GA002, ICSP signals in particular
How is someone to know to use Pins 11 & 12 of the PIC24FJ64GA002 for In Circuit Serial Programming (ICSP)?
Here is why I ask.
I am using a 16-Bit 28-Pin Starter Development board from Microchip. The Data Sheet for this board can be obtained by copying and pasting the following in your web browser DS51656B, top entry took me to data sheet.
From the schematic of this board on pg. 40 of the Data Sheet, the PICkit connector signals ICSP_Data and ICSP_Clock are routed, via 0R resistor, to pins 11 & 12 respectively of the PIC24FJ64GA002.
- ICSP_Data signal line from PICkit connector is named EMUD, and after the 0R resistor it is named EMUD1
- ICSP_Clock signal line from PICkit connector is named EMUC and after the 0R resistor it is named EMUC1
The relevant Data Sheet for the PIC24FJ64GA002 (DS39881E) provides the Pin Diagram on page 2 where pins 11 & 12 are labeled as follows:
- Pin 11 - SOSC1/RP4/PMBE/CN1/RB4
- Pin 12 - SOSC0/T1CK/CN0/PMA1/RA4
I see no indication that these pins would be used for In Circuit Serial Programming (ICSP).
Further, Section 2.5: ICSP Pins of the relevant PIC24FJ64GA002 Data Sheet states the following:
The PGECx and PGEDx pins are used for In-Circuit
Serial Programming (ICSP) and debugging purposes.
The relevant PIC24FJ64GA002 Data Sheet show
PGED1 - Pin 4
PGEC1 - Pin 5
PGEC2 - Pin 22
PGED2 - Pin 21
So, my above question: How is one to figure out they can use pins 11 & 12 for ICSP?