Running MPLAB and JEDIVCS under Gutsy-based Linux Distributions?

Well, I am on the Team 116 Programming Team. Unfortunately, I cannot do much as I cannot get MPLAB and JEDIVCS working under my system.

I personally run a custom built Linux Distribution with a modified kernel optimized code for the i686 processor, and optimized boot scripts. I use GNOME and XFCE as my Desktop Environments with Compiz-Fusion running for 3d graphics. All of my packages are custom compiled from the Ubuntu Gutsy repositories.

I done some searching around Google to try to figure out how to run MPLAB and JEDIVCS under Linux. I found little or no hints on what to do. I checked CD and saw few threads. None of them came to a conclusion.

I do realize will need to use Wine to run it and I have heard of others who have been able to run MPLAB and JEDIVCS under Linux. Can anyone provide tips, hints, or even a howto on running MPLAB and JEDIVCS under Linux? Any help would be greatly appreciated, thanks in advamce.

I managed to get MPLAB running on os x using win xp in parallels. I imagine you could use vmware on linux to do the same. See here for details on vmware on linux.

CP

I’m not a programmer, but I’m a Ubuntu Linux user, and I have been in contact with John Dong on Ubuntu Forums.

  1. WINE
  2. MCC18 from Microchip – it runs under WINE
  3. IFI Makefile – see http://adambots-live.sourceforge.net/
  4. Picloader: http://sf.net/projects/ifi-picloader

John Dong
Co-Captain, Webmaster / Programmer
Team 245 – Rochester Adams Robotics

you may want to contact John Dong directly though.

john.dong [at] gmail [dot] com

The makefile seems to have been removed from that page. I have sent an email to John about how to make my own makefile, so I will post it when I get it done. Probably after school today.

Ok, were you able to get it working?

I’ll email him and ask about how to do it. Hopefully, he’ll send me some info I can use to make a howto. I could host it on my wiki. I’ll post up a link on CD (probably in this thread) once I get the information on my wiki.

This is just a crazy suggestion, but has anyone tried running MPLAB and/or JEDI VCS under ReactOS or in a virtual machine (like VMWARE) running Win2K or WinXP? ReactOS might run it. I’ll download it tomorrow and hopefully be able to try it out.

IIRC, ReactOS’s implementation of the Win32 is gleaned from Wine, so it’s doubtful that an app that will not run in Wine will run in ReactOS.

Also, your life might be easier if you just use a different VCS (also, does MPLAB, [or any mainstream IDE, for that matter] even integrate with JEDI VCS – until now, I have heard of many VCSs, like CVS, SVN, Bazaar, Mercurial, Git, SourceSafe, and likely others that I can’t now remember, but never JEDI VCS) that is either hosted offsite by a repository provider or runs natively on Linux.

My team has finally switched over to SVN (aren’t I glad!). Now, this question is slightly application specific. Is there a way, and if so can I have a link or howto, to install the MPLAB compiler and set Anjunta IDE to use it?

you may find these useful:
http://nixbit.com/cat/text-editingprocessing/ides/pikdev/
http://www.micahcarrick.com/04-19-2005/pic-programming-linux.html

for the first link, I didn’t link to the actual project page since this page contains links to other pic IDEs.

if you didn’t already know, you could use eclipse with mcc18 fairly easily (i think there is a guide on the wpilib website)

also look at some of the adambots stuff ( i think mentioned above).

good luck.

you may find these useful:
http://nixbit.com/cat/text-editingprocessing/ides/pikdev/
http://www.micahcarrick.com/04-19-2005/pic-programming-linux.html

for the first link, I didn’t link to the actual project page since this page contains links to other pic IDEs.

if you didn’t already know, you could use eclipse with mcc18 fairly easily (i think there is a guide on the wpilib website)

also look at some of the adambots stuff ( i think mentioned above).

good luck.

Just a note, today we tried installing MPlab on an Ubuntu Gutsy box (PIII ~800 mhz, 256mb ram), and its seems to work rather well (5 error messages at start). I installed it from the cd included in the kitOfParts. Followed the included instructions, set PATH and all (in the installer, not sure if it took real effect), but I did not install the IFI loader, thinking that it would be better to use the linux port (instead of wine).
Just to show to it could work on wine without anything special.
However, I have not yet compiled.
I know that many have claimed that it works, but people tend to exaggerate the whole “Sure it works on wine!” thing.

We may move to another ide after we try some test code.

Yeah, I was put in charge of setting up the Team 1652 computer, which we put Ubuntu 7.10 (Gutsy? :confused: forgot the nickname) onto, and I was able to get Wine, MCC18, IFI Loader, EasyC Pro, and even Dev-C++ (as a backup plan) onto it just fine.

ShotgunNinja: Do you also get a bunch of error messages?
It looks like its something related to some registry entries in wine. I’ll look further into it. I don’t think it affects usability.

Does anyone know the distribution limitations on mcc18 student version (or any version)?
Because it would be nice to compile a livecd to include many tools for FRC programming and mechanical simulation.

Or you could avoid MPLab and Makefiles altogether and use Eclipse :slight_smile:

I wrote up how to do it @ http://shtylman.com/frc