2
\$\begingroup\$

I got myself a Microchip Pickit-2 Programmer from a local store. I installed MPLAB release v2.26 from Microchip's website.

However, in this version of MPLAB, it is not detecting my Pickit-2. Hovering over the "Tools" field of MPLAB window indeed reveals that Pickit-2 is not supported, as shown in the attached screen-shot.

I want to ask which version of MPLAB supports Pickit 2? Or, does MPLAB even support it? Should I go for some other software?

FYI, I am running this on Linux.

MPLAB v2.26 on Linux

\$\endgroup\$
  • \$\begingroup\$ The latest MPLAB X is 3.20, not 2.26. Can you confirm what you're asking? The support for PICKit 2 is deprecated but that's all described in the various release notes. \$\endgroup\$ – Roger Rowland Jan 19 '16 at 12:05
  • \$\begingroup\$ Oh, thanks @RogerRowland for correcting. I am sorry. Yes, the latest release is indeed v3.20. I had an old binary lying around in my computer of v2.26. So, my question is exactly this: I know that support for Pickit 2 is deprecated, but in which MPLAB-X version did this happen? Is their an older MPLAB-X version that supports Pickit-2? \$\endgroup\$ – shivams Jan 19 '16 at 12:08
  • \$\begingroup\$ Your best bet is to just try it out first. Often they say its not supported, but it may still work. That said, your problem may not only be mplab. Very probably your microcontroller will also not support pickit2, if it is a current one. \$\endgroup\$ – jwsc Jan 19 '16 at 12:09
  • 1
    \$\begingroup\$ That dsPIC30F1010 device is not supported on PICKit 2 anyway it seems. \$\endgroup\$ – Roger Rowland Jan 19 '16 at 12:10
  • 1
    \$\begingroup\$ Just watched EEVBlog #841 about the difficulty in getting a PK3 working with anything. A little long-winded, but some good tidbits in there. Just get an ICD3 - that works with almost everything. \$\endgroup\$ – rdtsc Jan 19 '16 at 12:28
2
\$\begingroup\$

What you can do is download the standalone PICKIT2 programming software and use that to manually load the hex file MPLAB generates and program your PIC. That's what I do if I'm using the PICKIT2 with MPLAB-X v3.15.

I haven't tried with Linux though. However, it seems there is a command line tool for Linux here: http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=pg164120

Look for the PK2CMD.

A simple guide: http://curuxa.org/en/Program_PICs_with_a_PICkit2_using_the_command_line_on_Linux

I'm curious as to how that goes. On my Linux computer, I use PICKIT3, but it would still be nice to know that the PICKIT2 can be used.

\$\endgroup\$
  • \$\begingroup\$ Thanks for all the info @Tahmid. I'll look into it and revert back. \$\endgroup\$ – shivams Jan 19 '16 at 18:09
2
\$\begingroup\$

I have the (PICKit 2 compatible) iCP01, and I just installed MPLAB X 4.05 on Mac OS. I can't get the IPE to work, same as the screenshot shows.

However, by creating a project in the IDE, I can select PICkit 2 as my hardware tool, and successfully program the chip.

So, it appears that it is only unsupported in the IPE.

\$\endgroup\$
1
\$\begingroup\$

The device support list for PICkit2 at http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20Readme%20v2-61-00%20(a).txt does list your dsPIC30F1010 - so you should be able to find an MPLAB version which works.
That file is dated 24 March 2009, so if you can find something from way back then .....

\$\endgroup\$
  • \$\begingroup\$ Thanks @brhans for the confirmation that my device will work. But that still doesn't answer my question. I want to know is their any software for Pickit2 which works on Linux? \$\endgroup\$ – shivams Jan 19 '16 at 12:29
  • \$\begingroup\$ @shivams have you tried out your current mplabx version already? pickit2 is listed in the configuration section, so it should be possible to use it, even if it says that it is not supported. \$\endgroup\$ – jwsc Jan 19 '16 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.