Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

PICKit 2

1,381 bytes added, 06:36, 4 January 2019
no edit summary
The '''PICKit 2''' is a microprocessor programming and debugging peripheral. {{#if: {{{use|}}} | {{{use}}} | }} Below are instructions on how to get it working on Linux. {{Template:Version|Ubuntu 10.04}} ==Group Account==You'll need to add a group for the device and add yourself to that group.<!-- This page uses a template from pre>$ sudo addgroup embedded$ sudo addgroup $USER embedded</pre> ==Udev Rules==Now you need to ask udev to give the recently created group permission to access the Uniluug project; please see https:USB device.<pre>$ echo '#PICKitATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0032", MODE="0660", GROUP="embedded"#PICKit2ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0033", MODE="0660", GROUP="embedded"#PICKit3ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="900a", MODE="0660", GROUP="embedded"#ICD2ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="8000", MODE="0660", GROUP="embedded" #ICD21ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="8001", MODE="0660", GROUP="embedded"' | sudo tee /etc/udev/rules.d/uniluug25-embedded.orgrules >/wikidev/Template:PICKit_2 if you wish null</pre> ==Apply the Rules==Use the following line and plug the PICKit in and out to edit itmake the rules apply. <pre>$ sudo service udev reload</pre> ==Compile pk2cmd==<pre>$ sudo apt-get install build-essential libusb-dev$ wget http://ww1.microchip.com/downloads/en/DeviceDoc/pk2cmdv1.20LinuxMacSource.tar.gz$ tar xf pk2cmdv1.20LinuxMacSource.tar.gz$ cd pk2cmdv1.20LinuxMacSource$ make linux</pre>{{raw==See Also==* [[PIC]]* [[w:uudev|udev]] ==External Links==* [http://sync-signal.com/2010/01/getting-started-with-pickit2-on-ubuntu-9-10/ Getting Started with a PICKit 2|use=It is used in on Ubuntu 9.10] [[Category:Hardware]][[gpCategory:ECE 4534 Embedded System Design{{!}}ECE 4534 Embedded System DesignHowtos]].}}