MPIDE in Ubuntu 12.04 LTS x64

The Digilent chipKIT32 (Uno32 || Max32) is an Arduino ~compatible prototype board that uses the Arduino form factor as well as the powerful PIC32.

Digilent produces a development environment called MPIDE which can be used to program the board. The process for getting MPIDE to work with a fresh install of Ubuntu is as follows (this procedure works as of 11.27.2012).

1. Install Ubuntu 12.04 x64, get all updates. After the updates, Ubuntu isn’t custom configured in any way.

2. Open a terminal, execute:

$ sudo apt-get install openjdk-7-jdk librxtx-java ia32-libs libreadline6:i386 libelf1:i386 gcc-avr    
$ sudo usermod -aG dialout my_user_name
			

3. Logout, log back in.

4. Open a terminal, execute:

$ wget https://github.com/downloads/chipKIT32/chipKIT32-MAX/mpide-0023-linux32-20111221.tgz
$ tar xvzf mpide-0023-linux32-20111221.tgz
$ ./mpide-0023-linux32-20111221/mpide
			

5. Connect your chipKIT and use the IDE as you would normally.

References:

  • Collin Harrington’s web blog: HERE.
  • chipKIT’s own wiki: HERE.

Leave a Reply