Connect with us

connecing a PICkit 2 => PIC24EP128GP

Discussion in 'Microcontrollers, Programming and IoT' started by foTONICS, Feb 10, 2013.

Scroll to continue with content
  1. foTONICS

    foTONICS

    332
    9
    Sep 30, 2011
    Looking up the schematic for the PICkit 2 I have:

    pin 1: Vpp/MCLR
    pin 2: Vdd Target
    pin 3: Vss (ground)
    pin 4: ISCPDAT/PGD
    pin 5: ISCPCLK/PGC
    pin 6: AUXILIARY

    and looking at the datasheet for the PIC24 I have the corresponding pins:

    pin 1: MCLR
    pin 13: Vdd
    pin 19: Vss

    the next two pins is where I'm sorta confused. I noticed there are multiple sets of PGEC/PGED options. Does it matter which one I use or can I just do this?:

    pin 7: PGD
    pin 6: PGC

    Am I correct in thinking that PGEC = PGC and PGED = PGD?
     
  2. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    You can use any of the PGC PGD pairs for programming. You can then set configuration bits to determine which pair is used for debugging.

    Bob
     
  3. foTONICS

    foTONICS

    332
    9
    Sep 30, 2011
    thanks a ton, this is very helpful
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-