Package Details: microchip-mplabx-bin 5.25-1

Git Clone URL: https://aur.archlinux.org/microchip-mplabx-bin.git (read-only)
Package Base: microchip-mplabx-bin
Description: IDE for Microchip PIC and dsPIC development
Upstream URL: http://www.microchip.com/mplabx
Licenses: custom
Conflicts: mplab
Provides: mplab
Submitter: bxs
Maintainer: mickael9 (danwood76)
Last Packager: danwood76
Votes: 53
Popularity: 0.805504
First Submitted: 2011-12-17 04:28
Last Updated: 2019-08-15 08:33

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous ... 4 5 6 7 8 9 10 11 12 13 14 ... Next › Last »

danwood76 commented on 2015-01-12 15:00

There are two symlinks that need creating/modifying to make the USB work with the new version

/etc/.mplab_ide/mchplinusbdevice -> /opt/microchip/mplabx/../mplabcomm1_0_0/mchplinusbdevice

/usr/local/lib/libmchpusb-1.0.so -> /opt/microchip/mplabx/../mplabcomm1_0_0/libmchpusb-1.0.so.0.0.0

anatolyb commented on 2015-01-12 13:10

pointing symlinks to "mplabcomm1_0_0" does not make usb work. "mplabcomm1_0_0" directory should be renamed to "mplabcomm1.0".

danwood76 commented on 2015-01-12 11:56

@ivanovp

In the version v2.30 installer microchip have moved the USB library once again.

The new location is:
/opt/microchip/mplabcomm1_0_0/mchplinusbdevice

So the symlink from /etc/.mplab_ide/... is wrong again and USB will not work in the latest PKGBUILD.

ivanovp commented on 2014-12-22 10:39

@Misio-it: I've added jdk7-openjdk to dependencies. Thanks.

Anonymous comment on 2014-12-22 09:25

@aeroaks: Same behaviour here. The problem seems to be Java 8. A workaround is to start MPLABX IDE from console adding --jdkhome /usr/lib/jvm/java-7-openjdk/ as parameter or set it permanently within the configuration file (/opt/microchip/mplabx/mplab_ide/etc/mplabx.conf). This solved the issue for me.

@ivanop: Could you add a "sed" line to the installation script to set the jdkhome of MPLABX IDE as you did for MPLAB IPE? Seems that MPLABX suite requires JDK 7 (does not works with JDK 8 for me), what about to add it as an explicit dependency?

aeroaks commented on 2014-11-14 10:54

Splash Screen appears and then the command stops, no message in terminal also.

ivanovp commented on 2014-09-24 16:13

After installing the MPLABX-v2.20-linux-installer.run as root, Microstick II is shown in MPLABX. I have installed .tar.xz and MPLABX recognized the debugger too. So the installer does something differently with fakeroot/GUI mode.

ivanovp commented on 2014-09-23 17:41

@danwood76: Thanks for patch, I've updated the PKGBUILD.
However my Microstick II is still not recognized by MPLAB.

danwood76 commented on 2014-09-22 10:06

I have figured out the issues in the latest PKGBUILD.
Microchip has changed the name of its USB library and moved the mplab_ipe script, this caused mplab_ipe fail to run and any USB programmers/debugers to fail.

I also had to modify the mplab_ipe script to make it work with the default java7.

This is a diff of what I did to make it work:

--- ORIGINALPKGBUILD 2014-09-22 10:57:47.438654517 +0100
+++ PKGBUILD 2014-09-22 10:59:27.832042483 +0100
@@ -73,13 +73,16 @@
# fi
# sed -i 's|#jdkhome="/path/to/jdk"|jdkhome=/opt/microchip/mplabx/sys/java/jre1.7.0_25/|g' $pkgdir$instdir/mplab_ide/etc/mplab_ide.conf
# sed -i 's|#jdkhome="/path/to/jdk"|jdkhome=/opt/microchip/mplabx/sys/java/jre1.7.0_25/|g' $pkgdir$instdir/mplab_ide/bin/mplab_ipe
+
+ sed -i 's|#jdkhome="/path/to/jdk"|jdkhome=/usr/lib/jvm/java-7-openjdk/|g' $pkgdir$instdir/mplab_ipe/mplab_ipe
+ sed -i 's|\"$jdkhome\"bin/java -jar \"$jdkhome\"/../../../mplab_ipe/ipe.jar|\"$jdkhome\"bin/java -jar /opt/microchip/mplabx/mplab_ipe/ipe.jar|g' $pkgdir$instdir/mplab_ipe/mplab_ipe

rm $pkgdir/{chroot_input.sh,inst_input,$installer,etc/{group,passwd}}
rm -r $pkgdir/{bin,tmp}

ln -s $instdir/mplab_ide/bin/mplab_ide $pkgdir/usr/bin/mplab_ide
- ln -s $instdir/mplab_ide/bin/mplab_ipe $pkgdir/usr/bin/mplab_ipe
- ln -s $instdir/../mplabcomm1.0/libusb-1.0.so.0.0.0 $pkgdir/usr/local/lib/libmchpusb-1.0.so
+ ln -s $instdir/mplab_ipe/mplab_ipe $pkgdir/usr/bin/mplab_ipe
+ ln -s $instdir/../mplabcomm1.0/libmchpusb-1.0.so.0.0.0 $pkgdir/usr/local/lib/libmchpusb-1.0.so

rm -f $pkgdir$instdir/Uninstall*

danwood76 commented on 2014-09-18 14:22

Using the latest PKGBUILD to update to 2.2, I am unable to connect to my PicKit3 or PIC24 starter kit.

Running the graphical microchip installer manually from the makpkg build directory fixed the issue.

Is there some option that is not being accepted in the text mode installer that is causing this?