1. Matteo Grandi

    Thread Starter New Member

    Jan 31, 2016
    5
    0
    Hello everyone!
    I'm writing a new post since everything I found is pretty old.
    I'm having troubles to get a Pickit3 clone to work with MPLABX 3.2
    First of all I'm using OS X, but even on a virtual machine with Windows 10 the programmer doesn't work.
    The error code that MPLAB shows is:

    The programmer could not be started: Could not connect to tool hardware: PICkit3PlatformTool, com.microchip.mplab.mdbcore.PICKit3Tool.PICkit3DbgToolManager

    What's strange is that with MPLABX on OSX the device is not identified, but I can at the same time program it using the IPE on the virtual machine.

    Thanks is advance for the help! :)
     
  2. dannyf

    Well-Known Member

    Sep 13, 2015
    1,835
    367
    Could it due to it being a clone?
     
    spinnaker likes this.
  3. Matteo Grandi

    Thread Starter New Member

    Jan 31, 2016
    5
    0
    Well it could be..
    But why the virtual machine can detect and correctly use it ?
    I read online something concerning java, that should be executed as 32bit.. But actually I didn't understand what did they mean.. Maybe someone already experienced the same and maybe solved the same issue! The original one is correctly working?
     
  4. dannyf

    Well-Known Member

    Sep 13, 2015
    1,835
    367
    It is microchip software, plus it is a pickit3, so you should expect an extra level of incompetency.
     
  5. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,019
    Problem #1. We have a saying that is actually an old British saying. "Penny wise but pound foolish. Buy a real pickkit 3.


    MPLabX supports the Mac. Why not use the supported version?
     
    Dr.killjoy likes this.
  6. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,571
    2,381
    So far I have found the sequence of connecting the Pickit 3 is important, vary from this and you get a message Pickit3 not connected.
    Microchip show the sequence with a blurb included with it.
    Max.
     
  7. Matteo Grandi

    Thread Starter New Member

    Jan 31, 2016
    5
    0


    Thank you very much for the feedback!
    I'm new with uC programming!
    I will try to look for the correct sequence..

    @spinnaker Actually I use MPLabX for mac, that works. It just don't detect the pickit.
     
  8. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,571
    2,381
  9. stefan.54

    New Member

    Dec 26, 2015
    28
    4
    Try the Pickkit3 programmer (software) and look for a "device found" message. This way you can check if it works or not.
     
  10. Matteo Grandi

    Thread Starter New Member

    Jan 31, 2016
    5
    0
    Again, thank you all for support.
    Something actually changed, but still doesn't work :(
    @MaxHeadRoom I followed step by step the guide, and now the error message when I try to compile is the following:
    "The target circuit may require more power than the debug tool can provide. An external power supply might be necessary.
    Connection Failed."

    Of course I tried also to avoid the circuit powering via Pickit but without success.
    Actually, MPLab on mac sees the device!

    @stefan.54 can you explain me better which software you refer to? I only know mplabX and the relative IPE..


    Schermata 2016-02-02 alle 17.23.26.jpg
     
  11. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,019
    Did you buy a real pickit?
     
  12. Matteo Grandi

    Thread Starter New Member

    Jan 31, 2016
    5
    0
    Nope!
     
  13. Robin Mitchell

    Well-Known Member

    Oct 25, 2009
    734
    200
    Then theres your problem!
     
  14. stefan.54

    New Member

    Dec 26, 2015
    28
    4
    @Matteo Grandi The software looks like the one attached below. If properly connected via usb to the PC/laptop, you'll be prompted a "Device found" message. I, myself, am using a clone PICkit3 and never had a problem with it.

    If you encounter this error: "Pickit3 is in mplab mode", disconnect the usb and keep the button pressed down while reconnecting the usb. You must do this only once!! (or whenever you get this error). Leave it like that 5-10 seconds and you should be good to go. Remember, always use Tools->Check com. to make sure your Pickit or MCU is detected.
     
  15. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,019
    OP does not have a real pickit3.
     
  16. stefan.54

    New Member

    Dec 26, 2015
    28
    4
    @spinnaker I guarantee the program works both for clones and real PicKit3's. I tested it myself (I own a clone, but we have real ones at Uni).
     
  17. JohnInTX

    Moderator

    Jun 26, 2012
    2,348
    1,029
    Just wondering, have you tried the MPLABX device driver switcher to ensure that the 'X' drivers are installed (instead of the earlier MPLAB ones?). You have to run it as Administrator.
    Have you checked the Readme files for the IDE and PK3 to see if there are any OS limitations? Here's a snippet from MPLABX3.20 as an example. Note the restriction on Virtual Machines and that 'Home' versions of Win 7/8/10 are not listed as supported.
    Good luck.
     
    Last edited: Feb 3, 2016
  18. nigelwright7557

    Senior Member

    May 10, 2008
    487
    71
    Make sure the pickit 3 is powered. You need to set this in MPLAB.
    It could be your pickit 3 is expecting external power and so is not powering up.
     
Loading...