pickit 2 and pic24fj

Discussion in 'Embedded Systems and Microcontrollers' started by franklin62, May 18, 2015.

  1. franklin62

    Thread Starter New Member

    May 18, 2015
    6
    0
    Hello,
    Sorry if my english is not very good I'm not english..
    I'm working on a pic24fj64ga002 and I am not able to program it. Is it really possible and if it possible, could you show me what shematic use because mine don't work..
    Thank you in advance
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,178
    1,799
    Did you follow the directions in the datasheet?
    Is that part one of the parts a PICKit2 knows how to program?
     
  3. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,570
    2,381
    Mplab shows OK for both Pickit2 & 3.
    What do you mean by not able to program, does it give any message?
    Max.
     
  4. DerStrom8

    Well-Known Member

    Feb 20, 2011
    2,428
    1,328
    This shows enough of the ICSP (In-Circuit-Serial-Programming) connection to tell you how to connect it:

    [​IMG]

    (Sorry for such a huge image)

    Don't forget this is a 3.3v device. Powering it with more than that could damage it--Make sure your PICkit2 is set to 3.3V mode, not 5V mode.

    Doing this from memory, so hopefully someone else can verify what I'm saying :p
     
  5. franklin62

    Thread Starter New Member

    May 18, 2015
    6
    0
    I think I have follow the instruction, I have the same connexions to the icsp that the picture of derstrom8. But when I connect my pickit2 to icsp I obtain the following answer : no device detected. Ensure proper capacitance on vddcore/vcap pin..
    And yes I'am on 3.3v with my pickit2.
     
  6. DerStrom8

    Well-Known Member

    Feb 20, 2011
    2,428
    1,328
    Look at the datasheet:

    upload_2015-5-18_15-9-56.png

    Notice C7 connected to VDDCORE. Do you have a 10uF capacitor connected there?
     
  7. franklin62

    Thread Starter New Member

    May 18, 2015
    6
    0
    Yes I have a 10uF beetween vddcore and ground and I have also vddcore connect to 2.5V like it's say in datasheet.
     
  8. Papabravo

    Expert

    Feb 24, 2006
    10,178
    1,799
    This happens when some windows task or applet interferes with the USB ports. I had a similar problem with a PICKit 3 initially. I used CCleaner to disable programs that were run on startup and found it was a piece of Dell crapware.
     
  9. franklin62

    Thread Starter New Member

    May 18, 2015
    6
    0
    I will search if I have some programme like that and make again a essai
     
  10. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,395
    1,607
    The PICkit 2 has a standalone program that can be used to program and verify a part, and also to troubleshoot the PICkit itself.

    Most times when I can't get mine to connect I've swapped the data and clock lines.
     
  11. franklin62

    Thread Starter New Member

    May 18, 2015
    6
    0
    Thanks you very much !It's working .
     
  12. DerStrom8

    Well-Known Member

    Feb 20, 2011
    2,428
    1,328
    What was the solution?

    Glad to hear you got it working!
     
  13. franklin62

    Thread Starter New Member

    May 18, 2015
    6
    0
    I use your schematic, in mine, there had one useless condensator.
     
  14. DerStrom8

    Well-Known Member

    Feb 20, 2011
    2,428
    1,328
    Where was the capacitor that you removed?
     
Loading...