Various issues with MPLAB ICD 3

Discussion in 'Embedded Systems and Microcontrollers' started by jegues, Jan 11, 2012.

  1. jegues

    Thread Starter Well-Known Member

    Sep 13, 2010
    Hello everyone,

    I am currently having issues with the MPLAB ICD 3 within the MPBLAB IDE v8.83.

    When I had first hooked up the MPLAB ICD 3 up to my computer via USB Windows automatically searched for its drivers and installed what was needed.

    Originally when I had created my project in MPLAB IDE I had selected the PIC16F877, but when I had recieved my components and MCU from my professor I had actually been given the PIC16F877A.

    Here is the order in which I proceeded in order to attempt to debug and/or program my MCU.

    I started off by opening my project within MPLAB IDE v8.83, from here I selected the configure menu in order to select the appropriate device for my project (i.e. PIC16F877A).

    After doing this I had recompiled my project just incase, and MPLAB displayed "BUILD SUCCESSFULL".

    From here I selected MPLAB ICD 3 as my debugger under the debugger menu. After doing this I entered the settings for the debugger and clicked on the Power tab and checked off the box "Power target circuit from MPLAB ICD 3". I clicked apply and clicked OK.

    From here I hooked up the other USB end of the ICD 3 connector to my host computer.

    Shortly after I recieved the following error, see figure Error1.jpg.

    After this first initial error I reconnected numerous times, each time recieveing different errors, see figures Error2.jpg, Error3.jpg and Error4.jpg.

    Can anyone help me figure out what's wrong?

    I feel like I might have the connections from the RJ12 connector incorrect because my professor hasn't provided us with a datasheet.

    I've tried googling online for a pinout, but I'm not sure if it is the same connector on the board as mine or not.

    Can anyone help me diagnoise how to fix my problem?

    I've attached an additiontal figure to display the schematic for the circuit I'm trying to implement. Are the connections shown for the RJ-12 connector correct?

    It is important to note that the power for the board is to be provided from the ICD 3.
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    I always use the AC164110 RJ-11 to ICSP adapter kit from Microchip.

    The only time I use the RJ type connector is when looking at a Microchip Demo Boards.

    The pin order is the same, though
    Pin Description
    1 = VPP/MCLR
    2 = VDD Target
    3 = VSS (ground)
    6 = Auxiliary
  3. jegues

    Thread Starter Well-Known Member

    Sep 13, 2010
    So does that correspond with what's shown in the circuit schematic?

    I don't know which pins are the corresponding numbers.
  4. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    The RJ Jacks I've used have pins in two rows behind the connector in parallel, not in two rows inline with the jack, I'm not sure which pins are which on your schematic.

    Best to use a multimeter for continuity. Pin 1 is on the left when the tab is down