PDA

View Full Version : [SOLVED] How to: Microchip programmer under Ubuntu


Amazona aestiva
August 31st, 2007, 03:35 PM
I warn you that here is no support, and the guide is to be used at your own risk!
Microchip programmer under Ubuntu

Piklab programs many type of microchips.

This is the alternative for Pickit in Windows.

It uses ICD2 Programmer, ICD1 Programmer, Pickit2 Firmware 1.x ONLY, Pickit1, Picstart Plus, GPSim and other programmers!

It knows .hex files.(MPLAB-IDE's .hex file for example)

Install: Last updated/checked:31-08-2007


Follow the instructions exactly!
This isn't the latest... I'm working on it!

i386:
1.Type:
wget http://kent.dl.sourceforge.net/sourceforge/piklab/piklab_0.14.2-1_i386.deb && wget http://ftp.kfki.hu/linux/ubuntu/pool/universe/f/fam/libfam0_2.7.0-11_i386.deb

2.Type:
sudo dpkg -i piklab_0.14.2-1_i386.deb libfam0_2.7.0-11_i386.deb
If it'll say something about failed to install libfam0 because libfam0c102, don't worry!

amd64:
???

Now Piklab should be in Apps. -> Development
or type:
piklab

I tested:
Picstart Plus ---------------> Succeed
ICD2 Programmer ------> Succeed
ICD1 Programmer ------> I don't have this programmer.
Pickit2 Firmware 1.x --> Mine is Firmware 2.x.
Pickit1 -----------------------> I don't have this programmer.

Appendix:
MPLAB-IDE 7.60 works correctly under wine...

i386:
Use this version of Wine (http://wine.budgetdedicated.com/archive/ubuntu/feisty/wine_0.9.44~winehq0~ubuntu~7.04-1_i386.deb) to install and run MPLAB (http://ww1.microchip.com/downloads/en/DeviceDoc/mp760a.zip).
NOTE:
-A few error while install and need to close the install window with force.:-k
-Few errors while starting up.:-k
-I tested many functions including the "Project Wizard" and the "Build All".:)

amd64:
???

seijling
March 23rd, 2008, 11:22 PM
Quick question: How specifically did you get the ICD2 connected or working?

The install was smooth but for some reason I cannot get the ICD2 to connect/reset the target. Any hints?

Mike

Amazona aestiva
March 26th, 2008, 11:15 AM
Quick question: How specifically did you get the ICD2 connected or working?

The install was smooth but for some reason I cannot get the ICD2 to connect/reset the target. Any hints?

Mike

Hi!

Try these libraries:
sudo apt-get install --reinstall libusb-0.1-4 libusb-dev

zalmoxes
March 20th, 2009, 07:22 AM
how do i use PICki2 firmware 2.x... its not supported.