pickit2 in MPLABX and 64bit Linux fix

Posted on Friday, March 11th, 2011 in compilers, PIC by Ian

arhi noticed that the latest MPLABX has pickit2 support, but it doesn’t work under 64bit Linux. He managed to fix it by tweaking his Java install, how-to instructions here.

Via the forum.

This entry was posted on Friday, March 11th, 2011 at 11:18 am and is filed under compilers, PIC. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

4 Responses to “pickit2 in MPLABX and 64bit Linux fix”

  1. Peter says:

    C18 doesn’t work under Linux mplab-X. I made some scripts to fix errors in the headers. You can find it at

    The package also contains scripts and instructions to compile C18 libraries under Linux.

  2. Terry Gray says:

    Everything worked as advertised up until it actually started building the peripherals from pmc_common, at which point every include gives:

    unable to locate xxxx.h

    It can’t seem to find the h folder up 2 levels in the v3.36 folder. What am I doing wrong?

    BTW, copied src and h folders from Windows v3.37 installation.

  3. Peter says:

    If you are building the large libraries, the problem may be that setvars_large doesn’t set the include path. Please add -I${MCC_BASE}/h to MCC_OPTIONS (as seen in setvars_small), run . ./setvars_large and try again.

  4. Terry Gray says:

    Thanks…as is usually the case, I discovered this AFTER posting the question…sigh!!!

    Anyhoo, got it woking late last night.

    Thanks for your work on the scripts…saves time not having to reinvent the wheel!

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Nathan Johnson: 100 channels. Not many are legal in any given area. Be sure to comply with local laws.
  • William Brodie-Tyrrell: It's getting to the point where it's cheaper and definitely easier to use a Pi Zero or similar and a $20 3G USB dongle. Power...
  • KH: IIRC most of the actual operating system of modern HDDs is in one of the platter(s); the stuff on the 25VF010 is a bootup firmware......
  • Trev: I don't know of any inexpensive 3G modules (prices start around $US 50), but it does explain why 2G modules are relatively inexpensive by comparison....
  • Zonie: This site Rocks!