• AVR Freaks

Hot!Pin out of PIC24FJ64GA002, ICSP signals in particular

Author
MTSPIKE
Starting Member
  • Total Posts : 39
  • Reward points : 0
  • Joined: 2017/05/10 05:46:22
  • Location: 0
  • Status: offline
2019/07/02 11:40:21 (permalink)
0

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
also
PGEC2 - Pin 22
PGED2 - Pin 21
 
So, my above question:  How is one to figure out they can use pins 11 & 12 for ICSP?
 
MTSPIKE
 
 
#1

6 Replies Related Threads

    Jim Nickerson
    User 452
    • Total Posts : 6360
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Pin out of PIC24FJ64GA002, ICSP signals in particular 2019/07/02 11:58:52 (permalink)
    0
    This board works for Pic24F or dsPic30f
    the 24f uses 4 and 5, the 30F uses 11 and 12.
    #2
    Jim Nickerson
    User 452
    • Total Posts : 6360
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Pin out of PIC24FJ64GA002, ICSP signals in particular 2019/07/02 12:03:02 (permalink)
    0
    the 24f can use these pins per the datasheet

    Attached Image(s)

    #3
    MTSPIKE
    Starting Member
    • Total Posts : 39
    • Reward points : 0
    • Joined: 2017/05/10 05:46:22
    • Location: 0
    • Status: offline
    Re: Pin out of PIC24FJ64GA002, ICSP signals in particular 2019/07/02 12:26:40 (permalink)
    0
    Jim Nickerson,
     
    Thank you so much for getting back to me. 
     
    My concern is that neither of the PEGCx/PEGDx pairs you have highlighted are used for ICSP.  Pins 11 & 12 are used, and as your pin-out image above shows, neither of these are indicated to be part of ICSP.  By the way, that is precisely the Pin Diagram I refer to when I say "relevant PIC24FJ64GA002 Data Sheet".
     
    I'm not sure how to insert an image into this Post, so best I can suggest at this point is to use Web Browser and insert DS51656B, go to pg. 40 where schematic is and have a look.  
     
    MTSPIKE
     
     
    #4
    MTSPIKE
    Starting Member
    • Total Posts : 39
    • Reward points : 0
    • Joined: 2017/05/10 05:46:22
    • Location: 0
    • Status: offline
    Re: Pin out of PIC24FJ64GA002, ICSP signals in particular 2019/07/02 12:29:47 (permalink)
    5 (1)
    Jim Nickerson,
     
    Never mind, I see your point.  I did not see the signal lines going up to 4 & 5.
     
    Thanks again, 
    MTSPIKE
     
    #5
    Jim Nickerson
    User 452
    • Total Posts : 6360
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Pin out of PIC24FJ64GA002, ICSP signals in particular 2019/07/02 12:32:31 (permalink)
    0
    You might find this thread interesting regarding inserting into posts https://www.microchip.com/forums/FindPost/777101
    #6
    NorthGuy
    Super Member
    • Total Posts : 5803
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: online
    Re: Pin out of PIC24FJ64GA002, ICSP signals in particular 2019/07/02 13:33:39 (permalink)
    5 (1)
    Also, different packaging (such as QFN vs DIP) will have different pin numbering. You need to be very careful.
    #7
    Jump to:
    © 2019 APG vNext Commercial Version 4.5