Recent Changes - Search:

I'm a member of a gym http://atsora.com/index.php/prescription-drugs-for-low-blood-pressure-0ea3.pdf#fleet fda approved generic drugs However, last minute changes are likely as a meeting ofsenior officials who prepare the weekly cabinet meeting'sdecisions was cancelled on Thursday and several ministers werestill at odds about who should foot the bill.

 http://www.hoteldaina.lv/order-winstrol-online-canada-431c.pdf before after winstrol pictures  Surprisingly, during the vast majority of that time period, they employed some of the most blatantly corrupt city officials, mayors and politicians imaginable. That city’s corruption spilled over and infected the state of Illinois, including many of it’s Governors, who have done and are doing time in prison. “JustSayin’”
 http://cristianoweb.net/testosterone-cypionate-200-mg-ml-im-oil-a6be.pdf#advertising watson testosterone cypionate reviews  "While we appreciate House Republicans' newfound interest inthe implementation of health reform, it is clear they are notinterested in anything other than continuing their desperatedrive to sabotage this law, which so far has included shuttingdown the government," said Drew Hammill, spokesman for HouseDemocratic Leader Nancy Pelosi.
 http://brenchleyandmatfield.co.uk/1rxonlinepillsnet-e520.pdf#practise awc-drugstore.co  Municipal officials are offering a gram of gold — worth about $45 at current prices — for each kilogram of weight lost in a 30-day challenge. The minimum drop is two kilograms, or 4.4 pounds, to cash in.
 http://jar400.pl/comprar-citrato-de-sildenafila-50mg-d334.pdf#wholly cijena sildenafila  President Giorgio Napolitano, the man who would have to decide whether to call new elections if the coalition fell apart, urged calm, as did Letta, and given the August holiday lull, we shouldn’t overstate the threat.

PICkit2 and Debian Etch

Magyar English

linux pic sdcc debian

How to program PIC under Debian Etch

I have had some time in the last weekend, to get up and running my PICkit2 programmer. It was working in a virtual Wind*ws XP environment without any problem. The steps needed to get it working under linux:

Grab and compile this.

Copy pk2cmd, PK2DeviceFile.dat and PK2V023200.hex to /usr/local/bin directory.

As root issue the commands (chown and setuid):

chown root.root pk2cmd
chmod +s pk2cmd

Create the file /etc/udev/rules.d/026-microchip.rules with this content:

#PICKit2
SYSFS{idVendor}==\"04d8\",SYSFS{idProduct}==\"0033\", MODE=\"0660\" 

Restart udev

/etc/init.d/udev restart

Detach and attach PICkit2.

It should work now. Check this as regular user issue the command:

pk2cmd -?V
Executable Version: 1.12.00
Device File Version: 1.52.00
OS Firmware Version: 2.01.00 

After firmware upgrade (on other pc):

Executable Version:    1.12.00
Device File Version:   1.52.00
OS Firmware Version:   2.32.00 

List connected PICkits2 by firmware:

pk2cmd -s#

Blank check PIC18F458 by invoking:

pk2cmd -PPIC18F458 -C

Erase PIC18F458 by invoking:

pk2cmd -PPIC18F458 -E

Program PIC18F458 by invoking:

pk2cmd -PPIC18F458 -Ffirmware.hex -M

Verify program by invoking:

pk2cmd -PPIC18F458 -Ffirmware.hex -Y

If you have more PICkits2 assign (only one is attached) a nickname to each one using the

pk2cmd -N nickname ...

use the preferred PICkit2 (if more is connected) with

pk2cmd -s nickname ...

If you know how to use without setuid please tell it to me!
Enjoy your working PICkit2 under linux!

Edit - History - Print - Recent Changes - Search
Page last modified on December 19, 2008, at 04:22 PM