398
edits
Changes
PICKit 2
,no edit summary
The '''PICKit 2''' is a microprocessor programming and debugging peripheral. It is used in [[ECE 4534 Embedded System Design]]. {{#if: {{{use|}}} | {{{use}}} | }} Below are instructions on how to get it workingon Linux.
{{Template:Version|Ubuntu 10.04}}
You'll need to add a group for the device and add yourself to that group.
<pre>
$ sudo addgroup embedded$ sudo addgroup $USER embedded
</pre>
Now you need to ask udev to give the recently created group permission to access the USB device.
<pre>
$ echo '#PICKit SYSFSATTRS{idVendor}=="04d8", SYSFSATTRS{idProduct}=="0032", MODE="0660", GROUP="embedded"
#PICKit2
#ICD2
#ICD21
</pre>
==Apply the Rules==
==Compile pk2cmd==
$ make linux
</pre>
==See Also==
* [[PIC]]
* [[w:udev|udev]]
==External Links==
* [http://sync-signal.com/2010/01/getting-started-with-pickit2-on-ubuntu-9-10/ Getting Started with a PICKit 2 on Ubuntu 9.10]
[[Category:Hardware]]
[[Category:Howtos]]